I am sending my blue iris server an HTTP URL request via PLEG/Lua when conditions happen:
Conditions:
BlueIrisProfile1 No IsDay and (AlarmActive or ArmedNightStay or ArmedAway or ArmedMaximum or ArmedInstant or ArmedStay)
BlueIrisProfile2 No IsNight and (AlarmActive or ArmedNightStay or ArmedAway or ArmedMaximum or ArmedInstant or ArmedStay)
BlueIrisProfile3 No IsDay and AlarmReady
BlueIrisProfile4 No IsNight and AlarmReady
Actions for Condition: BlueIrisProfile1
LUA:
luup.inet.wget(“http://xx:8080/admin?profile=1&user=user&pw=pass”,5)
luup.inet.wget(“http://xx:8080/admin?profile=1&user=user&pw=pass”,5)
However, it seems that these events continuously fire throughout the day rather than just when the status of a variable changes. Is that possible? is it possible to make it so that it only fires on a change in state?