Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hubitatmaker-0.0.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file hubitatmaker-0.0.1.tar.gz.

File metadata

  • Download URL: hubitatmaker-0.0.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for hubitatmaker-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6147a31975e0ce8e696eb78b3e895d1f56818f2a9eddbae84391d5c6d2c66967
MD5 62570fd555d266a5f1aeea9fd9b8d09b
BLAKE2b-256 a6664c8aa7b0815323cbc796b4ec717c9a5e42d5263a41058eafe938e8cb18f5

See more details on using hashes here.

File details

Details for the file hubitatmaker-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: hubitatmaker-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for hubitatmaker-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 26223cf00cfe383674ee40761716af1e3c1069b516144865b1e5dfa1dd2816b0
MD5 16299e8311ca3a0390fe4f18a63bfc7d
BLAKE2b-256 4fc5cb0a6b1d0ae821c83eac79dfd6e39c0ed62cce1b5430f0b9e16709727a7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page