Async library to communicate with Heatmiser NeoHub 2 API
Go to file
Andrius Štikonas cb5645fcf0 Add minimal README.md. 2020-12-27 19:20:49 +00:00
LICENSES Add minimal README.md. 2020-12-27 19:20:49 +00:00
neohubapi Fix imports after rearranging directory structure. 2020-12-27 19:06:12 +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 zip_safe to setup.py. 2020-12-27 19:20:10 +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