HAP-python
io-client-python
HAP-python | io-client-python | |
---|---|---|
4 | 1 | |
600 | 198 | |
- | - | |
6.5 | 3.8 | |
14 days ago | about 2 years ago | |
Python | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
HAP-python
-
Python Scripts with Essentials
Yes, https://github.com/ikalchev/HAP-python
- Is there any possibilitiy to implement your own electronics in HomeKit?
-
Equivalent gstreamer Command? Trying to get Raspberry Pi Zero + PiCam to work With HomeKit
I'm working on an configuration / hub iOT system for HomeKit (and maybe eventually google/amazon's version of HomeKit), OpenHub, and I'd really love to get the PiCam to work with the Pi Zero as an iOT camera. I'm using HAP-Python to build the system, and they've already done a ton of the heavy lifting. Unfortunately, the default implementation of the camera accessory uses this command, which works quite well on more powerful boxes than the Pi Zero.
-
Is there a programmatic way to get data for all Home Kit accessories?
I looked at libraries like HAP-NodeJS or HAP-python, but those seems focused on:
io-client-python
-
Need help with my RPI-0 terrarium monitor (temp/humidity), V.1 is failing & need a fresh start on V.2
""" 'temp_humidity.py' ================================== Example of sending analog sensor values to an Adafruit IO feed. Author(s): Brent Rubell Tutorial Link: Tutorial Link: https://learn.adafruit.com/adafruit-io-basics-temperature-and-humidity Dependencies: - Adafruit IO Python Client (https://github.com/adafruit/io-client-python) - Adafruit_Python_DHT (https://github.com/adafruit/Adafruit_Python_DHT) """ from requests.exceptions import ConnectionError # import standard python modules. import time # import adafruit dht library. import Adafruit_DHT # import Adafruit IO REST client. from Adafruit_IO import Client, Feed # Delay in-between sensor readings, in seconds. DHT_READ_TIMEOUT = 5 # Pin connected to DHT22 data pin DHT_DATA_PIN = 4 # Set to your Adafruit IO key. # Remember, your key is a secret, # so make sure not to publish it when you publish this code! ADAFRUIT_IO_KEY = "xxxxxxxxxxxxxxxxxxxxxxxx" # Set to your Adafruit IO username. # (go to https://accounts.adafruit.com to find your username). ADAFRUIT_IO_USERNAME = "xxxxxxxxx" # Create an instance of the REST client. aio = Client(ADAFRUIT_IO_USERNAME, ADAFRUIT_IO_KEY) # Set up Adafruit IO Feeds. temperature_feed = aio.feeds('temperature') humidity_feed = aio.feeds('humidity') # Set up DHT22 Sensor. dht22_sensor = Adafruit_DHT.DHT22 while True: humidity, temperature = Adafruit_DHT.read_retry(dht22_sensor, DHT_DATA_PIN) temperature = temperature * 9/5.0 + 32 if humidity is not None and temperature is not None: print('Temp={0:0.1f}*F Humidity={1:0.1f}%'.format(temperature, humidity)) # Send humidity and temperature feeds to Adafruit IO temperature = '%.2f'%(temperature) humidity = '%.2f'%(humidity) try: aio.send(temperature_feed.key, str(temperature)) aio.send(humidity_feed.key, str(humidity)) except ConnectionError as e: print(e) else: print('Failed to get DHT22 Reading, trying again in ', DHT_READ_TIMEOUT, 'seconds') # Timeout to avoid flooding Adafruit IO time.sleep(DHT_READ_TIMEOUT)
What are some alternatives?
HAP-NodeJS - Node.js implementation of the HomeKit Accessory Protocol (HAP)
pytradfri - IKEA Trådfri/Tradfri API. Control and observe your lights from Python. Examples available. On pypi. Sans-io.
homebridge-config-ui-x - The Homebridge UI. Monitor, configure and backup Homebridge from a browser.
magicblue - 💡 Unofficial Python API to control Magic Blue bulbs over Bluetooth
HomeKitADK
Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.
OpenHub - OpenHub is software meant to help you build iOT devices with Raspberry Pi.
Adafruit_Python_DHT - Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi or Beaglebone Black.
automate-gate-opening - Automate gate/garage door opening via 433.92MHz emitter with Raspberry Pi, Home Assistant and Homekit.
Adafruit_IO_Python - Adafruit IO Python Client Library