MQTT problem with ? in password

27 views
Skip to first unread message

Robert_S

unread,
Sep 3, 2020, 6:11:53 PM9/3/20
to weewx-user
Hello all,

i want to push weewx messages via MQTT to node-red.
There are no problem when i disable authentication (which i dont want).
Unfortunately this does not work when using special characters (!?) in the password,
which is the case in our MQTT-Broker.

Error in weewx is: MQTT: Thread terminating. Reason: invalid literal for int() with base 10: 'password'

I was not able to escape the special characters, i tried
mqtt://user:"password!?"@
and mqtt://user:'password!?'@
or mqtt://user:password\!\?@

what am i doing wrong?
any hints?

best regards
Robert
Reply all
Reply to author
Forward
0 new messages