Is there a simple way to create an event based on any setpoint change, I see setpoint changed to, then you have to manually enter a number. I would like an event to be triggered any time the set point has been changed. Is there an easy way to do this.
Announcement
Collapse
No announcement yet.
Event action on any setpoint change
Collapse
X
-
If theres no event action then perhaps a script, which picked the set point, stored it somewhere (virtual device/ini file/global variable) and if it was different from the previous value it triggered the event. I'm transmitting blind here but perhaps something similar to what Rupp posted in this thread http://forums.homeseer.com/showthread.php?t=144115
Sub Main(ByVal parms as Object)
Dim pi As Object
Dim temp as Double
pi = hs.Plugin("ZWave Thermostats")
temp = pi.GetHeatSet(1, 1)
'I have no idea what goes there - it says in the API calls about thermostat number/sensor number - don't know the format
hs.setdevicevalue("Z1", temp * 10)
'reports the return as a double, so will need some experimenting as to correct multiplication factor
hs.setdevicestring("Z1", "New set point: " & temp, True)
End Sub
Then you could create an event that changed when the Z1 device value changed...someone will probably say that script is all wrong though
Comment
-
Originally posted by comgle64 View PostIs there a simple way to create an event based on any setpoint change, I see setpoint changed to, then you have to manually enter a number. I would like an event to be triggered any time the set point has been changed. Is there an easy way to do this.All Z-Wave, #101 devices, HomeTroller Series2, HomeSeer2 v.2.5.0.81, & 1x Z-Troller
Comment
Comment