feature request: timer trigger for startup of domoticz

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
MrHobbes74
Posts: 115
Joined: Sunday 19 January 2020 22:29
Target OS: Raspberry Pi / ODroid
Domoticz version: latest B
Location: Netherlands
Contact:

feature request: timer trigger for startup of domoticz

Post by MrHobbes74 »

Hi,

I am looking for a way to trigger an Event only one time: after startup of domoticz.
When domoticz is terminated, states are kept. But events that may occur during downtime are missed (e.g. sunset, sunrise).
To redetermine the current state, I would like to trigger an Event after domoticz is started.
E.g. to initialize my security system based on certain conditions, or to determine the current status of my one-way 433 mhz dusk sensor.

Of course, I can write an Event that executes every minute and only does something the first time the script is executed (as was suggested in other forum topics). And I'm sure there are many other workarounds. But native support would be more natural and does not require my Event to be executed every minute for nothing.

I would like to see a timer trigger (similar to 'at sunset' and 'at sunrise') but then called e.g. 'at startup'.
Events with this trigger would then be executed directly after the event loop started.

Does this proposal have any chance? :-) For me it sounds like a natural extension of the event system.

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest