A library for interfacing with Hubitat via its Maker API
Project description
hubitatmaker
This library provides an async Python interface for Hubitat Elevation’s Maker API.
Basic usage
import asyncio
from hubitatmaker import Hub
async def print_devices(host, app_id, token):
hub = Hub(host, app_id, token)
await hub.connect()
for device in hub.devices:
print(f"{device.name} ({device.id})")
if __name__ == '__main__':
host = 'http://10.0.1.99'
app_id = '1234'
token = '<apitoken>'
asyncio.run(print_devices(host, app_id, token))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hubitatmaker-0.0.1.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for hubitatmaker-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26223cf00cfe383674ee40761716af1e3c1069b516144865b1e5dfa1dd2816b0 |
|
MD5 | 16299e8311ca3a0390fe4f18a63bfc7d |
|
BLAKE2b-256 | 4fc5cb0a6b1d0ae821c83eac79dfd6e39c0ed62cce1b5430f0b9e16709727a7b |