mybura / stac2mqtt

Smart Things AC to MQTT service
MIT License
0 stars 0 forks source link

Matt user & pass #1

Open tampiss opened 2 weeks ago

tampiss commented 2 weeks ago

Hi, any chance to add mqtt user and pass as optional envs? Best, M

mybura commented 2 weeks ago

If you would be so kind to be the tester (note the double underscores).

Try:

--env MqttUsername=someuser --env MqttPassword=Password1

tampiss commented 2 weeks ago

Hi, I have tried yet the response from my broker is:

2024-08-29 16:05:49: New connection from 10.78.80.106:40284 on port 1883. error: received null username or password for unpwd check 2024-08-29 16:05:49: Client 097108fc39bf4ddfbc0cfd84991eb8b6 disconnected, not authorised.

Even though I have those new envs set correctly.. I guess the issue may be somehow with the docker image as I still use the old one? Maybe? I have tried to pull the latest, but not sure if that is enough or I should somehow use / build mage form here..

M

mybura commented 2 weeks ago

Yip, hadn't pushed to Docker but did it now. Suppose get latest docker will work now.