JIM could you please help me set up the Piston for Volume of 45%, that is the actual volume I want. The problem is I have two speakers I need to do this for, with two IP addresses.
Joel, Iâm on my way out of town for a couple days. If you can wait until Thursday Iâll be happy to help.
You can take that command I sent and execute it right from your browser. For 45% you would set the value at 15.
Yes I can wait. Thanks.
Joel,
Tell me exactly what you want to do with the piston.
Set the volume on 2 speakers at 45%, but is that based on some trigger or other event?
Do you want the volume to go back down on some other event? And if so what value?
Welcome back! I want to set the volume on both speakers to 45% and the trigger will be either of the two speakers dropping below 45%. Is that doable? Volume will always be set to 45%.
Yeah, I got back a day early. Job went faster than anticipated.
You should be able to import the following piston. Not sure if the web commands are going to show up corretly when you import. So if they donât here are the 2 strings to replace them with. You will have to replace the 2 devices in the IF part with your 2 speakers. Also put in your speaker IP addressâs where I have noted speaker1ip and speaker2ip.
http://speaker1ip:55001/UIC?cmd=<name>SetVolume</name><p%20type="dec"%20name="Volume"%20val="15"/>
http://speaker2ip:55001/UIC?cmd=<name>SetVolume</name><p%20type="dec"%20name="Volume"%20val="15"/>
Itâs really pretty simple. Just use an IF to look at either of your speaker levels dropping below 45. Then do a web request to both of them using the commands shown. It doesnât hurt to update both even if only 1 dropped low.
Hope all this makes sense.
Does this look correct? Thank you. Also since my network wonât allow static IP, I will have to change the Piston when either of my routers resets.
As near as i can tell. Unfortunaltely the import doesnât show the entier web command. So I canât tell for sure you got it right. But just see if it works.
Most all routers have the ability to manually set a fixed IP for a certain device. There should be a place to enter a table, usually under the LAN or DHCP settings. Then you select the device and tell it to always assign the same IP to that device.
After you posted that I took a look and then pasted the two lines you gave me into the screenshot below. Also the router problem is this. I have Verizon FIOS, and there wifi router is just junk. So I use two Apple Airport Extreme base stations. The first is in Bridge Mode, and the second is set to extend the network. Bridge mode doesnât allow changing the IP for a device. Plus one speaker is on the first router and the second is on the extender. Which also doesnât allow IP for single device. I had to do Bridge Mode or I would receive double NAT errors.
It looks ok. Again, just give it a test and see what happens. I have noticed that if you go to the speaker in the St app it takes a while for the actual volume display to update. So give it time to be sure.
I am not familiar with the FIOS system. But something has to be doing the DHCP address assignment. I would assume your FIOS modem/router(?) would be the main control there. And if you can get into the settings on that unit there should be a way to manually assign IP addressâs. If not, everytime your unit is powered off or reset for some reason you may get different IP addressâs which would mean you would have to edit the piston.
Yes if I turn on the WiFi in the FIOS router I could change an IP. But the big problem remains is the double NAT. Also the signal from that WiFi would not pickup the speaker in the other end of the house. So I am stuck changing the IP in the Piston. But the good thing is my two Apple routers havenât reset in 6 months, according to LAN Scan. Also even if the Internet goes down on the FIOS router, my Airports are on UPS units. So I never loose local network. Well I would after three hours, on UPS. Thanks again, I will test this out. Hopefully ST will fix the problem.
i wanted to say thanks Jim for your huge piston further above, i donât know how you did it but it works! i created 3 virtual devices like you said to control the 3 speakers. i have some of the first generation Samsung multiroom speakers, the Shape ones, and until your piston, i couldnât automate the volume control via WebCore and previously CoRe, it was such a pain to have to remember each night to independently lower the volume of these âsmartâ speakers so they donât come on full blast in the morning. Youâre right, the speakers take about 15 seconds in the ST app to update their volume. i dont mind that the vice-versa doesnât work, the virtual switches donât update, because i only use them for automation. Thanks again, great job.
I canât take all the credit. Thanks to Gutheinz for giving me the web commands. Thatâs what made it all possible.
Glad I was able to help.
I hope this works as this DTH is very unstable, The slider creep is annoying.
Hi, it looks like this method works. I had to reduce the number from 15 to 12 which gives me 39% volume. I wanted 40 but close enough. So far one day volume creep is gone. Thanks. Will keep watching. Jim, I also added the line if the speakers go above 40 to run the Piston. Is that OK?
I would put an âorâ instead of an âandâ because it will be looking for both scenarios to take place at the same time (is my thinking).
Thank you one of these days I will get a hand on WebCoRE. Did the change.
Hello, Iâm new here.
I bought an R1 Speaker and I canât connect it to the hub. I was able to connect it to the multiroom app but not on the hub. It is not part of the list of speakers.
Any advice is much appreciated
I installed them by going in the SmartThings app to Marketplace then Things then Speakers and choose Samsung Multiroom speakers. They connected with no problem. I have two setup.
Thank you. I got it connected!
Iâm wondering if I can have it play music via alexa or Google home or IFTTT.
I got it to say a message when door is opened.



