Today, we'll dive into an intriguing project conceived and coded by GitHub user adamaze. It's a nifty, hands-on volume knob for every media entity within Home Assistant. As this invention leans on ESPHome, it slots into Home Assistant without a hitch, enabling you to manipulate the sound levels of any media gadget linked to Home Assistant.
As mentioned, this project's casing will be crafted using a 3D printer, thanks to adamaze, who has generously provided the .stl files in his GitHub repositoryy. The first task is to get the rotary encoder attached to the ESP8266 board. This will require four wires in total – two for the rotary encoder, one for the button, and one for ground. Once that's done, this piece can be fitted onto the case's lid. The D1 mini ESP8266 board will comfortably nestle in the lower section of the case, drawing power from the Micro-USB input.