this post was submitted on 17 Feb 2024
17 points (87.0% liked)

homeassistant

11984 readers
6 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

The other day my WiFi network went down and with it, I lost access to my Zigbee network?* Is this normal or is this a sign of a massive issue?

*When I checked the Raspberry Pi running Home Assistant, all devices showed as unavailable.

top 24 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 8 months ago (1 children)

Why did your wifi went down ?
Some wifi and zigbee are on the same wavelength, if someone was jamming it (this is illegal), both can be taken down like this.

[–] [email protected] 4 points 8 months ago (2 children)

There was a fault in the neighbourhood and Virgin make it so when their routers lose connection to the web, they kill all connections. It's annoying!

[–] [email protected] 6 points 8 months ago (1 children)

How does your home assistant get zigbee ?

[–] [email protected] 2 points 8 months ago (1 children)
[–] [email protected] 3 points 8 months ago (1 children)

Directly plugged into a raspberry pi I suppose ?

[–] [email protected] 1 points 8 months ago (2 children)
[–] [email protected] 3 points 8 months ago (1 children)

What do you mean by extension cable ?

[–] [email protected] 3 points 8 months ago (1 children)
[–] [email protected] 1 points 8 months ago

How did you setup your home assistant ? Check if you somehow the container traffic doesn't route through your ISP box for some reason :p

[–] [email protected] 1 points 8 months ago (1 children)

Is the pi running home assistant or is it an external pi running Z2M independently? Is it connected to your network via WiFi?

[–] [email protected] 1 points 8 months ago

The Pi is running HA, Mosquitto and Z2M

[–] [email protected] 2 points 8 months ago (1 children)

Like, if a neighbor's Internet loses connection, yours goes down?

[–] [email protected] 1 points 8 months ago (1 children)

So if my internet goes down because there's an area fault, I can't, for example, scream movies from my NAS, because the router just refuses all connections. It's infuriating. Especially as the local Internet drops constantly due Virgin selling over capacity.

[–] [email protected] 2 points 8 months ago (1 children)

Is it worth it to double-NAT, and run a router between your internal network and their internet box? Then your router is doing the internal routing and possibly DNS too. It’s not perfect, but it might be worth it if the internet drops that much.

[–] [email protected] 2 points 8 months ago

This is my plan. I'm gonna get a NanoPi to do the routing.

[–] [email protected] 7 points 8 months ago (2 children)

How is your coordinator linked to your home assistant?

For example if you use Zigbee2MQTT and you have either Zigbee2MQTT or Homeassistant pointing to the internal ip of mosquito (192.168.1.11 for example) and your router goes down (with dhcp), it's possible it cannot communicate anymore.

This isn't the case if it's all running on the same box using localhost as address, running it in a docker network or when you run ZHA however.

[–] [email protected] 2 points 8 months ago (1 children)

I think it didn't work when I tried localhost, so used pi5.local

[–] [email protected] 2 points 8 months ago (1 children)

that uses mDNS, which in some cases requires your router to be online to be able to resolve it to a ip. If part of your internet disruption was your router going down, it would explain the issue

[–] [email protected] 2 points 8 months ago

Ahhhh, that explains it then. I so need to hurry up and build my router.

[–] [email protected] 2 points 8 months ago

Ding ding, here's the winner I'd bet

[–] [email protected] 6 points 8 months ago* (last edited 8 months ago)

Your wifi went down or your internet connection?

Sounds like from your comments that you mean internet.

Zigbee does not rely on internet, but does rely on a local connection to your mqtt server which may be on another machine (ideally not), and if these machines are connected via wifi (ideally not) and your wifi went down, then yes you can lose functionality.

[–] [email protected] 4 points 8 months ago* (last edited 8 months ago) (1 children)

This is odd and I don't think it should happen. You could try to reproduce it and gather some logs.

[–] [email protected] 1 points 8 months ago

I'll play around with it tomorrow

[–] [email protected] 3 points 8 months ago

I had something similar (although probably unrelated) happen last week. All of a sudden my router went offline and nothing was getting an internet connection. Sonoff coordinator lost connection with all zigbee devices went unavailable at the same time. Tried rebooting my home assistant pc, router, unplugging sonoff antenna, switching Ethernet ports, etc without luck.

Power cycling my Ethernet switches fixed it immediately. No idea why that did the trick. This has never happened before. I’m on Verizon fios if that matters.

Posting here in case it helps someone identify a common thread/root cause for OP and me, because I thought it was bizarre that an Ethernet switch would ever need to be power cycled!