Hello everyone,
I just got my electric meter connected to a hitchi IR Head (German page). Basicly it’s tasmota running on a ESP8266 with IR Head. This is working fine so far, I installed mosquitto MQTT broker on HA and receive the json encoded MQTT information from the sensor. Example:
Hi, I need some help. I hope my english is good enought to explain… I’m German
I got the same Isssue but I can’t fix it myself…
This is my Message receiving
MQT: tele/tasmota_11CDD1/SENSOR = {“Time”:“2022-09-27T18:01:35”,“SML”:{“Total_in”:9236.5,“Power_curr”:592}}
I can See the Values in the Dashboard
Pic 1
I already used the Json from nikito7 changing to my sensors
- platform: mqtt
name: "SML_Aktueller_Verbrauch"
unique_id: sensor.tasmota_sml_power_curr
state_topic: "tele/tasmota_11CDD1/SENSOR"
value_template: >-
{% set x = value_json.SML.Power_curr|int(0) %}
{% if x %}
{{ x }}
{% endif %}
unit_of_measurement: "W"
device_class: power
state_class: measurement
- platform: mqtt
name: "Gesamt"
unique_id: sensor.tasmota_sml_total_in
state_topic: "tele/tasmota_11CDD1/SENSOR"
value_template: >-
{% set x = value_json.SML.Total_in|float(0) %}
{% if x > 0 %}
{{ x }}
{% endif %}
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
I’d like to see the Power in W update every 5 Seconds in the Dashboard. The best would be if there where an option like the kWh see picture 1 red drawn circle