This custom component allows Home Assistant to integrate with the Monit monitoring system. It periodically downloads an XML file from Monit and creates binary sensor entities for each check Monit has.
- Periodically poll Monit for status updates, times checks to match when Monit would poll
- Create binary sensor entities for each Monit check.
- Support for multiple Monit servers.
- URL or hostname of the server (required)
- Username & password (optional)
-
Using HACS (Home Assistant Community Store)
- Go to HACS in Home Assistant.
- Click on "Integrations".
- Click on the "+" button.
- Search for "Monit".
- Click "Install".
-
Manual Installation
- Download the
monit
directory from the latest release. - Copy the
monit
directory to yourcustom_components
directory in Home Assistant. - Restart Home Assistant.
- Download the
- Go to Home Assistant and navigate to Configuration > Devices & Services.
- Click on Add Integration.
- Search for "Monit" and select it.
- Follow the prompts to set up the Monit integration.
- Clone this repository.
- Open the repository in Visual Studio Code.
- Use the provided
devcontainer.json
for a pre-configured development environment.
- Run Home Assistant:
scripts/develop
- Run Tests:
pytest
Contributions are welcome! Please see the CONTRIBUTING.md file for more information.
- Most of the integration has been written by ChatGPT.
- This integration is based on the Home Assistant integration blueprint.