Monitofen is used to monitor measurements of an Okofen boiler. Measurements are imported daily and are exposed through a webapp.
Why not using Okovision?
Because I did not manage to install it in a Docker container, and when I tried to contribute, I was discouraged by the lack of automated tests (among others).
It is unfortunate, since Okovision brings a lot of interesting features.
- Daily import of measurements
- Visualize measurements by selecting a day and a metric
See Docker setup.
Here is a tutorial to install Monitofen on Raspberry Pi OS Lite.
make deploy
rails "measurements:import[<boiler url>]"Where boiler url is http://hostname:port (ex: http://192.168.1.10:8080).
Note: [<boiler url>] can be removed for the benefit of the MONITOFEN_BOILER_BASE_URL env var.
rails "measurements:import[<measurements file path>]"- Setup your local environment
- Run tests with
make test - Setup local database with
bundle exec rails db:setup - Start local server with
make start - Go to http://localhost:3000
- Docker env: reduce docker image size (see https://github.com/progapandist/anycable_rails_demo/blob/master/.dockerdev/Dockerfile.multi)
- Use json api (see https://github.com/thannaske/oekofen-json-documentation for documentation)
- Docker env: test image & docker-compose
- Front: filter measurements by time period
- Migrate to TypeScript
- Dev: front auto-reload
- Dev: move stats floating div on the right (and breakpoint on bottom right)
- Vuetify dark theme
- Front tests: replace RSpec style by JUnit style
- i18n (metrics label, graph infos... start with all in english)
- Integrate linters with reviewdog
- Harmonize NodeJS versions (infra doc VS Dockerfile VS ci)
- Bug: measurements importation when 1 file already imported (output is wrong)
- Bug: (chart) first hours of day are wrong ("Dev 7, 2021, 12:00:00am" instead of "Dev 7, 2021, 00:00:00am" or "Dev 6, 2021, 12:00:00am")
- Display measurements units