Jump to content

Sending Event Log to my external server in realtime


Recommended Posts

Posted

Hi, I've scoured the forums for this topic, but must not be searching for the right keywords.

 

I want to send events to my external server in realtime. So for instance, as soon as I turn on a light, I want an outbound REST call sent to my server so it can react. I upgraded to the portal, and I see how I can poll for the latest log file with https://my.isy.io/isy/<apitkey>/rest/logbut I don't see how to push these events at the instant in time they happen.

 

TIA

Posted

Hi, I've scoured the forums for this topic, but must not be searching for the right keywords.

 

I want to send events to my external server in realtime. So for instance, as soon as I turn on a light, I want an outbound REST call sent to my server so it can react. I upgraded to the portal, and I see how I can poll for the latest log file with https://my.isy.io/isy/<apitkey>/rest/logbut I don't see how to push these events at the instant in time they happen.

 

TIA

There is no automatic way to have device changes pushed with rest. You could do that with the network resources, but that would be painful. You can subscribe and get changes thru a socket like PyISY does and others http://wiki.universal-devices.com/index.php?title=ISY_Developers

 

Sent from my Pixel 2 XL using Tapatalk

Guest
This topic is now closed to further replies.

×
×
  • Create New...