Samsung Radiant R1 running native in SmartThings

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

1 Like

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.