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.

Logging events to a file

Featured Replies

Posted

For a variety of reasons I'd like to create kind of a log file that I can write to through ISY programs. I can (and have) set up programs so the triggers I want send an email notification with all the right event details and variables to an email address I set up. So I have the conditions and tests and all that working.

 

The emailing part is a workaround though. What I really want is to log the contents of those emails into a file, which would look something like [mm/dd/yy hh:mm:ss] Event xyz occurred, etc. I'd settle for having it logged into the main ISY event log, although ideally I'd like it to be some other file.

 

Is there a way to do this entirely within the ISY? Would there be some way to do this with the Network module if I had some logger listening on some port on my internal network? I have other systems that are always on (or close enough).

You can do this using the built in notification system. There is a method to create and write to files on the ISY's webserver. See this link:

http://wiki.universal-devices.com/index ... tification

 

I do this using the network module to write to a log file on an external syslog server running on a RaspberryPi. I would have gone with the method above if it had been implemented sooner. The RPi method allows me greater flexibility since that is a full linux based system.

 

-Xathros

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.