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?

  • angelsomething@lemmy.one
    link
    fedilink
    arrow-up
    2
    ·
    9 months ago

    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.ukOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      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.

      • angelsomething@lemmy.one
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        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.ukOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          8 months ago

          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
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            8 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

        • smeg@feddit.ukOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 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!