# Shelly integration & MQTT (via MacBook)

**URL:** <https://discourse.nodered.org/t/shelly-integration-mqtt-via-macbook/94672>\
**Category:** General\
**Tags:** mqtt, shelly\
**Created:** [16 January 2025 07:40 UTC](https://discourse.nodered.org/t/shelly-integration-mqtt-via-macbook/94672 "2025-01-16T07:40:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [16 January 2025 08:49 UTC](https://discourse.nodered.org/t/shelly-integration-mqtt-via-macbook/94672/2 "2025-01-16T08:49:17Z")

</div>

Seems your not able to connect to the mqtt broker  
mqtt2 has some security settings that are enabled by default, or your user and password are incorrect

have a look here for settings for mqtt config file.

> [@Connection to MQTT broker not possible](https://discourse.nodered.org/t/connection-to-mqtt-broker-not-possible/42455/5):
>
> What version of mosquitto do you have installed ? In your mosquitto.conf file add the lines below because by default the new version 2.0 doesnt allow remote connections by default. [Link](https://mosquitto.org/blog/2020/12/version-2-0-0-released/) allow\_anonymous true listener 1883

---

_[View the full topic](https://discourse.nodered.org/t/shelly-integration-mqtt-via-macbook/94672)._
