albertogeniola / Custom-Meross-Pairer

Android APP that allows pairing Meross Devices with third party MQTT brokers
GNU General Public License v2.0
62 stars 5 forks source link

MQTT User name #6

Closed erte1 closed 2 years ago

erte1 commented 3 years ago

Hello! Does this config allow you to use a custom username when logging into the MQTT host? A result of the other pairing tools I've seen keep the username as the mac address. This causes issues with login as HA MQTT 6.0 has a bug where it does not accept special characters in the username.

albertogeniola commented 3 years ago

Hi @erte1 , No it won't, as any other pairing tool. The username is filled in by the hardware device with its Mac address when it initiates the connection to the mqtt server that the pairing app sends to the hardware device. In other words, you should flash/hack the firmware of the hardware device to accomplish that.

Don't watery though: I am working on a custom addon with integrated mqtt server for HA which will work smoothly ;)