- Timer (to turn off the Homebridge accessory after a specified period of time (+ only during a specified part of a day)).
- Scheduler (to turn on/off the Homebridge accessory depending on the time of the day (+ sunrise/sunset)).
- Auto-restart (to restart Homebridge instance depending on the time of the day or the day of the week).
- Clone this repo.
- Install required libraries with this code:
pip install -r requirements.txt
- To start, execute this command in the main directory:
python src/bot.py
- During the first launch, the script created a config.ini file in a config directory. Please, edit the file with your data (Homebridge IP, port, username & password).
- If the information provided was correct, the script updated the file with Homebridge accessories data. Please, add to the file your automations.
- Enjoy!