Introducing the Wifi Remote Controller with four dual-function buttons.
Schematics

Features
The Wifi Remote Controller is equipped with the following features:
- Four Dual-Function Buttons: Each button on the remote can perform two distinct actions, depending on whether it’s a short or long press. This dual functionality increases the remote’s capabilities without overcrowding it with buttons.
- Initialization: On power-on, the sensor sends a GET request to a hue bridge, such as
http://{bridgeIP}/switch?mac=xx:xx:xx:xx:xx:xx&devicetype=ZLLSwitch. The bridge checks the MAC address to determine if the switch is already registered. If not, it registers the device, making it available for configuration in the Hue application. - Energy Efficiency: After 3-5 seconds, the ESP8266 enters deep sleep mode, consuming less than 20uA. This is essential for battery longevity.
- Button Press Functionality: Each button press sends a brief negative pulse to the ESP8266’s RST pin, waking up the device. It then reads the input pins to determine which button has been pressed, sending a request like
http://{bridgeIP}/switch?mac=xx:xx:xx:xx:xx:xx&button=1000. The bridge processes all rules and executes the configured action for that button.
A Closer Look at the Remote
Here’s a visual overview of the remote controller, as its proof of concept, its not a pretty sight.
Top View

Back View

Top Rotated 180 Degrees

Buy Me a Coffee