Build your own HomeKit Bridge & Accessories with Hoom
Warning
Hoom is still under development. It is not recommended at this point, to use Hoom in a production environment.
- HomeKit Bridge
- Minimalist Web UI
- Create custom HomeKit Accessories with function decorators
- Customizable
- Easy to use
Hoom is available on PyPi. You can easily install it using pip:
pip install hoom
Note
Hoom requires Python 3.8 or higher
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: # boolean value
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.
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