Skip to main content

Python project for interacting with Lupusec XT2 (Plus)

Project description

LUPUSEC XT2 (Client)

Test

Python-Library to communicate and interface with Lupusec X2 System.

API-CALLs to Lupusec XT2 with LupusecSevice:

  • GET /action/deviceGet -> return dictionary with device class as key and lists of specific type as value
  • GET /action/systemGet -> return system information
  • GET /action/panelCondGet -> return alarm panels and updates
  • POST /action/panelCondPost -> activate/deactivate alarm mode
  • POST /action/deviceSwitchPSSPost -> switch on/off something

Poll Lupusec XT2 in a timeloop with LupusecStateMachine

Attention

I can only support devices, which I have on my own! Todos if anyone would like to add a device:

  • Add a sample response to folder tests/responses
  • Add unit-tests to folder tests

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

lupuxt2py-0.8.0.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

lupuxt2py-0.8.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file lupuxt2py-0.8.0.tar.gz.

File metadata

  • Download URL: lupuxt2py-0.8.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for lupuxt2py-0.8.0.tar.gz
Algorithm Hash digest
SHA256 a8e2edb33940fe3a8d7e4e39404a9553c5bdd0a87d47b2ebfee2157f5cf3a696
MD5 fcbb69a7ff830f2bfa53c3817d2ec612
BLAKE2b-256 ce00330db6e847171c435ae968ee9304cf8595709af47dfc68f90b0648a5b072

See more details on using hashes here.

File details

Details for the file lupuxt2py-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: lupuxt2py-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for lupuxt2py-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12a256de7ac541af3c474819852e40dd9cfc7a296157233f09ccbdf7066d1944
MD5 4e88bd22a0841b660fa624a94f466368
BLAKE2b-256 d0f98974610856da969bd590f1ed3f1e1c055662a08eb8987e061b49bf66cf05

See more details on using hashes here.

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