# Cannot access Home Assistant local link

**URL:** <https://wled.discourse.group/t/cannot-access-home-assistant-local-link/10332>\
**Category:** Issues\
**Created:** [December 13, 2023, 10:58pm UTC](https://wled.discourse.group/t/cannot-access-home-assistant-local-link/10332 "2023-12-13T22:58:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![manoo](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/manoo/32/6618_2.png) [@manoo](https://wled.discourse.group/u/manoo)\
**Post date:** [December 13, 2023, 10:58pm UTC](https://wled.discourse.group/t/cannot-access-home-assistant-local-link/10332/1 "2023-12-13T22:58:53Z")

</div>

Hi everyone,  
I have the following problem.  
I have an ESP32 Devkit C V3 as a controller.  
I have flashed WLED there. Everything is working. I can access the UI and control the LEDS. Only the link to the Home Assistant does not work at all “Website not available”.

After a lot of googling I have not found a solution to the problem. That’s why I’m posting here.

Btw. what I would like to achieve is to use an HC-SR501 PIR (motion sensor) and the ESP32 to switch the LEDS on when there is movement and switch them off again after a short time (timeout). I think this is easy to implement with Home Assistant. Or is there another possibility without Home Assistant? I have looked at some instructions, but they don’t really help me. I would be grateful for any help and suggestions.

Regards,  
Manuel

---

<div class="post-metadata">

**Author:** ![ALDIY](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/aldiy/32/2716_2.png) [@ALDIY](https://wled.discourse.group/u/ALDIY)\
**Post date:** [December 14, 2023, 12:24am UTC](https://wled.discourse.group/t/cannot-access-home-assistant-local-link/10332/2 "2023-12-14T00:24:40Z")

</div>

You can use PIR with wled without HA , just setup the same in led preference page  
 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/d/dd02bfaf693bb950d64e97d52532ad9be6f7b6f7.png)

For HA stuff , hard to say without details but make sure that your wled units and your HA are on the same network sub net , if your wled and HA are using the same wifi and you have one network then should be straight forward , to verify lookup the ip of wled and the ip of HA or ping wled from within HA terminal , else provide more details

---

<div class="post-metadata">

**Author:** ![manoo](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/manoo/32/6618_2.png) [@manoo](https://wled.discourse.group/u/manoo)\
**Post date:** [December 14, 2023, 3:55pm UTC](https://wled.discourse.group/t/cannot-access-home-assistant-local-link/10332/3 "2023-12-14T15:55:35Z")

</div>

Thank you very much for your answer. Then I was already on the right track.

Okay, I’ll just leave HA out. I don’t need it.  
Where can I now say what the sensor should do or is the function already integrated? Do I need a user mod or is that not necessary?

Regards,  
Manuel

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [December 14, 2023, 5:42pm UTC](https://wled.discourse.group/t/cannot-access-home-assistant-local-link/10332/4 "2023-12-14T17:42:02Z")

</div>

If you have a Preset and/or Playlist that does what you want, you can assign the sensor to fire that item under Config-\>Time&Macros:

![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/5/5e4549a1b9516d0cd4706f40da48cd33fbbbdf8c.png)

---

<div class="post-metadata">

**Author:** ![manoo](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/manoo/32/6618_2.png) [@manoo](https://wled.discourse.group/u/manoo)\
**Post date:** [December 14, 2023, 11:29pm UTC](https://wled.discourse.group/t/cannot-access-home-assistant-local-link/10332/5 "2023-12-14T23:29:06Z")

</div>

thank you very much. It works fine 🙂
