joba-1 / Tasmoticz

Domoticz MQTT autodiscovery plugin for Tasmota devices
MIT License
24 stars 18 forks source link

Cant switch on/off a offline device #25

Open DAVIZINH0 opened 2 years ago

DAVIZINH0 commented 2 years ago

Hello, I dont know if this is a bug a feature or only a extrange user use. Some of my tasmota comes offline because i cut off the power manually. This devices apears in domoticz with they last state. I cant change this status in domoticz, I have a system alive checker and with a scxript I try to put the virtual switch in OFF state. it not works :-( If i push the switch in domoticz to change the status off any offline device, this not works. This is ok?

joba-1 commented 2 years ago

I see your problem, but this works as intended. I want domoticz to reflect only a status that is confirmed by the device and not guess that no status means it is off.

DAVIZINH0 commented 2 years ago

I thought it was intentional :-( In all the cases the logical that the status is confirmed its perfect, only in the case of the tasmota is disconnected for a long time, this will be a problem. because if the tasmota is disconnected maybe the power is off, or maybe the wifi is off but the device still power on. umsssss... yes this is little confuse

thanks for your fast reply!, I will search for another solution for my concret case