Page 1 of 1

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

Posted: Friday 24 February 2023 16:25
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?

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

Posted: Friday 24 February 2023 16:36
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.

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

Posted: Friday 24 February 2023 18:41
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?

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

Posted: Friday 24 February 2023 22:39
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