question

wolferl avatar image
wolferl asked

connect to flashMQ via python fails

Hi all
I use the MQTT broker in VenusOS to share some values from my KAIFA energy meter. This worked well as long as mosquitto was the broker. Since flashMQ is the broker, I get an error message indicating, that the connection was refused. The error message is issued to my python client. The error message is MQTT_CONNECT_REFUSED_NOT_AUTHORIZED

If I connect with MQTT Explorer everything works fine, also without credentials. Is there a special authorisation needed to connect to the broker?

I had also a look at https://github.com/victronenergy/dbus-flashmq, but could not find anything helping me...


Update:

found the error, it was s stupid type when changing the port. a space too much...

MQTT
1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

kevgermany avatar image kevgermany ♦♦ commented ·

@Wolferl

Moved to modifications space, the MQTT experts are there.

0 Likes 0 ·
1 Answer
mvader (Victron Energy) avatar image
mvader (Victron Energy) answered ·

Solved, typo - thanks for updating and good it works

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources