Unofficial library to interact with Aquanta water heater smart controller.
Project description
aquanta
aquanta
is an unofficial python library to communicate with the
Aquanta water heater smart controller. This library covers a limited
set of the device features.
>>> from aquanta import Aquanta
>>> aquanta = Aquanta('<YOUR-EMAIL>', '<YOUR-PASSWORD>')
Multiple aquanta devices can be attached to a single Aquanta
accounts. Similarly an Aquanta
object list all these devices as
couples of identifier (int
) and AquantaDevice
object.
>>> list(aquanta)
[(19658, <aquanta.AquantaDevice object at 0x7f5c5037bd90>)]
The AquantaDevice
object offers method to read the water heater
status and access its schedule. The schedule can be read and written
but the write feature has not been tested.
>>> aquanta[19658].water
{'temperature': 49.41, 'available': 1}
>>> aquanta[19658].infocenter
{'title': 'Aquanta', 'currentMode': {'type': 'timer'},
'records': [{'title': 'Controlling to Manual Setpoint',
'type': 'setpoint', 'state': 'ongoing',
'body': 'Aquanta is controlling to your specified setpoint'},
{'title': 'Your Timer Is Running', 'type': 'timer',
'state': 'ongoing',
'body': 'Aquanta is keeping your water heater off until 8:00AM tomorrow'}]}
>>> aquanta[19658].advanced
{'controlEnabled': True, 'intelEnabled': False, 'efficiencySelection': 0.5,
'setPoint': 90, 'thermostatEnabled': True, 'touEnabled': False,
'timerEnabled': True}
>>> aquanta[19658].timer
{'schedules': [{'start': {'hour': 8, 'minute': 15, 'second': 0},
'end': {'hour': 14, 'minute': 30, 'second': 0},
'daysOfWeek': [1, 2, 3, 4, 5], 'resolution': 2},
{'start': {'hour': 8, 'minute': 15, 'second': 0},
'end': {'hour': 14, 'minute': 30, 'second': 0},
'daysOfWeek': [0, 6], 'resolution': 2},
{'start': {'hour': 15, 'minute': 15, 'second': 0},
'end': {'hour': 23, 'minute': 59, 'second': 59},
'daysOfWeek': [1, 2, 3, 4, 5], 'resolution': 2},
{'start': {'hour': 15, 'minute': 15, 'second': 0},
'end': {'hour': 23, 'minute': 59, 'second': 59},
'daysOfWeek': [0, 6], 'resolution': 2},
{'start': {'hour': 0, 'minute': 0, 'second': 0},
'end': {'hour': 8, 'minute': 0, 'second': 0},
'daysOfWeek': [1, 2, 3, 4, 5], 'resolution': 2},
{'start': {'hour': 0, 'minute': 0, 'second': 0},
'end': {'hour': 8, 'minute': 0, 'second': 0},
'daysOfWeek': [0, 6], 'resolution': 2}],
'selectedResolution': 2}
The AquantaDevice
object also provides methods to set the boost
or
away
mode time window. The set_boost()
and set_away()
method
parameters are two strings (start
and end
) of UTC time formatted
as %Y-%m-%dT%H:%M:%S.000Z
.
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
File details
Details for the file aquanta-0.1.tar.gz
.
File metadata
- Download URL: aquanta-0.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92b3aca0cbdecebfe72634f4eadffff3381f961670c937a95cad0f909dd31d67 |
|
MD5 | 5f3dbe0c9937d2fb2213fc20cbdb0a9c |
|
BLAKE2b-256 | b57b5c5ba8e6db453dc9d0ec8ec8152738ff74c91678a32bdb5faf1a75e2923f |
File details
Details for the file aquanta-0.1-py3-none-any.whl
.
File metadata
- Download URL: aquanta-0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeac04a934d857ae02076de2ec6ed973858e9d25285d4e681d076cc432202532 |
|
MD5 | 4c3112cb6ffed0d742776caee5358390 |
|
BLAKE2b-256 | cc90478c4359a62b85acd1b87f60d8016047b6e7f58a2fce3c48f201cb4870a8 |