jimpastos / wink-relay-manager

Manage Wink Relay's native sensors and publish to MQTT
46 stars 24 forks source link

MQTT not taking ClientID #14

Closed nowjon closed 3 years ago

nowjon commented 3 years ago

Heyo, just followed the guide here

My issue is in Home Assistant it connects to the MQTT broker as a random address, see the below log.

1619754058: New client connected from 172.30.32.1 as auto-5B663194-EB4B-5F8D-54E2-A5FC24BF10B0 (p2, c1, k60, u'homeassistant'). 1619754058: Client auto-5B663194-EB4B-5F8D-54E2-A5FC24BF10B0 disconnected. 1619754058: New connection from 172.30.32.1 on port 1883. 1619754058: New client connected from 172.30.32.1 as 5KO2tMIWhFRGM5LsENYPt0 (p2, c1, k60, u'homeassistant'). 1619754818: Socket error on client 5KO2tMIWhFRGM5LsENYPt0, disconnecting. 1619754826: New connection from 172.30.32.1 on port 1883. [22:53:46] INFO: [INFO] found homeassistant on local database 1619754826: New client connected from 172.30.32.1 as 5gdLUczi95pPVZd0sk9Wr4 (p2, c1, k60, u'homeassistant'). 1619755352: Saving in-memory database to /data/mosquitto.db. 1619755489: Socket error on client 5gdLUczi95pPVZd0sk9Wr4, disconnecting. 1619755497: New connection from 172.30.32.1 on port 1883. [23:04:57] INFO: [INFO] found homeassistant on local database 1619755497: New client connected from 172.30.32.1 as 1YJNpFArLtpkHDcK3NAr2m (p2, c1, k60, u'homeassistant').

Anyone else notice this? I've re-uploaded the same wink_manager.ini and no change, I've included the info from that file below.

mqtt_clientid=OfficeRelay mqtt_topic_prefix=OfficeRelay mqtt_address=tcp://(REDACTED):1883 screen_timeout=20 proximity_threshold=5000 hide_status_bar=true relay_upper_flags=3 relay_lower_flags=3 send_proximity_trigger=false send_screen_state=false mqtt_username=mqtt mqtt_password=(REDACTED)

nowjon commented 3 years ago

Actually this is not communicating at all as that is the Home Assistant integration connecting. Will be re-trying all steps and will create a new case if needed.