Home Screen Widgets
Install the Monitor on the server, then add it to the App. The App passes its configured Monitor servers to the widgets.
How widgets work
Section titled “How widgets work”Widgets request data directly from the Monitor, so the App does not need to be open. For each server configured with the Monitor, the App publishes its name, address, and a short-lived read-only token. The token is stored in the platform’s secure credential storage.
Choose between two layouts: Small displays current readings, and Medium displays charts for several metrics. During setup, select a server and its leading metric. The widget gets its URL from the server configuration.
iOS widgets
Section titled “iOS widgets”iOS 17 or later is required.
- Touch and hold the Home Screen, then tap +.
- Search for “Server Box”.
- Choose the Small or Medium widget.
- After the widget appears, touch and hold it, then tap Edit Widget.
- Select the server to display.
Each iOS widget displays one server. Small widgets show its current readings; Medium widgets show charts for several metrics.
- Add the server to the App with the Monitor configured.
- The App applies that server’s
allowInsecuresetting. Use HTTPS unless you intentionally need plaintext HTTP for a non-loopback connection. - iOS chooses when widgets refresh; it does not guarantee a fixed interval.
- Add multiple widgets to show different servers.
Android widgets
Section titled “Android widgets”- Long-press the Home Screen and tap Widgets.
- Find “Server Box”, choose the Small or Medium type, and add it.
- On the configuration page, select a server and leading metric.
- Tap Save.
- Tap the widget to refresh it manually when needed.
Every Android widget instance keeps its own server and metric selection, so widgets can show different information. The App supplies the server list. If it is empty, add a server configured with the Monitor first.
Watch app
Section titled “Watch app”The Watch app requires watchOS 10 or later and reads data directly from the Monitor. It can show only servers configured with the Monitor in the App. Those servers sync by default. To exclude one, open iOS Settings → App → iOS → Watch app.
- Open Server Box on the iPhone.
- Open Settings → Application → iOS → Watch app.
- Exclude any servers you do not want on the Watch; the remaining Monitor servers will sync.
- Wait for synchronization to finish.
The Watch app sorts its server pages by name, regardless of the order in the App. To add a Lock screen widget, use the system widget gallery and select a server there; it has no separate setting in Server Box.
Troubleshooting
Section titled “Troubleshooting”Widgets or the Watch app do not update
Section titled “Widgets or the Watch app do not update”- Make sure the Monitor is running and reachable at the configured address.
- Check the Monitor password, certificate, and
allowInsecuresetting in the App. - iOS controls the refresh schedule. Wait for another refresh, or remove and add the widget again.
- Tap an Android widget to refresh it. Open its configuration to confirm the selected server and metric.
- Pair the Watch with an iPhone. After changing server settings, open Server Box on the iPhone and wait for sync.
A widget shows an error or no servers
Section titled “A widget shows an error or no servers”- Add at least one Monitor server in the App.
- Check the Monitor’s HTTPS configuration, saved credentials, and network reachability.
- Widgets use the App’s server list instead of manually entered
/statusURLs. If a one-time migration prompt appears, follow it to configure the server again.
Security
Section titled “Security”- Prefer HTTPS.
- To use plaintext HTTP with a non-loopback address, enable Allow insecure HTTP for that server in the App. Widget endpoints (
/api/v1/metrics,/api/v1/metrics/history, and/api/v1/watch-token) have no Monitor-side switch. The Monitor’sallow_insecureoptions apply to[remote_access.terminal]and[remote_access.fs]only. - Keep Monitor credentials and widget tokens out of public documentation and version control.