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 Switch
hoom = Hoom()
@hoom.switch("Switch ")
def switch(response: Switch.Response):
if response.on:
print("Switch is now on")
else:
print("Switch 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.
If you want to know how to create other accessories, take a look at the documentation.
📣 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
A special thanks also goes out to:
- Tabler Icons - The icon for Hoom is from Tabler Icons
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.6.tar.gz
.
File metadata
- Download URL: hoom-0.1.6.tar.gz
- Upload date:
- Size: 113.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 | f284309d333d78d9bc995c6e2474c4cf7883b35922c33c0765c556ddc71ca08c |
|
MD5 | e3badc125d9539f7c956728f17ce5dbc |
|
BLAKE2b-256 | acb0283e714eeae328b94861d00225ead998565191a610255ea846f58f12b197 |
File details
Details for the file hoom-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: hoom-0.1.6-py3-none-any.whl
- Upload date:
- Size: 115.0 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 | 33aed2a018ff005f66c147c345033ca5ccced06594d4d2d75d5505f1e01a9c24 |
|
MD5 | e8d4a08596e6f93cc9e6d530354e77bd |
|
BLAKE2b-256 | 459427454e485d492e8336511280043dc725c8a6fb3a45dbf2e20c50811dbcef |