Feature request - resend output states every minute

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.
Post Reply
bynio
Posts: 6
Joined: Monday 28 August 2017 6:35
Target OS: Linux
Domoticz version: Stable
Location: Poland
Contact:

Feature request - resend output states every minute

Post by bynio » Tuesday 29 August 2017 11:44

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...

SweetPants
Posts: 1624
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.8793
Location: The Netherlands
Contact:

Re: Feature request - resend output states every minute

Post by SweetPants » Wednesday 30 August 2017 21:09

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.
Ubuntu 16.04.3 LTS on Intel NUC, MySensors, Pro Mini 3.3 with RFM69, ESP8266 (SDK2.1.0), Sonoff, RFLink, RFXcom.

bynio
Posts: 6
Joined: Monday 28 August 2017 6:35
Target OS: Linux
Domoticz version: Stable
Location: Poland
Contact:

Re: Feature request - resend output states every minute

Post by bynio » Thursday 31 August 2017 6:46

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.

Post Reply

Who is online

Users browsing this forum: Jake404 and 5 guests