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.

Saving logs to a file

Featured Replies

Posted

I'm interested in saving the ISY log to a file that I can use to view or store in a database.  My thought would be to have a script run every 5 or so minutes to grab the log via REST.  My concern is that for each call, I'll get a full list of events that are duplicated with the last call.  I guess that my script will need to pull a log file, then dedup what was pulled from the previous call, then save the difference.  Is this a correct assumption or is there a way to just get the last updates to the log?

Bill

  • Author

Thanks for the reply.  I'm getting a "404 not found" for every link in the Legacy section.  Do you have a better place to get this information?

Bill

  • Author

Figured out the URL's... reading... thanks.

  • Author

So, from what I've been seeing, I need to use websockets to subscribe to the ISY.  I looked at the mentioned libraries.  While the code for Psisy is on Github, I couldn't' find any documentation.  There is a link for information on the library, but the link is dead.  I was able to get ISYlib to work a little bit - wrote a few lines to print print some info on my ISY which worked.  But I'm not a programmer - I have to Google for every line of code I write.  I found the documentation on ISYlib to be extremely light and searching for additional examples both here and on Google came up wanting.  Wondering if there is a source for more documentation on ISYlib - or better yet, anyone have some example code that would do what I'm trying to accomplish? 

Thanks, BS

  • Author

Hello?  Looking for some sample code, anything that shows how to do a subscription using ISYlib.  I can probably figure it out from there.  Thanks!

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.