A small package to work with MyEnergi API
Project description
MyEnergi
A small library to work with the MyEnergi API for some simple data gathering and setting.
Prerequisites
To obtain an API key, follow the instructions here: https://support.myenergi.com/hc/en-gb/articles/4404522743313-myenergi-API
Python use
from myenergi import MyEnergi
my_e = MyEnergi("serial_number", "api_key")
first_heater = my_e.myenergi_data.eddi[0]
print(f"Heater Serial is {first_heater.sno}")
print("Boosting!")
first_heater.boost(minutes=10)
first_heater.cancel_boost()
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
myenergi-0.0.1.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
myenergi-0.0.1-py3-none-any.whl
(15.4 kB
view details)
File details
Details for the file myenergi-0.0.1.tar.gz.
File metadata
- Download URL: myenergi-0.0.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fe55d5431c9ea502e274d21ba64af33b7f4099721bf7945e019c6394bcc7837
|
|
| MD5 |
cf1f9adbe3d617a14fcc6fe0b3ad7107
|
|
| BLAKE2b-256 |
a0a4aea0c425f81bbb26e0abc8e81bf740bfd2aa85a859b364409e4cfe928719
|
File details
Details for the file myenergi-0.0.1-py3-none-any.whl.
File metadata
- Download URL: myenergi-0.0.1-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf242d3e58dc681646f51a091868aed481d6b7ef0d12fc417517f8f747c717c8
|
|
| MD5 |
95bb44a175994f3a840e78827e81463c
|
|
| BLAKE2b-256 |
cc30919503d2880321f03d7facb0433747dc1bab727e89917e92485ebc1a3885
|