Trying not to have my phone by my side constantly, but wanting access simple to Sonos player controls, I started looking for a hardware button that I could use to play/pause my Sonos, and turn the volume up/down. Just something to sit on my desk, nothing fancy, something simple and functional. A one (maybe two) trick pony.
I found Home assistant and Puck.JS and EspruinoHub. Combined, it did the trick. I can sit at my desk, push the puck button one to play/pause, long press to raise the volume, and two short presses to lower the volume.
Note - I am a novice at this so any comments/suggestions welcome.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Trying not to have my phone by my side constantly, but wanting access simple to Sonos player controls, I started looking for a hardware button that I could use to play/pause my Sonos, and turn the volume up/down. Just something to sit on my desk, nothing fancy, something simple and functional. A one (maybe two) trick pony.
I found Home assistant and Puck.JS and EspruinoHub. Combined, it did the trick. I can sit at my desk, push the puck button one to play/pause, long press to raise the volume, and two short presses to lower the volume.
Note - I am a novice at this so any comments/suggestions welcome.
Read my posting on the Home Assistant website
https://community.home-assistant.io/t/control-sonos-player-with-puck-js-hardware-button/391110
And thanks Gordon for your patience with me on this journey.
-Katherine