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

Default user is "undefined" #26

Closed Skyleiger closed 3 years ago

Skyleiger commented 3 years ago

Hi, After a short desperation and a bit of debugging i found out that the user, if you don't specify it during setup, is not 0 but "undefined", so the displayed password is wrong. This is also the case if the user string is too long (or similar?).

Sincerely, Dominic

bytespider commented 3 years ago

Hi Dominic

I had discovered the undefined issue but had not committed the code as life got in the way. I've just published 1.0.10 to github and NPM if you want to try that

Skyleiger commented 3 years ago

Thank you, then that's settled. Don't forget to create a new release ;)

bytespider commented 3 years ago

@Skyleiger did the code work for you?