Build your own HomeKit Bridge & Accessories with Hoom
Project description
Hoom
Build your own HomeKit Bridge & Accessories with Hoom
🚧 Please note: Hoom is still under development. It is not recommended at this point, to use Hoom in a production environment.
✨ Features
- HomeKit Bridge
- Minimalist Web UI
- Create custom HomeKit Accessories with function decorators
- Customizable
- Easy to use
📦 Installation
Hoom is available on PyPi. You can easily install it using pip:
pip install hoom
Note: Hoom requires Python 3.8 or higher
🚀 Getting started
Here's a demo script which shows how easy Hoom is to use:
from hoom import Hoom
from hoom.accessory_types import Lightbulb
hoom = Hoom()
@hoom.accessory("Lamp", Lightbulb)
def lamp(response: Lightbulb.Response):
if response.state: # either True or False
print("Lamp is now on")
else:
print("Lamp is now off")
return
hoom.run()
As you can see, Hoom is very similar to frameworks like FastAPI. No need for complicated classes with lots of methods. Just use the @hoom.accessory
decorator and you're good to go.
📣 Credits
A special thanks goes out to these Python packages/frameworks and their authors:
- HAP-python - Hoom wouldn't be possible without this HomeKit Accessory Protocol implementation by Ivan Kalchev
- FastAPI - Hoom uses FastAPI by Sebastián Ramírez for its web server & UI and is heavily inspired by it
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
Built Distribution
File details
Details for the file hoom-0.1.5.tar.gz
.
File metadata
- Download URL: hoom-0.1.5.tar.gz
- Upload date:
- Size: 112.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 500457bd9b8f6aef5f6e76b40d40566ebbfb183b60af96f59aa37e601eb5e07b |
|
MD5 | 706f8259fe7d331b5b2a3debbdbb6aeb |
|
BLAKE2b-256 | f8cb5f0b163dc7926a6175bad96cb9c9d2c483fced326bcb349acb9d1af7e227 |
File details
Details for the file hoom-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: hoom-0.1.5-py3-none-any.whl
- Upload date:
- Size: 113.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f6be0633a496405cecc7f95a3bf9840a9f15443fe82ab5bc26b6e15fdb7812d |
|
MD5 | acd51d597e680f958a66fbcbaa6105dd |
|
BLAKE2b-256 | ca31a1cd0237323cd73262c6c47e531a945e00449f334e8afa751a08df9bfff2 |