Wi-Fi

Get Wi-Fi setup

GET/api/wifi
Open. Open to everyone who can reach Tempolight.

{available: false} except on the Raspberry Pi image, where it says what the Wi-Fi setup service is doing.

Responses

200OKapplication/json
availablebooleanrequired
modestring
One of "watch" "hotspot" "connecting" "retry"
ssidstring | null
hotspotany

The setup hotspot.

lastResultany

How the last connection went.

Request
curl 'http://localhost:8080/api/wifi'
Response
{
  "available": false
}
Edit on GitHub