Hi,
I also installed this a few weeks ago, and all seems to work. I get the values and nice graphs.
But sometimes during the day i get these errors in the logs :
2021-08-25 07:31:16 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.EToday }}'
2021-08-25 07:31:16 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.ETotal }}'
my config looks like this:
name: "Zonnepaneel Omvormer 1 dag"
state_topic: "sbfspot_2100071280"
unit_of_measurement: 'kWh'
value_template: "{{ value_json.EToday }}"
last_reset_topic: 'sbfspot_2100071280'
last_reset_value_template: '1970-01-01T00:00:00+00:00'
state_class: 'measurement'
device_class: 'energy'
icon: mdi:solar-power
- platform: mqtt
name: "Zonnepaneel Omvormer 1 totaal"
state_topic: "sbfspot_2100071280"
unit_of_measurement: 'kWh'
value_template: "{{ value_json.ETotal }}"
last_reset_topic: 'sbfspot_2100071280'
last_reset_value_template: '1970-01-01T00:00:00+00:00'
state_class: 'measurement'
device_class: 'energy'
icon: mdi:solar-power
I can’t see what is wrong, because this looks the same as the config of aynema