Build your own HomeKit Bridge & Accessories with Hoom
Project description
🏡 Hoom
Build your own HomeKit Bridge & Accessories with Hoom
✨ Features
- HomeKit Bridge
- Minimalist Web UI
- Create custom HomeKit Accessories with function decorators
- Customizable
- Easy to use
📦 Installation
You can easily install Hoom using pip:
pip install hoom
Note: Hoom requires Python 3.8 or higher
How to use
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(name="Hoom Bridge")
@hoom.accessory("Lamp", Lightbulb)
def lamp(response: Lightbulb.Response):
if response.state:
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
hoom-0.1.3.tar.gz
(111.4 kB
view details)
Built Distribution
hoom-0.1.3-py3-none-any.whl
(112.5 kB
view details)
File details
Details for the file hoom-0.1.3.tar.gz
.
File metadata
- Download URL: hoom-0.1.3.tar.gz
- Upload date:
- Size: 111.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e69a246744e09095edbc2689bb318ec297db321fbedbfabb685a456a8bdb340 |
|
MD5 | 8df6ce137299631009db71bbd456f85d |
|
BLAKE2b-256 | 80d9d8a6e90fa578c74d107f0ac9f5089dbfccd65a58099d6bb7678e6bba5425 |
File details
Details for the file hoom-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: hoom-0.1.3-py3-none-any.whl
- Upload date:
- Size: 112.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 | 5c5e7c4c12334dd243f7aa8441548b59c6ea8d53ed5a31e2d2b1784ee6b36a22 |
|
MD5 | b33bbb71636468fbe298f3537f2c21e8 |
|
BLAKE2b-256 | 55f1800bcece1657831d179fed9677172758d9913d3a1b339edb22e1bcbcd4e3 |