hobbyquaker / unifi2mqtt

Connect Ubiquiti UniFi controller to MQTT :satellite:
MIT License
74 stars 27 forks source link

Empty ssid #8

Open stas-dovgodko opened 6 years ago

stas-dovgodko commented 6 years ago

Sometimes no ssid messages happend.

My unifi has 2 ssid's (stas, iot) but sometimes event if I'm sure that device connected to stas ssid message published with unifi/status/wifi//event/connected topic

chrispi68 commented 6 years ago

Same problem here.

PianSom commented 6 years ago

I installed yesterday, and am also seeing this behaviour for certain wifi clients. Reconnecting them using the Unifi controller appears to resolve the issue.

I also get the same message format ie including //, for wired clients.

Also, I occasionally get a MQTT posting missing a client name, e.g.

unifi/status/wifi/<MY_SSID>/client/ {"val":true,"mac":"8c:85:90:XX:XX:XX","ts":1531027873170}

(This latter is not consistent behaviour; sometimes the same client will give a properly formatted MQTT publication.)