Skip to content

Conversation

@ohAnd
Copy link
Owner

@ohAnd ohAnd commented Sep 1, 2025

This pull request introduces comprehensive device diagnostics and firmware version reporting for both the DTU and inverter, along with improvements to WiFi connection management and enhanced user documentation. The changes add support for extracting, storing, and exposing DTU/inverter firmware and hardware versions via the REST API and web interface, and introduce automatic WiFi reconnection for weak signals. The documentation is updated to reflect these new features and provide guidance on diagnostics and troubleshooting.

Device Diagnostics & Firmware Version Reporting

  • Added new protobuf definition APPInformationData.proto and corresponding nanopb options to support device info extraction (DTU/inverter firmware, hardware versions, etc.) (include/proto/APPInformationData.proto, include/proto/APPInformationData.options, platformio.ini) [1] [2] [3] [4] [5]
  • Extended inverterData struct and DTUInterface class to store DTU/inverter firmware versions, validity flags, and periodic device info request logic (include/dtuInterface.h, src/dtuInterface.cpp, src/dtuGateway.ino) [1] [2] [3] [4] [5] [6] [7] [8]
  • Exposed firmware version info in the REST API (/api/info.json) and web interface, including formatted version strings (src/base/webserver.cpp, include/web/index_html.h) [1] [2]

WiFi Connection Management

  • Introduced automatic WiFi reconnection for weak signals (below -75 dBm) and updated documentation to reflect this intelligent handling (readme.md) [1] [2] [3] [4] [5]

Documentation & API Enhancements

  • Updated readme.md with new features, diagnostics instructions, example API responses, and YAML configuration options for connection management and firmware diagnostics [1] [2] [3] [4] [5] [6]

@ohAnd ohAnd merged commit 1bcf94b into develop Sep 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants