Learn to use MQTT and Javascript together, and wire Raspberry Pi up to make a connected switch.
- Presentation slides
- Client code and extensive documentation
- Publish MQTT using Javascript (node.js)
- Browser Javascript to display MQTT data
- Server Javascript to talk to electrical devices
Older rpi-hw-js-demo (c. 2016)
A previous Raspberry Pi RGB LED demonstration