Skip to main content

Hubitat Maker API Interface

Project description

Hubitat Elevation Maker API Interface (with Requests)

GitHub Workflow Status (with branch) GitHub issues by-label GitHub pull requests Libraries.io dependency status for latest release GitHub

Packaged with Poetry PyPI PyPI - Format PyPI - Status Python 3.10 GitHub top language GitHub commit activity Lines of code

Usage

pip install hubitatcontrol
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)

Roadmap

v0.5

  • Advanced Zigbee RGBW Bulb

v0.7

  • Generic Zigbee Outlet

v0.8

  • Leviton DZ6HD Z-Wave Dimmer

v1.0

  • hueBridgeBulb

v1.1

  • hueBridgeBulbCT

v1.2

  • hueBridgeBulbRGBW

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hubitatcontrol-0.8.1.4.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

hubitatcontrol-0.8.1.4-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

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