Async library to communicate with Heatmiser NeoHub 2 API.
Project description
NeoHubAPI
This is a simple python wrapper around Heatmiser's Neohub API.
It's primary purpose is to be used via Home Assistant integration but it can also be used as a standalone library.
Usage example
import asyncio
import neohubapi.neohub as neohub
async def run():
hub = neohub.NeoHub()
system = await hub.get_system()
hub_data, devices = await hub.get_live_data()
for device in devices['thermostats']:
print(f"Temperature in zone {device.name}: {device.temperature}")
await device.identify()
asyncio.run(run())
NeoHub API documentation
API documentation can be found from various places online or you can request the latest version from support@heatmiser.com
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
neohubapi-0.3.tar.gz
(18.4 kB
view hashes)