From e87824d7e8eb6e704275e579e4c1deee28abd1ef Mon Sep 17 00:00:00 2001 From: Alexander Friese Date: Thu, 17 Aug 2023 17:01:21 +0200 Subject: [PATCH] [easee] Enable write support for smartCharging channel (#14866) * this fixes #14863 Signed-off-by: Alexander Friese --- bundles/org.openhab.binding.easee/README.md | 10 +++++----- .../resources/OH-INF/thing/charger-channel-groups.xml | 6 +++++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/bundles/org.openhab.binding.easee/README.md b/bundles/org.openhab.binding.easee/README.md index 3df066af4..452dd1c25 100644 --- a/bundles/org.openhab.binding.easee/README.md +++ b/bundles/org.openhab.binding.easee/README.md @@ -58,7 +58,7 @@ The settings that start with "dynamic" can be changed frequently, the others are | Channel | Item Type | Writable | Description | Allowed Values (write access) | |---------------------------------------------|--------------------------|----------|------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------| -| state#smartCharging | Switch | no | | | +| state#smartCharging | Switch | yes | | ON/OFF | | state#cableLocked | Switch | no | | | | state#chargerOpMode | Number | no | 0=Offline, 1=Disconnected, 2=AwaitingStart, 3=Charging, 4=Completed, 5=Error, 6=ReadyToCharge, 7=AwaitingAuthentication, 8=Deauthenticating | | | state#totalPower | Number:Power | no | current session total power (all phases) | | @@ -77,9 +77,9 @@ The settings that start with "dynamic" can be changed frequently, the others are | state#lifetimeEnergy | Number:Energy | no | | | | state#errorCode | Number | no | | | | state#fatalErrorCode | Number | no | | | -| config#lockCablePermanently | Switch | yes | | true/false | -| config#authorizationRequired | Switch | yes | | true/false | -| config#limitToSinglePhaseCharging | Switch | yes | | true/false | +| config#lockCablePermanently | Switch | yes | | ON/OFF | +| config#authorizationRequired | Switch | yes | | ON/OFF | +| config#limitToSinglePhaseCharging | Switch | yes | | ON/OFF | | config#phaseMode | Number | yes | 1=1phase, 2=auto, 3=3phase | 1-3 | | config#maxChargerCurrent | Number:ElectricCurrent | no | write access not yet implemented | | | commands#genericCommand | String | yes | Generic Endpoint to send commands | reboot, update_firmware, poll_all, smart_charging, start_charging, stop_charging, pause_charging, resume_charging, toggle_charging, override_schedule | @@ -107,7 +107,7 @@ The Master Charger is like the "normal" charger but has some extra channels to c | settings#offlineMaxCircuitCurrentP2 | Number:ElectricCurrent | no | | | | settings#offlineMaxCircuitCurrentP3 | Number:ElectricCurrent | no | | | | settings#offlineMaxCurrents | String | yes | read/write only for all phases. | <value phase1>;<value phase2>;<value phase3> valid values for each phase are 0, 6-32. Example: 8;8;8 | -| settings#enableIdleCurrent | Switch | yes | | true/false | +| settings#enableIdleCurrent | Switch | yes | | ON/OFF | | settings#allowOfflineMaxCircuitCurrent | Switch | no | | | ## Full Example diff --git a/bundles/org.openhab.binding.easee/src/main/resources/OH-INF/thing/charger-channel-groups.xml b/bundles/org.openhab.binding.easee/src/main/resources/OH-INF/thing/charger-channel-groups.xml index 184a9b266..37bf84f6a 100644 --- a/bundles/org.openhab.binding.easee/src/main/resources/OH-INF/thing/charger-channel-groups.xml +++ b/bundles/org.openhab.binding.easee/src/main/resources/OH-INF/thing/charger-channel-groups.xml @@ -6,9 +6,13 @@ - + Smart Charging status of the wallbox. + + ChangeConfiguration + .* +