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.

Report switch on/off time

Featured Replies

Is there a way to generate report on total on / off time as well as use during day/night, etc? Or some other way to get a sense of which lights are on most often?

Yes, you could write a program (per switch) that looks for control on events and increments a variable every time. Then at midnight have another program email you the variable value, and reset it to zero.

  • Author

Well, I have 85 switches so that's a lot of programs to write. Also, this has the same issue with lights on multiple scenes as below.

The log file is a sort of solution but loading this in excel and then massaging the data so that I can compute on/off combos is time consuming, and the results have a lot of incorrect info because the log records switch actions, and lights on multiple scenes may be turned on by one switch and then turned off by another. So the script parsing the data would need to know the lights which respond to "all off" for instance.

The log as I recall (but no sure)is recorded by device and not scene so on or off for a scene translates to devices going on off. I’d likely write a program to parse rather than do it in excel.

As to writing programs, it would be a task but if you triggered on device change that still happens if a scene caused the change.

Edited by hart2hart

If you'd be using this on an ongoing basis, then developing a log parsing program would be your best bet. Yes, you'd have to have a scene to device id table to catch the scene equivalent commands.

Create an account or sign in to comment

Account

Navigation

Search

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.