# Is MQTT more stable than the native Home Assistant integration

**URL:** <https://wled.discourse.group/t/is-mqtt-more-stable-than-the-native-home-assistant-integration/2164>\
**Category:** Issues\
**Created:** [January 25, 2021, 2:08pm UTC](https://wled.discourse.group/t/is-mqtt-more-stable-than-the-native-home-assistant-integration/2164 "2021-01-25T14:08:09Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![ICuddlesI](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/icuddlesi/32/1089_2.png) [@ICuddlesI](https://wled.discourse.group/u/ICuddlesI)\
**Post date:** [January 29, 2021, 11:14am UTC](https://wled.discourse.group/t/is-mqtt-more-stable-than-the-native-home-assistant-integration/2164/6 "2021-01-29T11:14:05Z")

</div>

Sorry, I don’t know if using mqtt will help. I use service calls in HA to control almost all attributes of wled integration and I have not had any issues yet, aside from the interference issue.

> [@Home Assistant and WLED Presets](https://wled.discourse.group/t/home-assistant-and-wled-presets/75/18):
>
> I’d like to add something since I’m not seeing it anywhere else. Doing this doesn’t require any custom cards. Just vanilla HA, HA helpers, HA automations and official wled integration. You can use the state of an input select helper or input select integration (in config.yaml) then add helper to a card in lovelace to easily change the effect. Helpers can be used via automations on all wled attribute states that are available with service calls. Also input select helper state can be…

Haven’t tried mqtt yet. I will probably do so soon though as I cannot set secondary or tertiary colors, or toggle either mirror effect or preset cycle/playlist via service calls. I know secondary and tertiary colors can be controlled using mqtt but I’m not sure about mirror effect and preset cycle/playlist. When I do try mqtt though I will try and see whether there is a difference.

Regarding the Wifi, my connection to wled device is not particularly great but it still works without issue.

 ![Capture-12](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/7/7b7040052f8395366e65ce97befd54c37ba2689a.png)  
Even the sync function between wled devices works correctly and they both have a fairly weak signal.

Your wemos d1 mini is very close to router so the cause shouldn’t be a bad Wifi connection. So maybe the problem is something completely different. Have you checked the HA log for any error messages after seeing the unexpected behavior? If there are that may give a clue as to what the issue is. Maybe try removing and re-adding the wled device on integrations page. Could be the DHCP on your router keeps issuing different IP addresses to the device for some reason. You can set a static IP in wled web ui. Or, if you prefer, set a reserved address for the device on the router itself.

Also you can take a look here if all else fails: [FAQ · Aircoookie/WLED Wiki · GitHub](https://github.com/Aircoookie/WLED/wiki/FAQ#led-issues)

---

_[View the full topic](https://wled.discourse.group/t/is-mqtt-more-stable-than-the-native-home-assistant-integration/2164)._
