Device recovery is a set of features focused on keeping your device always up and running. It mainly consists of 2 mechanisms:
- On-device Auto recovery
- Peer-to-peer recovery within local network
On-device Auto recovery
On-device Auto recovery does periodical checks (every 10-60 s) between the CoreApp frontend (including Applet) and the CoreApp backend.
If the frontend (Applet) or the backend does not respond in the set interval, the recovery process is started. All checks are done locally on the device and work while the device is offline as well.
Operations
- The browser process is frozen/unresponsive
- Device blocks process by security dialog (pop-up window issue)
- Device is not on the URL Launcher/SI App input source
- Device is on stand-by mode
Recovery includes:
- Soft refresh
- Tizen-specific "pop-up window" action
- Input source switch
- Device On
- Full device reboot
Supported on:
- Samsung Tizen - publicly since 2.7.0
- LG webOS - publicly since 2.7.0
- RaspberryPi Linux - private only
How to enable Auto recovery
- In Box, open the Device detail page and select the Settings tab.
- Find Auto Recovery and Enable it
- Define health check interval between 10-60 seconds
Or use the REST API endpoint.
[Private Beta] 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.
Device Recovery expects a stable and reliable local network without network partitioning.
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 Peer-to-Peer Recovery
By default, automated Peer-to-Peer Recovery is disabled. You can enable in on the Device detail page -> Settings tab in Box:
Alternatively, you can use a dedicated REST API endpoint.