Async library to communicate with Heatmiser NeoHub 2 API
Go to file
Dave O'Connor d21c54b4a6 Eliminate the boilerplate approach: - use method signatures to build a callable
other fixes: Standardise capitalisation of NeoHub. Import inspect
entirely.

Still TODO: How to specify neostats on command line.
2021-01-27 12:17:24 +00:00
LICENSES Add minimal README.md. 2020-12-27 19:20:49 +00:00
neohubapi Pass the RHS of the enum value rather than the whole element. 2021-01-24 17:42:41 +00:00
scripts Eliminate the boilerplate approach: - use method signatures to build a callable 2021-01-27 12:17:24 +00:00
.gitignore Add dependency on async_property. 2020-12-27 20:18:22 +00:00
.gitlab-ci.yml Add flake8 lint CI pipeline and fix existing code for compliance. 2021-01-23 21:54:55 +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 Add initial neohub_cli 2021-01-20 01:21:44 +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