Im trying to use the MQTT broker on my emonpi but am having trouble connecting. I can connect using the default credentials (emonpi emonpimqtt2016) but nothing else.
I’ve tried adding users and passwords to the correct password file but they get ‘not authorised’ messages when they try to connect and I’ve tried setting allow anonymous to True in the config but still, the only connection that can be made is the one using the default credentials.
I’m wanting to connect several arduino devices to the broker and assume (possibly incorrectly) that if all of them log in with the same credentials, something is going to go wrong somewhere…
Anyone know how I can
A) allow other users or even anonymous connections to the broker
B) configure it so that I don’t have to create a new user for each new device I want to connect to the broker