bytespider / Meross

Investigating the Meross/Refoss MSS310 Smart Plug and getting these devices to communicate with our private MQTT brokers
113 stars 19 forks source link

Mqtt not allow Mac address as username #32

Closed Ostepanov closed 3 years ago

Ostepanov commented 3 years ago

Hello. Right now it's impossible to use meross devices with mqtt broker, because mqtt does not allow ":" symbol in usernames, and meross devices uses their mac address as username. Double quotes username as you re doesn't work neither :(

https://mosquitto.org/man/mosquitto_passwd-1.html

bytespider commented 3 years ago

This is true of vanilla Mosquito, however there is a plugin which allows you to use other forms and database backings that do not have this limitation.

For a while Home Assistant also didn't have a problem, however since 6.0.0 https://github.com/home-assistant/addons/issues/2014 it has been nonfunctional also.