Page 1 of 1

Feature request - resend output states every minute

Posted: Tuesday 29 August 2017 11:44
by bynio
From topic http://www.domoticz.com/forum/viewtopic.php?f=6&t=19134 . Basic option for fault tolerant solution with dumb devices connected to domoticz, but i cannot imagine why is not implemented...

Re: Feature request - resend output states every minute

Posted: Wednesday 30 August 2017 21:09
by SweetPants
Why not write the last known state onto the ESP module and use that state when powered up. (Be carefull there is a limited amount of flash writes possible on the ESP module, read the spec's first)

Sending state updates every minute for many devices floods the air with RF. http://www.domoticz.com/forum/viewtopic ... d+multiple is an old discussion on sending multiple commands.

Re: Feature request - resend output states every minute

Posted: Thursday 31 August 2017 6:46
by bynio
Yes. This is option. But still prothesis. I can connect external i2c eeprom to save states and restore them after restart. But this is not solution. If esp go down for more time - outputs can not match witch domoticz.
About RF flood. In domoticz schould be a tick for any devive "resend state every X minutes". So - not all devices get periodic updates. Second - i2c, spi, extenders need only one hex value as command for all outputs, esp one command per output. This not generate a high traffic even on many connected devices. But if we have a lots outputs a and some of them reset/hang/etc this can make frustration. Now we need login to gui and need correcting output state, better if domoticz self make this - periodic updates i think is most easy and efficient solution for this.