Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106687

Electric Meter Setup

$
0
0

Good evening community!

I have an electric meter that I’m bringing over using rtl_sdr and importing via MQTT to HA. However, I’m getting an “unknown” on the state of the sensor after creating it. Here is the information… what am I doing wrong?

- platform: mqtt state_topic: "metermon/28301694" name: "Electric Meter Reading" value_template: "{{ value_json.Consumption }}" qos: 0 unit_of_measurement: "kWh" device_class: "energy"

Here is the raw JSON from MQTT.

{"Protocol": "SCM", "Type": "Electric", "ID": "28301694", "Consumption": 24166.45, "Unit": "kWh"}

Any help would be appreciated!

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>