Page 1 of 1
Re: ESP8266 + Tasmota + MQTT + Domoticz = Feedback problem.
Posted: Tuesday 16 May 2017 16:51
by emme
looks like a MQTT issue
If you switch on manually the TASMOTA (that I assume is a sort of sonoff device) does it update the status on Domoticz?
Are you using MQTT just for this device? does other MQTT connected devices works good?
..is the MQTT configuration ok?! (do you get error in Domoticz Log?)

Re: ESP8266 + Tasmota + MQTT + Domoticz = Feedback problem.
Posted: Tuesday 16 May 2017 18:19
by mutley
I've only just started playing with creating my own devices in Domoticz using MQTT, so I could be wrong but from what I think you are trying to ask this is what I think is going on.
Domoticz does not poll any device over MQTT for status information. So unless your device sends out a states before it shuts down / goes offline it will never be reported in Domoticz.
Domoticz also doesn't expect any device conformation messages over MQTT, so Domoticz could sent a "close contact" message over MQTT and it will report closed in Domoticz, but if you device is offline / not registered on the queue, it never knows.
I've also seen quite a few other issues with making MQTT devices utilizing the standard Domoticz MQTT implimentation, like duplicating messages and filling the queue up.
Again, I've only just spend a few hours playing with this so may well be wrong, but I'm just about to dig into source code to see what that turns up, and if above is correct, you may as well give up on the standard Domoticz MQTT for 2 way device implementation and create you own.
Re: ESP8266 + Tasmota + MQTT + Domoticz = Feedback problem.
Posted: Monday 02 October 2017 15:43
by Ylan
pychu can you please contact me on PM, I can't send PM because Im new.
Thank you
Re: ESP8266 + Tasmota + MQTT + Domoticz = Feedback problem.
Posted: Sunday 12 May 2019 20:22
by sincze
I've setup a Mosquitto server and installed a Sonoff Basic / Sonoff Pow R2 with the latest tasmota
Thanx to the great plugin:
Code: Select all
https://github.com/arendst/Sonoff-Tasmota/wiki/Domoticz---Automatic-discovery
the devices were instantly available in Domoticz.
I used to have ESP Easy installed and in that config I could easily send the RSSI value to Domoticz.
Is this possible with Tasmota as well?
I can't seem to figure it out without the use of Node-Red.
The information is available in:
Code: Select all
mosquitto_pub -h localhost -t <topic>/cmnd/status -m 11
Code: Select all
19:10:24 MQT: basic/stat/STATUS11 = {"StatusSTS":{"Time":"2019-05 12T19:10:24","Uptime":"0T06:20:15","Vcc":3.206,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER":"ON","Wifi":{"AP":1,"SSId":"******","BSSId":"**:**:**:**:**:**","Channel":**,"RSSI":98,"LinkCount":1,"Downtime":"0T00:00:04"}}}
19:10:25 MQT: basic/tele/HASS_STATE = {"Version":"6.5.0(release-sonoff)","BuildDateTime":"2019-03-1
But how to get it out
