this post was submitted on 26 Feb 2024
11 points (92.3% liked)

Smart Homes

636 readers
2 users here now

For the discussion of smart homes, home automation and the like. Because of the instance it will tend to have a more UK flavour but everyone is welcome.

Elsewhere in the Fediverse:

Rules:

NB: looking for moderators.

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?

you are viewing a single comment's thread
view the rest of the comments
[–] angelsomething@lemmy.one 2 points 8 months ago (1 children)

Can you please confirm if you setup a static ip on the hub? It may be that as you powered it off and then on, it got a new ip from your router and home assistant doesn’t find where it expects it.

[–] smeg@feddit.uk 2 points 7 months ago (2 children)

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.

[–] angelsomething@lemmy.one 2 points 7 months ago (1 children)

Yeah I find the integration plugins can be a bit iffy at times.

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

I think it might just be because I've renamed some of the lights some time since I set it all up, apparently it was fine with that until it tried to reconnect to them all!

[–] angelsomething@lemmy.one 2 points 7 months ago (1 children)

I’d suggest integrating pihole in your home lan and have it do dhcp so you can reserve IPs to MAC address/devices with the added bonus of not having ads on your LAN :)

[–] smeg@feddit.uk 2 points 7 months ago (1 children)

I did set up a pihole many years ago but it stopped working one day and I couldn't be bothered to keep tinkering as I've got adblocking on all my devices anyway. How simple is it to get configured and running smoothly nowadays?

[–] angelsomething@lemmy.one 1 points 7 months ago* (last edited 7 months ago)

It’s really super easy to install as they provide the curl command which will auto install and then have a cronjob to keep it up to date on its own