otmonitor
Home Assistant supervisor add-on
Opentherm monitor is a management and monitoring application for your opentherm gateway.
Install by going to Supervisor -> Add-on store -> Add new repository by url and fill in https://github.com/basnijholt/addon-otmonitor
.
See otmonitor/DOCS.md.
To locally test or develop on this addon, use vscode as explained in the home assistant local adding testing developer documentation.
It takes a while to build, download and start the local devcontainer as it runs a local home assistant instance using docker-in-docker (din), which is slow, but it's very useful to test your local changes.
In short:
- Install Docker on your local machine
- Copy the
.devcontainer
directory from the root of the community-addons repository - Open the project in Visual Studio Code
- Select
Rebuild and Reopen in Container
from the command palette - Wait until the devcontainer itself is build
- Start the ha instance by running task
Start Home Assistant
- Grab a coffee and wait until all the required home-assistant containers are up
- Setup your local ha instance on http://localhost:812
- Install mosquitto mqtt broker
- Install the local otmonitor addon
- Test your changes
To build the container manually, use:
ARCH=amd64
docker build --build-arg BUILD_FROM=homeassistant/${ARCH}-base-debian:bullseye --build-arg BUILD_ARCH=${ARCH} .