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.