So this didn't work...
I setup a couple devices to send an HTTP POST to isy when a device is turned on and when it's turned off. Each instance is a separate flow
In isy I can change the state variable based on which POST is received. In other words, when the "On" flow is triggered, the state variable in isy is changed to 1 for on and when the"Off" flow is triggered the variable in isy is changed to 0 for off.
Even though I have it set to send the maker event when the light is switched on (not just if the light happens to be on),
it seems to constantly trigger the on flow if the light is on and the off flow when it's off. This basically means I'm almost hitting the event limit for a 24 hour period before I even wake up in the morning.
How do I get it to only trigger when the light switches on or off?
Or if there is a better way to send the state of a light to isy, I'm open to ideas.
Thanks!