You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integrate automatic Wallbox-Steckdose support into the internal chargepoint system, including configuration, monitoring, control, MQTT integration, and RFID authorization.
New Features:
Add support for automatically detected openWB Wallbox-Steckdosen with power measurement, switching, fault reporting, and RFID integration.
Expose Wallbox-Steckdose configuration as an openWB consumer that can be assigned to a charge point.
Bug Fixes:
Prevent deletion of charge points assigned to a Wallbox-Steckdose and switch the socket off before deleting its consumer.
Increase the default RFID authorization timeout to one hour.
Enhancements:
Add validated MQTT data flow, permissions, value storage, and state handling for Wallbox-Steckdose topics.
Refactor internal chargepoint hardware definitions and checks to share the Modbus client with the Wallbox-Steckdose.
Avoid publishing redundant consumer state updates during control operations.
Tests:
Add coverage for Wallbox-Steckdose detection, measurements, RFID behavior, deletion safeguards, and MQTT topic handling.
Chores:
Centralize readable vendor group names for device and consumer configuration.
Adds support for automatically detected openWB wall sockets, including SDM120 metering, GPIO control, MQTT integration, RFID handling, and consumer configuration.
Changes:
Adds internal socket detection, measurement, state control, fault handling, and MQTT publication.
Adds internal-socket consumer configuration, host selection, RFID support, and assignment validation.
Refactors shared hardware checks and updates vendor metadata, topic handling, bridge configuration, and tests.
Increment the openwb-version header from 21 to 22 along with this bridge rule. runs/setup_mosquitto.sh:201–205 copies this configuration only when its version differs from the installed file. Existing version-21 installations therefore skip the update, leaving socket measurements, status and RFID data unavailable to remote consumers through the public broker.
Include the received socket switch state in ConsumerState. The handler publishes openWB/internal_socket/get/state, but this constructor omits it, so ConsumerState.state defaults to False. ConsumerValueStoreBroker then publishes False to the consumer's get/state topic on every successful update, even when the socket is on.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Persistent meter failures can bypass fail-safe shutdown, while consumer removal continues after switch-off failures, potentially leaving sockets energized without their controlling configuration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by Sourcery
Integrate automatic Wallbox-Steckdose support into the internal chargepoint system, including configuration, monitoring, control, MQTT integration, and RFID authorization.
New Features:
Bug Fixes:
Enhancements:
Tests:
Chores: