I am controlling an EV charger from Home Assistant through the Ibbrhzn ocpp integration which works fine. Now I want to check the interval the CS sends the meter values to Home assistant with the following automation:
alias: Ensure MeterValues Config is OK
triggers: null
actions:
- action: ocpp.get_configuration
data:
ocpp_key: MeterValueSampleInterval
- wait_for_trigger:
- event_type: ocpp.get_configuration_result
event_data:
key: MeterValueSampleInterval
trigger: event
- condition: template
value_template: |
{{ trigger.event.data.value != '5' }}
- data:
key: MeterValueSampleInterval
value: "5"
action: ocpp.set_configuration
When this is executed, I can in the log that the GetConfiguration message is sent to the CS, and a correct result is returned.
However, the automation keeps waiting for the trigger. It seems like the ocpp.get_configuration_result
event is never triggered.
Does anyone know what's going wrong?
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744691815a4588254.html
评论列表(0条)