71 lines
1.7 KiB
YAML
71 lines
1.7 KiB
YAML
## required attributes [type: custom]
|
|
|
|
status: # charger status (A: not connected, B: connected, C: charging)
|
|
source: const
|
|
value: "A"
|
|
enabled: # is charging enabled?
|
|
source: const
|
|
value: true
|
|
enable: # enable/disable charging
|
|
source: js
|
|
script: console.log(enable)
|
|
maxcurrent: # set maximum charge current in A
|
|
source: js
|
|
script: console.log(maxcurrent) #
|
|
|
|
|
|
## optional attributes (read-only)
|
|
|
|
#icon: generic # icon for UI purpose only
|
|
#power: # charge power in W
|
|
# source: const
|
|
# value: 11000
|
|
#energy: # meter reading in kWh
|
|
# source: const
|
|
# value: 42.5
|
|
#returnenergy: # meter reading in reverse direction in kWh
|
|
# source: const
|
|
# value: 12.3
|
|
#identify: # current RFID identifier
|
|
# source: const
|
|
# value: "1234567890"
|
|
#soc: # state of charge in %
|
|
# source: const
|
|
# value: 75
|
|
#powers: # phase powers in W
|
|
# - source: const
|
|
# value: 3600
|
|
# - source: const
|
|
# value: 3700
|
|
# - source: const
|
|
# value: 3800
|
|
#currents: # phase currents in A
|
|
# - source: const
|
|
# value: 16.0
|
|
# - source: const
|
|
# value: 16.1
|
|
# - source: const
|
|
# value: 16.2
|
|
#voltages: # phase voltages in V
|
|
# - source: const
|
|
# value: 230.1
|
|
# - source: const
|
|
# value: 230.2
|
|
# - source: const
|
|
# value: 230.3
|
|
|
|
## optional attributes (writeable)
|
|
|
|
#maxcurrentmillis: # set maximum charge current in A with decimal precision
|
|
# source: js
|
|
# script: console.log(maxcurrentmillis);
|
|
#phases1p3p: # switch phases (requires 'tos: true')
|
|
# source: js
|
|
# script: console.log(phases1p3p);
|
|
#tos: true
|
|
#wakeup: # wake up vehicle
|
|
# source: js
|
|
# script: console.log(wakeup);
|
|
#finishtime: # estimated finish time (RFC3339 timestamp, duration string, Unix timestamp, or seconds remaining)
|
|
# source: const
|
|
# value: "1h30m"
|