this post was submitted on 14 Jul 2023
6 points (87.5% liked)

homeassistant

12039 readers
76 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
 

I installed Google Wifi which resulted in having new network, old router was under 192.168.0.1, new Google is on 192.168.1.1.

So previous HA IP was 192.168.0.35, I changed it via the supervisor to 192.168.1.35.

All devices are unavailable now... Zigbee2mqtt says 502: Bad Gateway... What do I do, how to fix that?

Thanks in advance.

Update: I tried doing this but there's no IP addresses there and there's only devices like my iPhone, but no light bulbs for example... From the Terminal: Change directory to /config/.storage: cd /config/.storage Then edit the core.config_entries file: nano core.config_entries

Update 2: I figured it out. I went to Supervisor > Zigbee2mqtt > Configuration tab - there I noticed there was still old IP (server: mqtt://192.168.0.35:1883), I've updated that and now everything works again!

top 4 comments
sorted by: hot top controversial new old
[–] BestBouclettes@jlai.lu 5 points 1 year ago* (last edited 1 year ago)

It sounds like you only changed the IPs but you also have to change the gateways of your devices to 192.168.1.1 instead of 192.168.0.1 too. If it's DHCP, just restarting the device should get you a new and correct IP and gateway

[–] iMike@lemmy.world 5 points 1 year ago (1 children)

Ahh I figured it out. I went to Supervisor > Zigbee2mqtt > Configuration tab - there I noticed there was still old IP (server: mqtt://192.168.0.35:1883), I've updated that and now everything works again!

[–] HubertManne@kbin.social 4 points 1 year ago

can you put this as an update2 just so its easier to find if someone else has the issue?

[–] regex1883@lemmy.world 2 points 1 year ago

Would be easiest if you just changed the router

load more comments
view more: next ›