A Python-based service management system for monitoring and maintaining different service modes.
- Automatically detects current work mode based on running services:
- HomeAssistant mode
- Zigbee2MQTT mode
- HomeKit mode
- Idle mode
- In idle mode, automatically installs HomeAssistant components
- In HomeAssistant mode, checks for updates and notifies users
- Extensible framework for future service management
- Install the required dependencies:
pip install -r requirements.txt
- Install the systemd service:
sudo cp supervisor.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable supervisor.service
sudo systemctl start supervisor.service
- Check the status of the service:
sudo systemctl status supervisor.service
The service is designed to work out of the box with default settings. Logs are stored in /var/log/supervisor.log.
To contribute to this project, please follow these steps:
- Clone the repository
- Install development dependencies
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.