![]() ![]() I get at least 10 hours of battery life, maybe more. If the display is sleeping pushing the select button shows what is playing. 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. I'll add more detail when I have time but the video below shows how it works. 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. Using most of the same code as the wallbox, I made a battery powered portable volume control for my sonos system. What I wish the dimmer did have was double tap actions so if you press a button twice quickly a different command runs, but its not something the remote supports natively, though programatically you could probably do something, with delays and sometimes only registering one click if you do it too quickly it would be frustrating.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. In my case, since I also wanted Next Track/Prev Track I have them mapped to volume up and down hold/long press as they are the only buttons that support a hold action (I would have preferred them on button 1/4 personally) It is more precise though.īutton 2 and 3 can have Hold (or long press) actions as well and Ive seem some code here on the forum that would allow you to simulate holding down an IR remote button so it repeats until button is released but on its own, but the dimmer itself doesn't actually send the same command repeating multple times until its released like an IR remote would. You have to push button 2 or 3 multiple times to move the volume up or down a lot. Then 2 and 3 are volume up and down but what I mean by smooth is each button push is just a single step. In my case I am using it with the Amp so button 1 is play/pause (Sonos itself has a toggle action). The trigger side looks to be fairly obvious but on the action side the sonos integration only has a volume up action.Īnd then potentially more advance stuff like double click play/pause to be next track. Fairly easy to do for single presses I'm just wondering how to simulate press and hold to gradually increase or decrease volume in a smooth fashion much like dimming a light. In terms of the other buttons I will likely do simple commands like play/pause toggle, and the dimmer buttons as volume +/- which have direct actions in the sonos integration. ![]() Now just waiting to get the dimmer, this should work well for my needs. it took me much longer than it should have to notice that. then realised I needed to put the button number in the text field as well as push the push action. The rule action was running correctly when testing the action from RM but when I was testing the virtual button I kept pushing the push action and nothing was happening. I installed a virtual button device and created a rule in RM4 that starts playing line-in via the Sonos integration and tied this to the virtual button. I tried to install Button Controller -its deprecated. Ive installed the official hubitat sonos integration app and know how to get linein via one of its parameters i just dont know to map it to a button I havent done much with my hubitat but how would i map actions to button presses on a remote. I really only need a single buton press so the cheapest zigbee/zwave button would work but the 4 button hue dimmer might give me more funtionality and us relatively cheap. This has me looking a programatic way to do it. There are a few Sonos specific remotes available but they are pricey (lutron pico audio, iport xpress) the ikea symfonisk remote would be perfect as i have the ikea tradfri gw already but i dont think i can activate line in with it (or favorites which i can map to linein) like the other two remotes. ![]() However i would like a hardware way to switch to linein without having to have a phone or app handy. Ive been having trouble with the autoplay on line in with my turntable and am going to turn it off. Not sure if its possible or not, but I would like to control my Sonos Amp with the hue dimmer remote. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |