Ross Posted June 23, 2023 Posted June 23, 2023 I would like to turn a dial, then press a keypad button which would cause a variable to change based on where the dial is pointing (e.g., 1-100). My use case is: I have 100 (and growing) Sonos playlists. Currently, I can set a State Variable which runs a program to load/play that particular playlist. I have rigged a couple of keypads to have lettering similar to a phone. If I keypress S-U-R-F, the Beach Boys play. Keypressing J-A-Z-Z changes the variable accordingly. It works fine, but I have other ideas. So, I was thinking of some kind of dial. I'd appreciate your thoughts. Ross
MrBill Posted June 23, 2023 Posted June 23, 2023 Insteon's new i3 dimmer comes to mind. Cap the load wire and use it's status which should be 0-100. The problem is there's no way to know what "level" you've adjusted it too. I have no idea how to create a display that would update in real-time with that dial turning. 1
Ross Posted June 23, 2023 Author Posted June 23, 2023 @MrBill I saw the I3 which gave me this idea. However, I didn't think about capping the load wire as I know next to nothing about electricity. I'll get one and start tinkering. It doesn't have to look living-room-beautiful. I could put a pointer on the dial and create a thermometer-type display behind it. I was also thinking about an Arduino - I'm just not up to speed on how to set the variable from one. By the way, the pic is what I'm using now to change the variable based on pressing 4 buttons (I use the clear buttons). I just have to make sure my 4-letter codes for each playlist are all different. Thanks, Ross
larryllix Posted June 24, 2023 Posted June 24, 2023 (edited) My thoughts turn to an amazon echo where your combinations of selections have no limits. I used a KPL for a combination lock to operate security functions, and reset water alarms, re-enabling a well pump, a dishwasher, and a laundry washing machine, each on it's own code sequence. Edited June 24, 2023 by larryllix
EW1 Posted June 24, 2023 Posted June 24, 2023 Using all those keypad buttons seems like a lot of work. If you want wall-based vs. phone base control, perhaps just put an i-pad Mini on the wall with a Luxe port case and use the Sonos app. Then you can repurpose those buttons for your 12 favorite playlists or something else.
Ross Posted June 24, 2023 Author Posted June 24, 2023 2 hours ago, larryllix said: My thoughts turn to an amazon echo where your combinations of selections have no limits. I used a KPL for a combination lock to operate security functions, and reset water alarms, re-enabling a well pump, a dishwasher, and a laundry washing machine, each on it's own code sequence. @larryllix Larry, I should have given credit where it was due. I "sampled" your program to create mine. I tucked it away a few years ago and finally found a way to use it in my house. So, thank you! @EW1 Thanks for your suggestion. I'm an Android guy myself and I don't know the Apple stuff. And, I have issues with the Android tablets that seem to always need updating and whatnot. Pressing 4 buttons isn't that bad and it seems like "magic" to guests. Of course, so is Alexa - but I haven't gravitated to the spoken word yet. Ross
Recommended Posts