[easee] Enable write support for smartCharging channel (#14866)
* this fixes #14863 Signed-off-by: Alexander Friese <af944580@googlemail.com>
This commit is contained in:
parent
6e349334e4
commit
e87824d7e8
|
@ -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
|
||||
|
|
|
@ -6,9 +6,13 @@
|
|||
<channel-group-type id="charger-state">
|
||||
<label>Charger Status</label>
|
||||
<channels>
|
||||
<channel id="smartCharging" typeId="type-switch">
|
||||
<channel id="smartCharging" typeId="rwtype-switch">
|
||||
<label>Smart Charging</label>
|
||||
<description>Smart Charging status of the wallbox.</description>
|
||||
<properties>
|
||||
<property name="writeCommand">ChangeConfiguration</property>
|
||||
<property name="validationExpression">.*</property>
|
||||
</properties>
|
||||
</channel>
|
||||
<channel id="cableLocked" typeId="type-switch">
|
||||
<label>Cable Locked</label>
|
||||
|
|
Loading…
Reference in New Issue