strange still not getting any data on home assistant
the broker log is :
1575313374: New connection from 192.168.1.113 on port 1883.
[INFO] found lebhack on local database
1575313375: New client connected from 192.168.1.113 as EM (p2, c1, k15, u’user’).
1575313535: Saving in-memory database to /data/mosquitto.db.
the logs for the tasmota is the following:
20:31:39 RSL: tasmota/tele/SENSOR = {“Time”:“2019-12-02T20:31:39”,“ENERGY”:{“TotalStartTime”:“2019-08-17T11:47:41”,“Total”:55.367,“Yesterday”:5.435,“Today”:6.068,“Period”:1,“Power”:223,“ApparentPower”:373,“ReactivePower”:300,“Factor”:0.60,“Frequency”:51,“Voltage”:222,“Current”:1.680}}
20:31:42 RSL: tasmota/tele/HASS_STATE = {“Version”:“7.1.0(tasmota)”,“BuildDateTime”:“2019-11-30T20:52:32”,“Core”:“2_6_2”,“SDK”:“2.2.1(cfd48f3)”,“Module”:“Generic”,“RestartReason”:“Software/System restart”,“Uptime”:“0T00:28:55”,“WiFi LinkCount”:1,“WiFi Downtime”:“0T00:00:06”,“MqttCount”:1,“BootCount”:143,“SaveCount”:198,“IPAddress”:“192.168.1.113”,“RSSI”:“66”,“LoadAvg”:19}
20:31:49 RSL: tasmota/tele/STATE = {“Time”:“2019-12-02T20:31:49”,“Uptime”:“0T00:29:02”,“UptimeSec”:1742,“Heap”:25,“SleepMode”:“Dynamic”,“Sleep”:50,“LoadAvg”:19,“MqttCount”:1,“Wifi”:{“AP”:1,“SSId”:“Hackerz-Gate”,“BSSId”:“D8:EB:97:25:19:50”,“Channel”:1,“RSSI”:66,“LinkCount”:1,“Downtime”:“0T00:00:06”}}
2
the config file is the following :
-
platform: mqtt
name: “Power”
state_topic: “tasmota/tele/SENSOR”
value_template: ‘{{ value_json[“ENERGY”][“Yesterday”] }}’
unit_of_measurement: “kWh”
-
platform: mqtt
name: “Sonoff_PowerFactor”
state_topic: “tasmota/tele/SENSOR”
value_template: ‘{{ value_json[“ENERGY”][“Voltage”] }}’
-
platform: mqtt
name: “POW Current”
state_topic: “tasmota/tele/SENSOR”
value_template: ‘{{ value_json[“ENERGY”].Current }}’
unit_of_measurement: ‘amps’
-
platform: mqtt
name: “POW Power”
state_topic: “tasmota/tele/SENSOR”
value_template: ‘{{ value_json[“ENERGY”].Power }}’
unit_of_measurement: ‘watts’
-
platform: mqtt
name: “POW Voltage”
state_topic: “tasmota/tele/SENSOR”
value_template: ‘{{ value_json[“ENERGY”].Voltage }}’
unit_of_measurement: ‘volts’