Lighting control using the Cayenne Dashboard Button or using the button.
Code
Arduino UNO + W5100 + Button + LED
Cayenne-Light-Control.txt (794 Bytes)
ESP8266 + Button + LED “As Arduino”
Cayenne-ESP8266-Light_Control.txt (1.1 KB)
MQTT + ESP8266 + Button + LED
Cayenne-MQTT-ESP8266-Light_Control.txt (1.4 KB)
Video (Play in Full HD.)
https://www.youtube.com/watch?v=itoUdpmXqqE
Hackster io
https://www.hackster.io/TAD2000/lighting-control-7b37f5