Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sending Event Log to my external server in realtime

Featured Replies

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

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

  • Author

Thanks, I'm having trouble tracking down PyISY; it seems to link to a dead end. Are there official docs on the socket interface?

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.