Used by devices from Hisense, Gorenje, ASKO & ATAG and ETNA Connect.
The goal of this library is to support a native Home Assistant integration for devices that uses the ConnectLife API.
The code is based on Connectlife API proxy / MQTT Home Assistant integration (MIT license).
Software is provided as is - use at your own risk. There is probably no way to harm your physical devices, but there is no guarantee that you don't experience other problems, for instance locking your ConnectLife account.
Licensed under GPLv3.
To test out the library (users in Russia/CIS may need to pass the --trir option):
pip install connectlife
python -m connectlife.dump --username <username> --password <password> [--trir]This will log in to the ConnectLife API using the provided username and password, and write a JSON file with all returned fields for each appliance that is registered with the account.
To instead dump each appliance's energy statistics (both the air_duct_energy and
energyConsumptionCurve endpoints), add --format energy:
python -m connectlife.dump --username <username> --password <password> --format energyThe Home Assistant integration is currently in discovery phase. Please contribute your device dumps to help the development.
To use the test server to support developing the Home Assistant integration, clone this repo and see DEVELOPMENT.md: