German SmartMeter with SML (eg ISKRA MT175) via tasmota to domoticz

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
fotomann100
Posts: 16
Joined: Tuesday 27 August 2019 15:18
Target OS: Raspberry Pi / ODroid
Domoticz version: 41017
Contact:

German SmartMeter with SML (eg ISKRA MT175) via tasmota to domoticz

Post by fotomann100 »

I try to get the data of a ISKRA MT175 into Domoticz. I'm using the smart meter interface oft tasmota
(https://tasmota.github.io/docs/Smart-Meter-Interface/), witch works fine. The problem is: How to transfer the data from tasmota to Domoticz?

First I experimentend with the internal Domoticz integration of tasmota. With this I'm only able to get the overal consuption into domoticz. I found no way to get the momentary consumption too.

After that I experimented with the Domoticz plugins MQTT Discovery and Tasmota Autodiscovery with no success.

I guess, the Domoticz MQTTMapper (https://github.com/FlyingDomotic/domoti ... per-plugin) could help. But my trys were not successfull. I can't really understand the technical documentation.

Does anybody has an ideea or a working solution?

Devices in use:
several RFXtrx433XL
Sonoff Basic, Sonoff POW R2 / Tasmota
D1 mini / espeasy
switches and sensors from several china suppliers
Pollin wireless sockets
Renkforce smoke detectors
User avatar
waltervl
Posts: 5906
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: German SmartMeter with SML (eg ISKRA MT175) via tasmota to domoticz

Post by waltervl »

If you have MQTT use the build in Domoticz integration of tasmota https://tasmota.github.io/docs/Domoticz/

Or use tasmota rules to build a Domoticz api json call to push the data to a dummy P1 smart meter device.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
fotomann100
Posts: 16
Joined: Tuesday 27 August 2019 15:18
Target OS: Raspberry Pi / ODroid
Domoticz version: 41017
Contact:

Re: German SmartMeter with SML (eg ISKRA MT175) via tasmota to domoticz

Post by fotomann100 »

waltervl wrote: Friday 24 February 2023 16:36 If you have MQTT use the build in Domoticz integration of tasmota https://tasmota.github.io/docs/Domoticz/

I know this page. Unfortunally I dont' understand what the author means in detail.

Or use tasmota rules to build a Domoticz api json call to push the data to a dummy P1 smart meter device.
That sounds good, because the problem is on side of tasmota I guess.

Using the build in domoticz support tasmota generates messages in domoticz/in like this:
{
"idx" : 901,
"nvalue" : 0,
"svalue" : "0;7035.1",
"Battery" : 100,
"RSSI" : 6
}

Out of this a domoiticz couter makes a corect reading of the Total Consumption. The momentary consumption stays emty because tasmota transmitts a nvalue of "0".

The correct value is published unter tele/tasmota_xyz/Sensor as followed:

{
"Time" : "2023-02-24T18:34:23",
"MT175" : {
"P" : 229.0
}
}

The number behind "P" is the value I'm looking for. I'm looking for a way to fill nvalue in domoticz/in with this value - perhaps with rools?

Devices in use:
several RFXtrx433XL
Sonoff Basic, Sonoff POW R2 / Tasmota
D1 mini / espeasy
switches and sensors from several china suppliers
Pollin wireless sockets
Renkforce smoke detectors
User avatar
waltervl
Posts: 5906
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: German SmartMeter with SML (eg ISKRA MT175) via tasmota to domoticz

Post by waltervl »

I think you need both values to monitor your smart meter.
The tasmota should give the instant usage and total counter.
Domoticz will do the calculation of the daily consumption.

See also the wiki values for an electric instant and counter device https://www.domoticz.com/wiki/Domoticz_ ... counter.29
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest