Skip to content

Conversation

@derDeno
Copy link
Owner

@derDeno derDeno commented Aug 8, 2025

✨ Major Changes

🔧 Logging System Rebuild

  • Logging is now split into serial and file-based CSV logging.
  • Serial logging is explicitly enabled in firmware for debugging (e.g. when connected to a PC), and disabled in production to reduce system load.
  • Debug logs are now saved as CSV (instead of .txt) for better usability.
  • Log entries now include a log level (e.g. debug, info, warning, error).
  • Logging behavior is now controlled via log level setting instead of a simple true/false flag.
  • Logs are displayed newest first and now visually improved in the WebUI.
  • Added escaping function to ensure log messages are safely written in CSV format.

🧠 Backend Enhancements

  • modbusServeTask is now pinned to Core 1 to avoid timeouts caused by IO overload.
  • Sensor switched from HDC1080 to BME280 (adds pressure readings).
  • Added pressure threshold as a new configurable setting.
  • Reduced serial output to minimize unnecessary logging and CPU load.
  • Added restart reason display on the device info page.
  • PlatformIO lib_deps are now cleaned up and better structured.

🌐 Web Interface Updates

  • WebUI now displays pressure value.
  • Logs are shown using a visually improved layout.
  • Restart button now uses a confirmation modal.
  • Fix: index route now properly redirects instead of showing /404.
  • Added dynamic SVG handling for door states when the door is not connected.
  • Translations updated: minor fixes, removed btn-light, and added support for dynamic string translation.
  • New direct link added to verify the serial number from the info page.

📡 Home Assistant / MQTT Integration

  • Added MQTT pressure sensor support.
  • Added new MQTT sensor for detailed door state (open, closed, stopped, half, venting) in addition to existing cover entity.
  • External sensors (connected via I2C) are now:
    • Pushed to Home Assistant.
    • Dynamically handled in WebUI.
    • Can now be combined if multiple of the same type are connected.

@derDeno derDeno added the release This marks a release label Aug 8, 2025
@derDeno derDeno marked this pull request as ready for review August 8, 2025 14:05
@derDeno derDeno merged commit d5dcf19 into main Aug 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release This marks a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants