Using React.js to control the brightness of the ESP8266 onboard led, in this case, with Google Protocol Buffers over MQTT.
Also see React JSON MQTT Potentiometer
- WIFI Development Board ESP8266 ESP-12E
- React documentation Here.
- Google Protocol Buffers JS Here
- Nanopb - Protocol Buffers for Embedded Systems Here
- PubSubClient - Arduino Client for MQTTHere.
npm packages
$ cd react_app
$ npm install
$ npm start
Open the arduino sketch (Arduino IDE)
You will need to install the following Arduino libraries.