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.0
- Advanced Zigbee RGBW Bulb
v0.7.0
- Generic Zigbee Outlet
v0.8.0
- Leviton DZ6HD Z-Wave Dimmer
v1.0.0
- hueBridgeBulb
- hueBridgeBulbRGBW
- hueBridgeBulbCT
v1.1.0
- Ecobee Thermostat
v1.1.1
- Generic Z-Wave Lock
v1.1.2
- Generic Z-Wave Plus Scene Switch
v1.1.3
- 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
If you are using a local API endpoint, please leave HUBITAT_CLOUD_ID
blank in the .env
file.
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.7.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for hubitatcontrol-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45537e220a8fdac35fa0e5b20b04d6a8a70969281cef11c0fd276a08c040c914 |
|
MD5 | c7a1c076f3b2f4c2b67f181f8f4c3de1 |
|
BLAKE2b-256 | 6bb6791baf31adf5c704a44a8a10a112646a530f478939e8d71aca0c72679ff5 |