Page 1 of 1

Import data from tasmota into domoticz

Posted: Sunday 02 April 2023 22:57
by BartSr
Hi, I am having a number of powerplugs flashed with tasmota. Important data is sent to Domoticz via MQTT. That is OK. But Tasnota generates more interesting data. See down below. Now I wonder what is syntax to sent data such as e.g. cos.phi which below is named "factor".
Any suggestion? May feelings tell me to use rules but realy don't know how to.
Thanks
Bart

Code: Select all

10:40:39.159 MQT: tele/tasmota_CBD979/SENSOR = {"Time":"2023-04-02T21:40:39","ENERGY":{"TotalStartTime":"2023-03-22T17:49:17","Total":12.994,"Yesterday":0.853,"Today":3.959,"Period":0,"Power":0,"ApparentPower":0,"ReactivePower":0,"Factor":0.00,"Voltage":238,"Current":0.000}}

Re: Import data from tasmota into domoticz

Posted: Monday 03 April 2023 9:08
by waltervl
How do you connect your tasmota devices now with Domoticz? You could try to extend that functionality.
Else you could try Tasmota rules and have it send a proper Domoticz/in MQTT message or a Domoticz http(s) API call. Examples are in the tasmota documentation (search for domoticz). You perhaps have to manually make a Domoticz virtual sensor to receive the data.

Or if using MQTT you could use the MQTTMapper python plugin to map MQTT message to Domoticz device: viewtopic.php?t=39279