Set a backup WiFi for a screen
host.screens.set_wifiGive a screen a backup WiFi network, for example ahead of a network change, or while it is offline. The screen picks it up at its next check-in (screens check in every few hours). Whenever its current WiFi stops working it tries the backup, and if that joins the two swap places: the backup becomes its WiFi and the old WiFi becomes the backup. One backup per screen; setting again replaces it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssid | Yes | The WiFi network's name. | |
| password | Yes | Empty for an open network. | |
| device_id | Yes | The screen's device_id, from host.overview. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Sandbox notice. | |
| error | No | Present instead of the other fields when the call failed. | |
| device_id | No | The screen. | |
| next_step | No | What happens or what to do next, in plain language. | |
| simulated | No | True in the sandbox: made-up data, nothing changed. | |
| wifi_pending | No | The backup network waiting for the screen. |