It's a real pain to have to unlock your phone or ipad just to change the volume of what ever you are listening to. Using most of the same code as the wallbox, I made a battery powered portable volume control for my sonos system. It uses the new PI Zero with built in wifi, a 2500ma battery, 1000 ma powersupply / charger, Adafruit 2 line LCD display, a button, and a rotary encoder with a push button and built in LED lights.
I'll add more detail when I have time but the video below shows how it works. The rotary encoder changes the volume, it also changes colour to show if the selected zone is playing, pushing the encoder button pauses or plays the selected zone, and the black pushbutton cycles through the zones. If the display is sleeping pushing the select button shows what is playing.
I get at least 10 hours of battery life, maybe more... I charge it up every few days.
Sounds kinda silly but I carry this thing around the house with me all the time to change the volume, mute, or just to see what is playing. I have literally saved minutes of time wasted unlocking my iphone and navigating to the Sonos app just to change the volume :-) (of course that's not including the 20 hours or so it took me to make it and write the code)
The code is fully oop based, unlike the wallbox - which I am re-writing
The code for the volume control is also in the wallbox repository on GitHub. Documentation is in docstrings.
Code Documentation, so far: