DEV Community

Cover image for Home Assistant can't see devices that are online: associated but no IP
Christian Anderson
Christian Anderson

Posted on

Home Assistant can't see devices that are online: associated but no IP

On 10 September 2026 I had a moan that Home Assistant couldn't see devices that were clearly online. The router said they were connected. The apps said they were there. HA said unavailable. That day 246 of HA's 459 live states were unavailable.

I was right that something was off. My first two theories about why were both wrong, though, and the real answer was one I'd half seen a month before.

Most of what's below is about WiZ bulbs. I've got 30 of them in HA, and each one is pinned to a fixed IP in its config entry. The WiZ integration doesn't go looking for a bulb that's moved, so if the address changes, the bulb goes unavailable.

Wrong theory 1: the IoT VLAN

In July I'd moved some smart stuff onto an isolated IoT VLAN, and HA lives on the main LAN. So when I tested from the HA host and the Proxmox host and the WLED controllers on that VLAN were silent, it looked obvious. Packets leave, the router drops them, isolation's doing its job a bit too well.

Then I tested from the router itself. It sits on that VLAN with no firewall in the way, and it couldn't reach them either. ARP failed for all five. And there had been zero DHCP leases on that VLAN, ever. Nothing lived there. Testing only from the LAN side had made a routing story look right.

I'd already added a firewall rule letting the HA box into the IoT VLAN by then. It's correct for the day something's actually on there, but it fixed nothing, because it was built on the wrong diagnosis.

Wrong theory 2: stale IPs

Next guess: DHCP had shuffled things and HA still had the old addresses. I'd been bitten by DHCP lease churn before.

Easy to test. I ARP-swept the whole DHCP range from the HA host and matched every MAC in HA's device registry against the results:

  • 20 answered at the address HA held.
  • 21 didn't answer at all.
  • 0 were sat at a different address.

So "HA has a stale IP" was false. Re-adding the integration would have fixed nothing.

The numbers: 20 reachable, 21 silent, 0 at a new address, 24 of 36 missing devices on the wire with no lease

What it actually was

24 of the 36 missing devices were in the router's bridge forwarding table. That means they were powered on, associated to the WiFi, and passing frames. But they held no DHCP lease and answered no ARP.

Associated, but no IP. That's why the router and the apps called them online. Something's connected to the WiFi. It just can't talk IP.

And it wasn't the pool running dry: 66 leases against a 150-address pool, 12-hour leases.

I'd seen this before, smaller

On 7 August, 8 of my 30 bulbs were unavailable, and it turned out to be three different faults:

  1. Associated but wedged: 4 bulbs, all in one spot at the front of the house. They sent only 8-byte 802.3 LLC frames ("Supervisory, Receiver not Ready") every 10 to 20 seconds. No DHCP, no ARP, no IP, ever.
  2. Actually off: 4 bulbs. Zero frames in a 240-second capture, not in the bridge table, no lease. Off at the wall or unplugged.
  3. DHCP retry storm: 1 lamp. 71 DHCP requests in 240 seconds and never settling. It held a lease and showed as on, but it was flapping.

That's where my diagnostic ladder came from, and it's what cracked the big one in September:

The five-rung ladder: unicast probe, lease and ARP, bridge FDB with ageing, tcpdump on the real interface, and the router's DHCP log

A few notes on the rungs:

  • Unicast, not broadcast. WiZ broadcast discovery is lossy. 3 bulbs that answered a unicast getPilot on UDP 38899 never answered the broadcast. Never conclude "missing" from broadcast alone. And check the MAC that comes back matches the one HA expects, so you know you're talking to the right bulb.
  • The bridge table needs two looks. bridge -s fdb show on the router gives a "used" counter, the seconds since a frame was last seen. The ageing time is 300 seconds, so check again after that. Still there and refreshed means it's alive and transmitting. Gone means it's off. That's what separates "wedged" from "unplugged".
  • tcpdump on the real interface. Not -i any. That one gets its own post.

Two bulbs, one address

While going through HA's registry I found it holding duplicate IPs. Two pairs of bulbs each shared an address.

In one pair, the address belonged to a live, reachable bulb, and the other bulb had no lease at all. So a command sent to the dead bulb would have driven a different, live bulb. I removed that config entry. I'll re-add it when that bulb comes back and gets a real lease.

The other lease-less bulbs I left alone. Pointing at an address nobody owns just fails. Pointing at an address someone else owns does the wrong thing. A wrong address is worse than a missing one.

Reservations, then the measurement that settled it

I added static DHCP reservations for the bulbs: 34 new, 2 already there, 59 host reservations in total. The idea was that a bulb always getting the same address stops depending on a renewal that's failing.

Heads-up if you do this on OpenWrt: the lease file dropped from 66 to 11 when dnsmasq restarted. That's normal. It lives in tmpfs and fills back up as devices renew. Don't read it as devices vanishing.

Then the bit that settled it. logread | grep -i dhcp on the router showed healthy DISCOVER, OFFER, REQUEST, ACK cycles for an iPhone, a Watch, an eero and my monitoring box. And not one packet from any WiZ bulb.

They weren't asking. Their IP stack was wedged and no router change could reach them. The reservations are still the right groundwork, because the address is now fixed the moment a bulb does ask. But they can't be what makes it ask.

What's left is physical: cut the mains to each affected bulb for a bit and put it back. I looked for a remote lever, like kicking clients off from the outdoor AP, but I couldn't find a client or deauth endpoint on it.

Still open

One suspect I haven't proven. My main SSID was being broadcast twice with different security, once as WPA2 and once as a WPA3-only Wi-Fi 7 set, with randomised BSSIDs switched on. That combination is known to upset 2.4 GHz IoT gear. It's on my list. It's not proven.

And a red herring to skip: 4 bulbs log does not report a color mode every 15 seconds. They answer fine. That's the integration not being able to map what they return, not a network fault. Don't chase it as one.

What I'd do differently

  • Test from the gateway that owns the subnet before blaming a firewall.
  • Before blaming stale IPs, sweep and match MACs. It takes minutes.
  • Check the router's DHCP log early. "Is it even asking?" would have saved me two wrong theories.
  • Reserve addresses for anything that's pinned by IP. HA's WiZ entries are.

If HA says unavailable and your router says connected, has it actually got an IP?


🤖 Drafted with AI assistance from my own homelab notes, logs and repos, and fact-checked against them before publishing.

Top comments (0)