Skip to main content

Python package for Paradox Modules

Project description

Paradox® HD77 Camera API

Introduction

This is a python module that provides an interface for interacting with a Paradox® HD77 camera (and possibly other models).

This is licensed under the MIT license.

Getting started

This API is not documented by Paradox®.

I used reverse engineering on the HD77 model (v1.25.7) to discover it and create the python functions to access it.

It does not work with the IP150 network module and has not yet been tested with other camera models.

I also discovered how to discover Paradox® devices on the network and created the code in the helpers folder (see the documentation below).

Install

pip install pypdxapi

Quick Start

API usage example

import asyncio
from pypdxapi.camera import ParadoxHD77

async def main():
    """Show example of connecting to your Paradox HD77 camera."""
    async with ParadoxHD77(host='192.168.1.3', port=80, module_password='paradox') as hd77:
        await hd77.login(usercode='111111', username='user1')
        if hd77.is_authenticated():
            print(await hd77.vod(channel_type='normal'))

if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main())

Discovery usage example

from pypdxapi.helpers import discover_modules

modules = discover_modules()

For more information see docs.

Disclaimer

The code was developed as a way of integrating personally owned Paradox® HD77 cameras and other modules, and it cannot be used for other purposes. It is not affiliated with any company and it doesn't have have commercial intent.

The code is provided AS IS and the developers will not be held responsible for failures in the camera, or any other malfunction.

Paradox® is a registered mark. Other brands are owned by their respective owners.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypdxapi-0.1.1.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypdxapi-0.1.1-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file pypdxapi-0.1.1.tar.gz.

File metadata

  • Download URL: pypdxapi-0.1.1.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for pypdxapi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 225d9eb7db7ee5b5c06f3935473e5d70345f5c002b1598486599536374bb425e
MD5 7fd00172e4194f309a60b7914c21aebe
BLAKE2b-256 6d19b2ad01ff1523aba3d68a2025ee0cd91992843a8822eb740e29eea7de80d5

See more details on using hashes here.

File details

Details for the file pypdxapi-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pypdxapi-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for pypdxapi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 774ab043b5520f020113e8fd03060ca23fe9ce74fffda3080afe21c7a9da5e6c
MD5 bbc9b3ad2af872ed33ab72b25683c591
BLAKE2b-256 f10a922f4173866aae84b2c01dcea7305c977a80606e74e41976ca29fffffd0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page