Just as an update. I managed to fix my own problem by editing mqtt.py and
making the following changes.
The line 405 of code (version 0.18 )that reads:
mc = mqtt.Client()
was changed to
mc = mqtt.Client("weewxmqtt")
I just used weewxmqtt as my client_id but you can use whatever you like.
Now Mosquitto is happy and everything is working,
On Tuesday, 5 March 2019 07:36:18 UTC+8, StefB wrote:
>
> Hi all,
>
>
> I'm using the Mosquitto (v4) addon in Hassio.
>
>
> I'm getting the following problem connecting to my MQTT server:
> ACL denying access to client with dangerous client id "paho/xxxxxxxxxxxx"
>
>
> From my research, this is caused by the "/" in the client id which
> Mosquitto flags as invalid or dangerous. I need a way to manually assign a
> clientid so I can give it a valid one or somehow remove the "/ " from the
> auto generated id. Anyone knows if this is possible?
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.