Api wrapper for Plum Econet devices
Project description
Plum Econet api wrapper
This package aims to simplify using Plum Econet api available via local network.
Based on and tested with local router connected to HKS Lazar SmartFire pellet furnace.
Basic usage
import asyncio
from plum_econet import Smartfire
async def main():
smartfire = Smartfire("<host>", "username", "password")
await smartfire.update()
print(f"Current temperature {smartfire.boiler.temperature}")
print(f"Target temperature {smartfire.boiler.target_temperature}")
await smartfire.boiler.set_target_temperature(76)
await asyncio.sleep(5)
await smartfire.update()
print(f"Target temperature {smartfire.boiler.target_temperature}")
if __name__ == "__main__":
asyncio.run(main())
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
plum_econet-0.12.0.tar.gz
(9.8 kB
view details)
File details
Details for the file plum_econet-0.12.0.tar.gz
.
File metadata
- Download URL: plum_econet-0.12.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a202fa64d3d284ab6c9f1bac5a8cc7495bafaeed5e83237f53fd83e4148ea1c1 |
|
MD5 | cedb850ad50e9e4d0ba254fc1c631f14 |
|
BLAKE2b-256 | 7ce41dc442a0003fabf1f1d29cb5a9227cd2831457b97ef942a95a69a42774fe |