Device recovery is a set of features focused on keeping your device always up and running. It mainly consists of 2 mechanisms:
- On-device watchdog
- Peer-to-peer recovery
Device Recovery expects a stable and reliable local network without network partitioning.
On-device Watchdog
On-device watchdog does periodical checks (every 30 s) between Core App frontend (including Applet) and Core App backend (usually running in Node.js).
If the frontend or backend does not respond in the set interval, the recovery process is started.
- The browser process is frozen/unresponsive
- Tizen blocks process by security dialog (pop-up window issue)
Recovery includes:
- Soft refresh
- Tizen-specific "pop-up window" action
- Full device reboot.
Supported on:
- Samsung Tizen
- LG webOS
- RaspberryPi Linux
Peer-to-Peer Recovery
If you running multiple devices in a local network, there is an advanced Peer-to-peer Recovery feature. Peer-to-Peer Recovery starts a process on each device in the local network and lets devices check upon each other. If a certain device is marked by other devices as unresponsive, one device is selected to perform the recovery.
Recovery includes:
- Turn on the device
- Set up the URL Launcher source (Tizen)
- Set up the correct date and time
- Resolved
- When the backend Node.js process is running, the device is considered operational and its peers won't try to recover it again.
- If the device remains non-operational a full device reboot is performed
Supported on:
- Samsung Tizen
How to enable Device Recovery
By default, automated Device Recovery is disabled. You can enable the Device Recovery on the Device detail page -> Settings in Box:
Alternatively, you can use a dedicated REST API endpoint.