Async library to communicate with Heatmiser NeoHub 2 API
Go to file
Andrius Štikonas f2224fbb7c Bump version to 0.4 2021-01-19 21:54:46 +00:00
LICENSES Add minimal README.md. 2020-12-27 19:20:49 +00:00
neohubapi Add attribution to neostat.py too. 2021-01-19 21:53:47 +00:00
.gitignore Add dependency on async_property. 2020-12-27 20:18:22 +00:00
README.md Update README to new API. 2021-01-02 22:55:13 +00:00
example.py Initial support for timeclocks. 2021-01-02 22:42:56 +00:00
setup.py Bump version to 0.4 2021-01-19 21:54:46 +00:00

README.md

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