Hekr API library written in Python
The module provides interfacing with Hekr-enabled devices and accounts, exposing them as interactable objects.
Documentation is available within code (will be generated into devdocs with more comments in the future), and a reference implementation (integration for HomeAssistant automation system) is available on GitHub: alryaz/hass-hekr-component
In its current state, the module supports:
- Local device communication (tested with a single device type only)
- Cloud device communication with account login (tested with a single device type only)
- Protocol skeleton (example provided for a Smart Power Meter in
hekrapi/protocols/power_meter.py
) - Command exchange (transparent JSON operation is supported)
Should you be willing to contribute to the project, create a forked version of it.
More devices will be added upon discovery of such. Please, contact me on Telegram (@alryaz) or
message me via E-mail (alryaz@xavux.com) if you find one, so we can work out a possible
solution to add support for it.