Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danielhiversen/pyadax
Python library for Adax heater
https://github.com/danielhiversen/pyadax
Last synced: about 1 month ago
JSON representation
Python library for Adax heater
- Host: GitHub
- URL: https://github.com/danielhiversen/pyadax
- Owner: Danielhiversen
- License: mit
- Created: 2021-04-07T14:25:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-28T18:40:26.000Z (about 1 year ago)
- Last Synced: 2024-10-14T11:48:58.382Z (2 months ago)
- Language: Python
- Size: 25.4 KB
- Stars: 6
- Watchers: 6
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# pyAdax
Python3 library for Adax heater.
Control Adax heaters and get measured temperatures.
[Buy me a coffee :)](http://paypal.me/dahoiv)
## Install
```
pip3 install adax
```## Example:
```python
from adax import Adax
import aiohttp
import asyncioACCOUNTID = "" # get your account ID (6 digits) from the Account page in the Adax WiFi app
PASSWORD = "" # create a service password under "Remote Api" in the appasync 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())
```