Request boot function for dzVents

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

Moderator: leecollings

Post Reply
GrinF
Posts: 2
Joined: Saturday 02 September 2017 12:26
Target OS: -
Domoticz version:
Contact:

Request boot function for dzVents

Post by GrinF »

First I would like to thank the developer(s) for creating dzVents. Great job, and extensive wiki!!

What I miss in all event solutions is running the scripts at boot, so the outputs would update to any changes of the input during downtime.
Perhaps you could run every script after Domoticz restarted and/or add an option for 'on =' to trigger an event at boot.
I already created a workaround, but it just isn't very nice.

Please take it into consideration.
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Request boot function for dzVents

Post by dannybloe »

Thanks for the compliments.. glad you like it as well :)
I'm planning to create support for a couple of system triggers in the near future. So you can do stuff like:

Code: Select all

return {
	on = {
		system = {
			'start', 
			'error'
			'stop'
		}
	},
	execute = function(domoticz, system)
		--
	end
}
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
GrinF
Posts: 2
Joined: Saturday 02 September 2017 12:26
Target OS: -
Domoticz version:
Contact:

Re: Request boot function for dzVents

Post by GrinF »

Hi Dannybloe,

Sounds good! I will watch the forum to follow the developments.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest