November 27, 2020
Description
I took the idea of the Media control volume knob by Mikolas Zuza and added an ESP32 with an 1100 mAh battery to dim my lights over wifi.
I also used a rotary encoder, but instead of an Arduino, I added an ESP32 Wemos LoLin32 Lite and a 1100mAh Lipo battery.
To save the battery life, I send the ESP32 into a deep sleep until the knob gets pressed. On rotation, the current value is sent via wifi as a UDP packet into the network to my home automation server (loxone). After a few seconds without value change, the ESP goes back to deep sleep.
I also added the blender file, so feel free to adjust it to your needs.
If you're interested in my project, I can share it as well, but I would need to document it better. It contains multiple ESP32 projects, and it's not finished yet. https://github.com/Lillifee/espbs
License:
Creative Commons — Public Domain
9