Jump to content
C4 Forums | Control4

Pull System Status?


brekfastb

Recommended Posts

I'm playing around with a custom driver that allows you to display real time status from variables, etc..

One of the demo screenshots shows a System uptime and last user to authenticate. I've looked everywhere in Composer and can't seem to find where they pulled these statuses from. Anyone able to point me in the right direction?

 

image.thumb.png.ffb7cfd15a2207a9f1dae6a3072b450d.png

Link to comment
Share on other sites


That’s an interesting question.

I’m not aware of a system uptime variable that is available directly for use - but maybe there is one.

Both items may come from other drivers.  For instance, I use a bNet Solutions driver (bTimer) to track various runtimes including system uptime).  By starting an instance of the driver on project startup, I have system uptime available for use and display whenever I need it.

Link to comment
Share on other sites

I looked and could not find this a while ago.  I made my own with a variable "HoursSinceReboot" that I reset on project load and then increment hourly with a timer.   I realize that "Project load" is more of a "warm boot" event and not a hardware level uptime, but it did what I wanted.   I also have a reboot count variable.  I used this while my system was flaky to see how maybe times it was rebooting itself and time since last reboot.

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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...

Important Information

By using this site, you agree to our Terms of Use.