Network error on initial setup of Home Assistant Green

Resolved.

Situation was as described above: new green box installation, box boots, is on the network, but connection refused on both mobile setup and web (port 8123). Console accessible.

Two apparent issues:

  1. Potential DNS block. pi-hole may have fubared name resolution. The fix: set a static IP with different DNS (e.g. 8.8.8.8) in the DHCP settings in your router. Unsure if this was the root cause but flagging it here to cover all bases.

  2. No battery: my green box shipped without a 2032 cell, producing ‘low voltage detected, date/time is not reliable’ msg, and potentially messing with certs. The fix: install a battery (or check it; others have reported poorly-seated batteries in the green box) and confirm the date/time (e.g. date -u) in the console.

Solution:

  1. Ensure names can be resolved (1 above)
  2. Ensure certs can certify (2 above)
  3. Reset the device (Step 2, here)

Resetting with an operating DNS and accurate clock allows the latest version of Home Assistant Supervisor and Home Assistant Core to be downloaded.