Publish and Subscribe MQTT messages over WebSocket
This post/video will show you how to publish and subscribe to the MQTT broker over the WebSocket protocol using the Javascript library mqtt.js. I am using a local Mosquitto MQTT broker in doing this project.
WriteUp:
https://www.donskytech.com/mqtt-over-websocket/
Code:
https://github.com/donskytech/mqtt-over-websockets
Live Server:
https://www.donskytech.com/visual-studio-code-live-server/
If you like my post or videos then please consider subscribing to my channels and sharing them with your friends:
Website: https://www.donskytech.com
Youtube: https://www.youtube.com/c/DonskyTech
Facebook: https://www.facebook.com/DonskyTech
Twitter: https://twitter.com/DonskyTech
If you are generous and think I have helped you, please consider buying me a coffee. 🙂
Buy Me a Coffee:
https://buymeacoffee.com/donskytech
#mqtt
#mosquitto
#mqttjs
#websocket
#mqttjavascriptclient
Comments are closed.