Trigger script from SetPoint device?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
miljume
Posts: 62
Joined: Thursday 03 December 2015 21:36
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8742
Contact:

Trigger script from SetPoint device?

Post by miljume »

Hello,

Is there some way to trigger a script from a SetPoint device and use the (changed) temp-value as argument to the script?

Regards,
Mikael
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Trigger script from SetPoint device?

Post by Egregius »

A Setpoint update triggers the device event system. You can catch that in lua or any language you like.
In my pass2php script I use that so the burner starts instantly after updating the setpoint.
jkimmel
Posts: 129
Joined: Monday 25 November 2013 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Mallorca
Contact:

Re: Trigger script from SetPoint device?

Post by jkimmel »

Search for "dzVents"!
Rfxcom
Raspi 4
miljume
Posts: 62
Joined: Thursday 03 December 2015 21:36
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8742
Contact:

Re: Trigger script from SetPoint device?

Post by miljume »

jkimmel wrote:Search for "dzVents"!
Thank you for the suggestion!

I have installed it and will try it out

Although I am not that good at scripting but I guess I could learn :)
jkimmel
Posts: 129
Joined: Monday 25 November 2013 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Mallorca
Contact:

Re: Trigger script from SetPoint device?

Post by jkimmel »

Rfxcom
Raspi 4
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest