this post was submitted on 26 Feb 2024
16 points (86.4% liked)

homeassistant

12072 readers
21 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've got an IKEA hub connected to a few Trådfri lights which I've then added to Home Assistant on a Raspberry Pi and set up a load of automations. I moved the hub and the RPi around my room and now Home Assistant can't control any of the lights, it's just reporting Failed setup, will retry. The IKEA hub can still control the lights fine.

Any idea if there's a quick fix or do I need to bite the bullet, delete the config and set everything up again from scratch?

top 6 comments
sorted by: hot top controversial new old
[–] ThePantser@lemmy.world 22 points 8 months ago (2 children)

Check what IP HA is expecting and then check the IKEA hub to see if they match. If you have DHCP turned on for your hub then when you moved it it might have gotten a new IP. Easy fix its the case, just set a static IP on the IKEA hub for what HA expects and then restart the integration.

[–] StefanT@lemmy.world 1 points 8 months ago

Or make it old school and use the hostname instead of the IP.

[–] smeg@feddit.uk 1 points 8 months ago

You were correct, though I couldn't find a way to update HA with the new IP. Ended up just re-configuring the Ikea integration, weirdly it's forgotten half my bulbs.

[–] Fly4aShyGuy@lemmy.one 3 points 8 months ago

Like others said, most likely your HA IP changed, had this happen recently in a power outage. Need to either set them to use hostname or make the HA machine have a static IP.

[–] andreas@lemmy.korfmann.xyz 2 points 8 months ago (1 children)

if memory serves me correctly, Trådfri lights run on Zigbee, no? I don't personally use Trådfri but I've got Hue bulbs on my Home Assistant and bypass the Philips Hue hub altogether by running Zigbee2MQTT on my Home Assistant with a Sonoff Zigbee dongle plugged in. that helped solve random Hue Hub disconnects from my HA altogether. I highly recommend running all things zigbee this way.

[–] smeg@feddit.uk 2 points 8 months ago

I bought the Trådfri hub before I set up HA so it was easier to just connect it rather than resetting and reconfiguring everything. I've sorted it now, but if it comes to changing everything or staying again from scratch then I will cut out the middleman and have the devices talking directly to HA.