/pyAdax

Python library for Adax heater

Primary LanguagePythonMIT LicenseMIT

pyAdax

Python3 library for Adax heater.

Control Adax heaters and get measured temperatures.

Buy me a coffee :)

Install

pip3 install adax

Example:

from adax import Adax
import aiohttp
import asyncio

ACCOUNTID = "<ACCOUNT ID>"  # get your account ID (6 digits) from the Account page in the Adax WiFi app
PASSWORD = "<PASSWORD>" # create a service password under "Remote Api" in the app

async def main():
    async with aiohttp.ClientSession() as session:
        heater= Adax(ACCOUNTID, PASSWORD, session)
        for room in await heater.get_rooms():
            print(room)

asyncio.run(main())