A one button DIY Philips Hue Remote for an ESP32, tested with DFRobot FireBeetle ESP32.
Works over Wifi by calling the Hue API and has the following functionality:
- Single press toggles the lights on / off
- Double press cycles through scenes
- Long press dims and then brightens
The branch 'with-sonos' has some Sonos integration for a short disco mode, as seen in this video
Connect an LED with resistor to 26 and ground
Connect a push button to 27 and ground
Modify Config.h for your Wifi and Hue setup.
It is worth reading the Hue Getting Started Guide before trying to get this script up and running