wez/govee2mqtt

Strange behaviour with Mosquitto Broker auth

Closed this issue · 1 comments

Govee Device SKU

H60A1

Govee2MQTT Version

2024.07.21-c9d27764

Describe the issue

I simply can not connect. Could it somehow not correctly specify user to mosquitto with govee2mqtt/aad0ed9c17a249af93fc72dcadf2dae5 (p2, c1, k120)?

Startup Diagnostics

This is with allow_anonymous false

1734142412: mosquitto version 2.0.20 running
1734142413: New connection from 192.168.50.134:60652 on port 1883.
1734142413: New client connected from 192.168.50.134:60652 as mqttjs_24c49e85 (p2, c1, k60, u'ring-mqtt').
1734142413: New connection from 192.168.50.130:56786 on port 1883.
1734142413: New client connected from 192.168.50.130:56786 as mqttjs_3830ab53 (p2, c1, k60, u'zigbee2mqtt').
1734142413: New connection from 192.168.50.145:46546 on port 1883.
1734142413: Client govee2mqtt/e48967efdfbf4722938a0abfc9a8515c disconnected, not authorised.

This is with allow_anonymous true

1734140916: mosquitto version 2.0.20 running
1734140916: New connection from 192.168.50.130:55624 on port 1883.
1734140916: New client connected from 192.168.50.130:55624 as mqttjs_3830ab53 (p2, c1, k60, u'zigbee2mqtt').
1734140916: New connection from 192.168.50.134:46864 on port 1883.
1734140916: New client connected from 192.168.50.134:46864 as mqttjs_24c49e85 (p2, c1, k60, u'ring-mqtt').
1734140917: New connection from 192.168.50.145:33852 on port 1883.
1734140917: New client connected from 192.168.50.145:33852 as govee2mqtt/aad0ed9c17a249af93fc72dcadf2dae5 (p2, c1, k120).
1734140926: New connection from 192.168.50.155:56145 on port 1883.
1734140926: New client connected from 192.168.50.155:56145 as 1kr4o9fnkyj8dZDnRHc3pn (p2, c1, k60, u'homeassistant').

Additional Logs

My mosquitto config is dead simple

persistence true
persistence_location /mosquitto/data
log_dest file /mosquitto/log/mosquitto.log
listener 1883

Authentication

allow_anonymous false
password_file /mosquitto/config/passwordfile

Home Assistant Logs

No response

Anything else?

No response

As usual, when you try to configure something in the night :)

Somebody forgot to uncomment :D
GOVEE_MQTT_USER
GOVEE_MQTT_PASSWOR