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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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