Hey All.
I have recently invested in an module for getting local data from my installed energy meter i Denmark from an Echelon energy meter common in some parts of DK.
The device is an plug in modul for the energy meter that uploads to the manufacture app but also have local MQTT support.
The energy meter have encryption but this module can decode and publish the data local when it have the encryption key, which is available upon request from the energy company.
i have the device set up and it is providing data to my local MQTT server but, the MQTT data is unfortunately not provided as “auto discovery”
And i am having trouble getting my MQTT sensors defined so i can extract the data to be usable.
i have tried different forum post but not found the working solution yet.
my configuration.yaml is split in sub files for MQTT/Template etc.
when i look at the raw MQTT data with MQTT Explorer i get this
{"saveeyeDeviceSerialNumber":"REDACTED","meterType":"MEP meter","meterSerialNumber":"111111","timestamp":"2024-12-25T13:11:06","wifiRssi":-63,"activeActualConsumption":{"total":426},"activeActualProduction":{"total":0},"activeTotalConsumption":{"total":52077943},"activeTotalProduction":{"total":357},"reactiveActualConsumption":{"total":0},"reactiveActualProduction":{"total":175},"rmsVoltage":{"L1":234,"L2":237,"L3":234},"rmsCurrent":{"L1":1892,"L2":146,"L3":208},"powerFactor":{"total":100,"L1":877,"L2":422,"L3":479}}
The “activeTotalConsumption” is my energy meter value in Wh and not in KWh as displayed on the meter it self
and “activeActualConsumption” is my live power usage.
these is the primary 2 entities that i would like the get working sensors for but, if possible all sensors provided by the device.
i have tried these sensor configuration i my MQTT.yaml sourced from reddit and other places and modified to my config “i think”
sensor:
- state_topic: "saveeye/telemetry"
name: Saveeye total watt-hours
unique_id: "saveeye_totalConsumptionWh"
device_class: "energy"
state_class: "total_increasing"
unit_of_measurement: "Wh"
value_template: '{{ value_json["activeTotalConsumption"] }}'
- state_topic: "saveeye/telemetry"
name: Saveeye total kilowatt-hours
unique_id: "saveeye_totalConsumptionkWh"
device_class: "energy"
state_class: "total_increasing"
unit_of_measurement: "kWh"
value_template: '{{ (value_json["activeTotalConsumption"] / 1000) }}'
but so far no dice.
Any help greatly appreciated
/Martin