i've using the same code, and show me a error "mqttws31.js:141 Uncaught Error: Unknown property, passwordId. Valid properties are: timeout userName password willMessage keepAliveInterval cleanSession useSSL invocationContext onSuccess onFailure hosts ports mqttVersion mqttVersionExplicit uris at d (mqttws31.js:141:12) at M.connect (mqttws31.js:1705:4) at startConnect (demo.js:18:12) at HTMLInputElement.onclick (index.html:24:74)"
Great content ever on MQTT scope, thank you so much bro. I hope this channel will bigger in the future.
Thank you:)
nice job dude u just saved my ass
Very helpful, Thank You!
Glad it was helpful!
Works great, thank you...
Great to hear!
It seems it does not run function:
client.connect({
onSuccess: onConnect
});
Thanks
Welcome
i followed your step and i get an error about trying to conect to the insecure websocket endpoint
You can integrate in project Google home?
This helped me alot... thanks
i've using the same code, and show me a error "mqttws31.js:141 Uncaught Error: Unknown property, passwordId. Valid properties are: timeout userName password willMessage keepAliveInterval cleanSession useSSL invocationContext onSuccess onFailure hosts ports mqttVersion mqttVersionExplicit uris
at d (mqttws31.js:141:12)
at M.connect (mqttws31.js:1705:4)
at startConnect (demo.js:18:12)
at HTMLInputElement.onclick (index.html:24:74)"
Change the js file, where it says 'passwordID' you need to change it to just 'password'.
use only password instead of passwordId in code