forked from ukoda/lcd4linux-ax206
-
-
Notifications
You must be signed in to change notification settings - Fork 0
plugin_uptime
Alejandro Mora edited this page Mar 9, 2026
·
1 revision
This plugin returns the current system uptime either in seconds or in a user-defined format.
| uptime() | returns the uptime in seconds |
|---|---|
| uptime(format) | returns the uptime in a specific format |
The format can be specified similar to printf(), but only these tokens will be replaced:
| %s | total number of seconds |
|---|---|
| %S | seconds from 00 to 59 |
| %m | total number of minutes |
| %M | minutes from 00 to 59 |
| %h | total number of hours |
| %H | hours from 00 to 23 |
| %d | total number of days |
Widget Uptime {
class 'Text'
expression uptime('%h:%M')
prefix 'Up '
width 9
align 'R'
update 1000
}
The official LCD4Linux(AX206) Wiki
Back from the dead!
Back from the dead!
Documentation
Developers
Resources
Legacy (0.9)
AX206 Fork