Async library to communicate with Heatmiser NeoHub 2 API
Go to file
Andrius Štikonas c9041e7caf Add target_temperature_step funtion and fix firmware version discovery. 2020-12-27 20:01:33 +00:00
LICENSES Add minimal README.md. 2020-12-27 19:20:49 +00:00
neohubapi Add target_temperature_step funtion and fix firmware version discovery. 2020-12-27 20:01:33 +00:00
.gitignore Fix setup.py. 2020-12-27 18:45:55 +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 long_description type to setup.py. 2020-12-27 19:33:11 +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