Enable/Disable Standby of HeidelbergWallbox#49
Conversation
Created a new MQTT topic /standby_enabled to control the Standby register of the Heidelberg Wallbox. The topic is automatically discovered by Home Assistant. Tested successfully on the LILYGO build: - MQTT topic HeidelBridge/standby_enabled is published correctly. - Home Assistant controls added. - Standby mode can be set via Home Assistant → Wallbox enters deep standby after ~10-15 minutes. - Wakeup via Heidelberg interface is not possible while in deep standby. - Wallbox wakes up automatically when a car is connected, and control via Home Assistant/MQTT is restored. - Disabling Standby also works. EVCC will not work if Wallbox is in deep standby.
|
I don't have any Heidelberg boxes to test, so this is only a dry review: Unlike mChargingEnabled/IsChargingEnabled() the introduced mStandbyEnabled is written to registers inside the Wallbox and persists reboots of the HeidelBridge! Has anyone measured how quick the Wallbox wakes up, starts charging and reconnects to Home Assistant? |
Tried to implement suggentions of Giermann: BorisBrock#49 (comment) Renamed the method from IsStandbyEnabled() to GetStandbyEnabled() and using ReadRegisters to get the current status instead of statically set it to true on initialization.
Thank you for your review and suggentions! |
|
Observation from today: |
Created a new MQTT topic /standby_enabled to control the Standby register of the Heidelberg Wallbox. The topic is automatically discovered by Home Assistant.
Tested successfully on the LILYGO build:
EVCC will not work if Wallbox is in deep standby.