Skip to content

v2.0.0 - Browser configuration, multiple sensors and redesigned dashboard

Choose a tag to compare

@CervezaStallone CervezaStallone released this 14 Oct 11:32
· 4 commits to main since this release
25b96de

Version 2.0.0 is a large update: everything is now configured in the browser, multiple RS-485 buses with multiple sensors are supported, and the dashboard has been redesigned.

Highlights

Redesigned dashboard

  • Board view: every sensor as one row with temperature, humidity, dew point, absolute humidity, comfort, a 24-hour trend and its status: all sensors at a glance.
  • Meters view: one panel per sensor with large values.
  • Dark and light theme, chosen in Settings; mobile layout for phones and tablets.
  • Status per sensor: OK, warning, alarm or offline, with the out-of-limits value highlighted.
  • One chart with a tab per quantity; every sensor keeps its own colour everywhere.

Multiple buses and sensors (#18)

  • Several USB/RS-485 interfaces, each with several Modbus slaves.
  • Per sensor: name, slave ID, function code, registers and scale (XY-MD02, XY-MD04 and similar).
  • A failing sensor or unplugged interface no longer affects the others and is retried automatically.

Settings in the browser

  • New Settings tab for buses and sensors, display, region, data retention, server and security.
  • Admin password for Settings, optionally for the whole app.

Notifications

  • Telegram and e-mail (SMTP) alerts when limits are exceeded (for all sensors or per sensor), when values are back to normal and when a sensor goes offline.

MQTT

  • Publishes the values of every sensor to an MQTT broker (Home Assistant, Node-RED, SCADA).

Run as a service

  • Install scripts for Linux/Raspberry Pi (systemd) and Windows: the app starts at boot, also without anyone logged in.

Translations

  • All texts available in Dutch, English, German, French and Spanish.

Fixes

  • Negative temperatures are now read correctly (signed registers).
  • A missing serial port at startup no longer stops data collection permanently.
  • Security hardening of login sessions, redirects and stored passwords.

Upgrading from 1.x

  • Existing data is kept. The Modbus settings from .env become Bus 1 / Sensor 1 automatically; all existing measurements belong to that sensor.
  • DATA_RETENTION_DAYS, DEBUG_LOGGING, TIMEZONE and DEFAULT_LANGUAGE from .env are taken over once; after that the Settings tab is leading.
  • Listen address and port are set in the Settings tab (default 0.0.0.0:8050).
  • On first visit of the Settings tab you create an admin password.
  • New dependency: paho-mqtt — run pip install -r requirements.txt (or re-run the service install script).
  • Requires Python 3.10 or newer.

See the README for screenshots and full instructions.