Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aquanta-0.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

aquanta-0.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file aquanta-0.2.tar.gz.

File metadata

  • Download URL: aquanta-0.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for aquanta-0.2.tar.gz
Algorithm Hash digest
SHA256 7d2f80dc12ed21aa2e695064f323461647c2469b877b4508da68c82d84fa3981
MD5 d68aa1c5093f9737043104718f219077
BLAKE2b-256 9edeb07d3a5a70a0031d83900942ef6ec9e753158e32ed7242946c523b1731e1

See more details on using hashes here.

Provenance

File details

Details for the file aquanta-0.2-py3-none-any.whl.

File metadata

  • Download URL: aquanta-0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for aquanta-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 40f4e2eae3b9ff099820df052085198924fe9acc13b52b9b6251dafcd7b9928f
MD5 e23478b6c6c3a5a6c54c97cbf9c2adec
BLAKE2b-256 f6ef9832a1aa36160b554cf4bdbc4a3e82052b68322c90634ec127a27b377739

See more details on using hashes here.

Provenance

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