Skip to content

Dual Home Assistant setups causes WLEDs devices to go down #4527

@Johboh

Description

@Johboh

What happened?

I have four devices running WLED 0.15. Three of these are ESP32-S2, and one is a ESP8266.
I mainly control these using Home Assistant and the WLED integration.
I have had this setup for years and it has been working well.

Recently, I have been elaborating with running a second Home Assistant instance on a separate server, this is to provide a backup/fallback/redundancy if the main Home Assistant goes down (or is down for maintenance). The second instance does not run any (main) automations, it just provide an UI with all the lights to control (Ikea, shelly etc), including WLED using the WLED integration (and also run motion sensor automations if the primary device is down, but no automations that controls the WLEDs).

But once I started with second setup, randomly and sometimes within hours or after 24h+, some of the WLEDs become unresponsive, and they are no longer accessible via web. They have to be power cycled to be restored, and after that they run fine until it happens again. This occur on both the ESP32-S2 devices as well as the ESP8266 device.

I know this setup is not the ordinary one. I do would like to know what is causing this and if there is anything that can be solved. If there is any logs or other information needed, let me know!

Home Assistant 2025.1.0
WLED 0.15.0

To Reproduce Bug

On two different servers/devices/computers, add WLED devices using the WLED integration. Then wait. Notice that some devices will become unavailable eventually.

Expected Behavior

Devices that keeps running in the same way when there is only one Home Assistant instance.

Install Method

Binary from WLED.me

What version of WLED?

0.15.0

Which microcontroller/board are you seeing the problem on?

ESP32-S2

Relevant log/trace output

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions