Async library to communicate with Heatmiser NeoHub 2 API
Go to file
Andrius Štikonas 9e59d5254b Fix rate_of_change function. 2020-12-27 20:30:12 +00:00
LICENSES Add minimal README.md. 2020-12-27 19:20:49 +00:00
neohubapi Fix rate_of_change function. 2020-12-27 20:30:12 +00:00
.gitignore Add dependency on async_property. 2020-12-27 20:18:22 +00:00
README.md Add minimal README.md. 2020-12-27 19:20:49 +00:00
example.py Change license of example.py to MIT. 2020-12-27 19:20:34 +00:00
setup.py Add dependency on async_property. 2020-12-27 20:18:22 +00:00

README.md

Neohubapi

This is a simple python wrapper around Heatmiser's Neohub API.

Usage example

import asyncio
import datetime
import logging
import neohubapi.neohub as neohub

from neohubapi.enums import ScheduleFormat


async def run():
    hub = neohub.NeoHub()
    await hub.connect()
    system = await hub.get_system()
    hub_data, thermostats = await hub.get_live_data()
    for device in 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