Hubitat Maker API Interface
Project description
Hubitat Elevation Maker API Interface
Usage
pip install hubitatcontrol
Or if you want a copy direct from source
pip install git+https://github.com/Jelloeater/hubitatcontrol.git
import hubitatcontrol as hc
hub = hc.get_hub(host='Hubitat_IP_or_Hostname', token='Maker_Token', app_id='Maker_App_ID')
device = hc.lookup_device(hub, 'Device_Name')
print(device.switch)
device.turn_on()
print(device.switch)
Docs
You will need a .dot file browser for the class diagrams
Roadmap
v0.5
- Advanced Zigbee RGBW Bulb
v0.7
- Generic Zigbee Outlet
v0.8
- Leviton DZ6HD Z-Wave Dimmer
v1.0
- hueBridgeBulb
- hueBridgeBulbRGBW
- hueBridgeBulbCT
v1.5
- Ecobee Thermostat
v2.0
- Generic Z-Wave Lock
v2.5
- Generic Z-Wave Plus Scene Switch
v2.6
- Generic Zigbee Contact Sensor (no temp)
- Sonoff Zigbee Button Controller
Structure
Class Model
flowchart LR
Specific_Device --> Abstract_Device_Class --> Device--> Hub
Development setup
Testing is done with PyTest, you will need to set up the correct env vars for your local (or cloud) Hubitat API
See .env.example
Setup
Install Go-Task --> https://taskfile.dev/installation/
task setup
task
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
hubitatcontrol-1.0.5.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for hubitatcontrol-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14bf19275740e751cd45dc7c2b906386fc4de5fffe4c28121e7e05abb88fd93b |
|
MD5 | 4bddeed2f1d77d5a51f2b7c47f8a410e |
|
BLAKE2b-256 | 76eee9400dc6bfff45cdec97ec72a644f02363466616a8ed50e18783a4858f0a |