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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...