Get alarm status and informations from the IMA Protect API.
Project description
pyimaprotect - Python IMA Protect Alarm UNOFFICIAL
This work is originally developed for use with Home Assistant and the custom component imaprotect.
Free software: MIT license
Documentation: https://pyimaprotect.readthedocs.io.
Features
Since the last update of IMAProtect “API” (05/2021), for now, this plugin only allows you to get the status of your alarm.
Parameters
username: Username used to connect to https://www.imaprotect.com/
password: Password used to connect to https://www.imaprotect.com/
Methods
get_status: return the current status of your IMA Protect Alarm. See next table to understand the values returned.
Alarm Value |
State |
---|---|
-1 |
UNKNOWN |
0 |
OFF |
1 |
PARTIAL |
2 |
ON |
Credits
History
2.0.0 (2021-05-09)
Update using new IMAProtect “API”
No more other info (name, contract, etc.), only alarm status but faster result.
1.0.0 (2021-04-11)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyimaprotect-2.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88ef4c9fc9080b7bea893fa11cfa8cadc4c58acd1dff49a9ec51473d5d1c942d |
|
MD5 | 0a9682aaecf62a51adcdbf129e72f09a |
|
BLAKE2b-256 | 8ebf8005bff280a5866d4fa265ebf7c15be20ea866fad19f2648874ccde69825 |