Internet Radio - I need your help!

@Udo_Hartmann @hotte37 @openschwall @paulo9999 @FrankR @HFM @gravidigit: I added your radios to the discovery service in this pull request: https://github.com/eclipse/smarthome/pull/5130

Please note that you are still able to use your radio by manually adding it.

@emme-oh @a.alakszai : Sorry, I did not yet check whether it is possible to use a FS internet radio as audio sink.

1 Like

Hi @emme-oh,

you can plug your openHAB system to aux (which you can switch from the binding) and then use it.
I do this with a multiroom system and some very dirty hacks.

Bye
HFM

1 Like

Technisat DigitRadio 580

deviceType: urn:schemas-upnp-org:device:MediaRenderer:1
friendlyName: DigitRadio580
manufacturer: TechniSat
manufacturerURL: www.technisat.de
modelDescription: Internet/DAB/FM Digital Radio with CD,Bluetooth and Spotify connect
modelName: DigitRadio580
modelNumber: DigitRadio580
modelURL: www.technisat.com
UDN: uuid:3DCC7100-F76C-11DD-87AF-0022619D8708
presentationURL: /web
pnpx:X_hardwareId: VEN_2A2D&DEV_0001&SUBSYS_0001&REV_01 VEN_0033&DEV_0006&REV_01

Radio Mode values:
0 - internet radio;
1 - Spotify;
2 - (not used);
3 - music player;
4 - dab radio;
5 - fm radio;
6 - aux.
7 - CD
8 - Bluetooth

@HFM Thank you for the tip.

My Raspberry, with Openhab2 running, is placed quite far from my internet radio, so connect them with a new audio cable would not be that easy, but before I had’t thought about this possibility.

If FS internet radio could work as audio sink in the Openhab2 system would be definitely much better because, as I understand, in that case no further connection (more the normal LAN or WLAN connection) is needed.

But, thank you, if I’ll manage to move the Raspberry close to the internet radio I’ll have at least one clear way to start to use Openhab2’s audio functions.

Bye.

Ok. I would advise to open a new topic. Then the audio experts see your question.

New to Openhab I am trying my available devices out; my Block receiver CVR100 has the Frontier Silicon chipset so with good hope I started to add the binding/things in the paperui.

My first thing attempt failed missirable “OFFLINE - COMMUNICATION_ERROR”
I checked command “http:///fsapi/CREATE_SESSION?pin=1234” in my browser. Noticed that not all browsers gives a clear response and best to use was chrome.
But this command returned a 404. Not working??? :rage:.

Not satisfied with this result I scanned the open ports of the IP-address of the server,
One of them was port 2244.

Changed the thing-settings into port 2244 and voila it worked.
(and yes I should have read this complete post!)

Added the example items and sitemap with modeate changes and it worked!
Not everything is working yet like “volume” but the starting point is great!!!
Thanks for this binding guys things like this makes life easy for a newby like me.

UPnP - Details

Description: ir-mmi-FS2026-0200-0201_V2.2.15.EX45884-1A6
DeviceType: urn:schemas-upnp-org:device:MediaRenderer:1
FriendlyName: Block CVR100
Manufacturer: Frontier Silicon Ltd
ManufacturerUrl: http://www.frontier-silicon.com/
ModelName: Jupiter
ModelNumber: 6.2
ModelURL: http://www.frontier-silicon.com/
PresentationUrl: http://192.168.0.203/web
SerialNumber: 0b05080c02241f2701005d01ffff36ff
UDN: uuid:3dcc7100-f76c-11dd-87af-002261a917ae

and the Radio Mode values are:
0 - internet radio
1 - musik player
2 - dab
3 - fm
4 - drm

So far observations (no real problems):

  • device has no NFC support
  • when with device remote in standby, openhab cannot start device
  • when openhab’s “radio power” is set to “OFF” date/time is displayed
  • not everything is working like volume, need to invest a bit more time

At the moment I feel too much of a newby to update this article.
But my proposal for change would be also:

"http://<radio-ip>:80/fsapi/CREATE_SESSION?pin=1234"
Please check the open ports of your device if the default port 80 is not working.

So I will end with my a question to confirm my newbe status :smiley: :
What is in the paperui-settings the value location doing (or will be this value picked up when the CVR100 is recognised in the thing settings)?

I have Hama radio, which works fine with this binding. But I can’t figure out, how to control playback (play/pause, next track), when using USB stick as a source?

Maybe this will be useful for someone:

  • in http://www.wifiradio-frontier.com/setupapp/fs/asp/AuthLogin/SignIn.asp you can define your own radio station (=openhab box) and push it to your radio. This station could be assigned to preset, which could be controlled from OH2 later.
  • and then use streaming server (i.e. mpd) on openhab box to stream audio
  • probably you could route OH2 sink to mpd and have FS radio as OH2 audio sink (to be tested. any ideas how to route audio internally?)

Good evening folks,
I am trying to connect to my Sangean WFR-28D with the FS Internet Radio Binding without success. I need your help since I don’t know why it is not working.

I connected my Hama IR320 which is in the same network as the Sangean radio without any issues. So I know my setup looks good so far.

From the outside look it is similar to the Sangean WFR-28C so I thought let’s give it a try. Also the displayed texts are similar to the Hama IR320 ones.

The manual mentions following paragraph:

Network Pin setup (Pin number)

Your radio has the option of being controlled by an application installed on an Apple iPhone, iPod

touch or iPod. The Pin number facility allows you to ensure that your radio can only be controlled by

your own Apple device rather than someone else’s.

Details of how this feature can be used with your iPhone or iPod touch are explained in the separate

section in this manual called ‘Using iSangean app for controlling your WFR-28 internet radio’.

But when i try to connect with http://192.168.178.121/fsapi/CREATE_SESSION?pin=0000 I also tried 1234, but i set it to 0000 in the radio menu. This also makes me think I am on the right way. I don’t recieve anything. I tried that with the browser and also with the curl command. No reply.

My radio.things looks like this:

fsinternetradio:radio:radioInLivingroom [ ip="192.168.178.121", pin="0000" ]
fsinternetradio:radio:radioInKitchen [ ip="192.168.178.122" ]

Please help me! Thanks in advance :slight_smile:

Maybe your radio uses a different port (see post from March 14)? You could try: http://192.168.178.121:2244/fsapi/CREATE_SESSION?pin=0000
Or use a port scanner to check which port is open at your device.

Hey Patrick,

Thank you so much for your help! The port 2244 was the key. Now everything works as expected! Now I can confirm that Sangean WFR-28D will work with 2244 as a default port!
I cannot wait to program my new alarm clock :wink:
Thank you so much again.

I really appreciate this community. Never saw such a helpful one.
Cheers
Clemens

Hi

I have an old Roberts Revival iStream (v1) which looks like a basic FS based internet radio.

Output of http://192.168.0.39/dd.xml as I don’t have UPnPTester on my Mac…


<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:pnpx="http://schemas.microsoft.com/windows/pnpx/2005/11" xmlns:microsoft="urn:schemas-microsoft-com:WMPNSS-1-0" xmlns:df="http://schemas.microsoft.com/windows/2008/09/devicefoundation">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device>
<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
<presentationURL>/web</presentationURL>
<pnpx:X_hardwareId>VEN_2A2D&amp;DEV_0003&amp;SUBSYS_0004&amp;REV_01 VEN_0033&amp;DEV_0005&amp;REV_01</pnpx:X_hardwareId>
<pnpx:X_compatibleId>MS_DigitalMediaDeviceClass_DMR_V001</pnpx:X_compatibleId>
<pnpx:X_deviceCategory>MediaDevices</pnpx:X_deviceCategory>
<df:X_deviceCategory>Multimedia.DMR</df:X_deviceCategory>
<microsoft:magicPacketWakeSupported>0</microsoft:magicPacketWakeSupported>
<microsoft:magicPacketSendSupported>1</microsoft:magicPacketSendSupported>
<dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC>
<friendlyName>Revival iStream 002261a4e9f0</friendlyName>
<manufacturer>Roberts Radio Limited</manufacturer>
<manufacturerURL>http://www.robertsradio.co.uk</manufacturerURL>
<modelDescription>ir-mmi-FS2026-0200-0052_V2.2.15.EX27922-1A8</modelDescription>
<modelName>Revival iStream</modelName>
<modelNumber> </modelNumber>
<modelURL>http://www.robertsradio.co.uk</modelURL>
<serialNumber>0b050400261f1f2701003801ffff1aff</serialNumber>
<UDN>uuid:3dcc7100-f76c-11dd-87af-002261a4e9f0</UDN>
<iconList>
<icon>
<mimetype>image/png</mimetype>
<width>48</width>
<height>48</height>
<depth>32</depth>
<url>/icon.png</url>
</icon>
<icon>
<mimetype>image/jpeg</mimetype>
<width>48</width>
<height>48</height>
<depth>32</depth>
<url>/icon.jpg</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>120</width>
<height>120</height>
<depth>32</depth>
<url>/icon2.png</url>
</icon>
<icon>
<mimetype>image/jpeg</mimetype>
<width>120</width>
<height>120</height>
<depth>32</depth>
<url>/icon2.jpg</url>
</icon>
</iconList>
<serviceList>
<service>
<serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
<serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
<SCPDURL>AVTransport/scpd.xml</SCPDURL>
<controlURL>AVTransport/control</controlURL>
<eventSubURL>AVTransport/event</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
<serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
<SCPDURL>ConnectionManager/scpd.xml</SCPDURL>
<controlURL>ConnectionManager/control</controlURL>
<eventSubURL>ConnectionManager/event</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
<SCPDURL>RenderingControl/scpd.xml</SCPDURL>
<controlURL>RenderingControl/control</controlURL>
<eventSubURL>RenderingControl/event</eventSubURL>
</service>
</serviceList>
</device>
</root>

Roberts Revival iStream API is on TCP port 2244:

http://192.168.xxx.xxx:2244/fsapi/CREATE_SESSION?pin=1234

<fsapiResponse>
<status>FS_OK</status>
<sessionId>xxxx</sessionId>
</fsapiResponse>

I have a Roberts Stream 107 and it works fine with this binding. Thank you!

Works as the instructions say.

FS_OK 1862805258

:+1:

Thanks

The binding works fine with Block SR-50 internet radio.

It seems either the device can be controlled by openhab or by UNDOK app. Each logs off the other one. Is there a workaround for this behaviour? I like to use both (for scene automation with openhab and as the app is quite user-friendly as regular remote when I only want to control the radio device).

Hi,

I have a Roberts multi-room setup that I’d love to see work with this binding. I have an R100 radio and 2 RS-1 adapters.

Here is the R100:

Description: ir-mmi-FS2026-0500-0267-R100_V2.11.12c.EX67897-V1.13
DeviceType: urn:schemas-upnp-org:device:MediaRenderer:1
FriendlyName: Bedside Radio
Manufacturer: Roberts Radio Limited
ManufacturerUrl: http:// www. robertsradio. com/
ModelName: R100
ModelNumber: R100
ModelURL: http:// www. robertsradio. com/
PresentationUrl: http:// 192.168.1.139:8080/web
SerialNumber: 0f07050b393b1f270101bf05ffffb0ff
UDN: uuid:3DCC7100-F76C-11DD-87AF-0022612BC9C0

Here is the RS-1 adapter:

Description: ir-mmi-FS2026-0500-0364-RS1_V2.11.12.EX68122-V1.05
DeviceType: urn:schemas-upnp-org:device:MediaRenderer:1
FriendlyName: Kitchen Audio
Manufacturer: Roberts Radio Limited
ManufacturerUrl: http : // www. robertsradio. com/
ModelName: RS1
ModelNumber: RS1
ModelURL: http : // www. robertsradio. com/
PresentationUrl: http : // 192.168.1.112:8080/web
SerialNumber: 0f0c1809371a1f2701016605ffffc4ff
UDN: uuid:3DCC7100-F76C-11DD-87AF-0022613A1B74

I’ve had to add spaces to all the URLs as I’m a new user and this stupid software won’t allow me to post more than 2 links!

Thanks,
Neil

Hi,
I have a HAMA DIT 2100MSBT Tuner, which works well with this binding after manually creating the thing.
It would support much more functionality than this binding provides.
Maybe it is possible to add more features?
Thanks!

Location http://192.168.43.22:8080/dd.xml
UDN uuid:3DCC7100-F76C-11DD-87AF-00226181FFFF
Type urn:schemas-upnp-org:device:MediaRenderer:1
Base URL http://192.168.43.22:8080/dd.xml
Friendly Name [Radio]WoZi DIT2100MSBT
Manufacturer HAMA GmbH
Manufacturer URL http://www.hama.de/
Model Description 
Model Name DIT2100MSBT
Model Number DIT2100MSBT
Model URL http://192.168.43.22:8080/dd.xml
Serial Number 12071b0713351f2701016800ffffffff
Presentation URL http://192.168.43.22:8080/web

Location http://192.168.43.22:8080/dd.xml
UDN uuid:3DCC7100-F76C-11DD-87AF-00226181FFFF
Type urn:schemas-upnp-org:service:RenderingControl:1
Base URL http://192.168.43.22:8080/dd.xml
Service ID urn:upnp-org:serviceId:RenderingControl
Service URL http://192.168.43.22:8080/RenderingControl/scpd.xml
Control URL http://192.168.43.22:8080/RenderingControl/control
Event Subscription URL http://192.168.43.22:8080/RenderingControl/event

Location http://192.168.43.22:8080/dd.xml
UDN uuid:3DCC7100-F76C-11DD-87AF-00226181FFFF
Type urn:schemas-upnp-org:service:ConnectionManager:1
Base URL http://192.168.43.22:8080/dd.xml
Service ID urn:upnp-org:serviceId:ConnectionManager
Service URL http://192.168.43.22:8080/ConnectionManager/scpd.xml
Control URL http://192.168.43.22:8080/ConnectionManager/control
Event Subscription URL http://192.168.43.22:8080/ConnectionManager/event

Location http://192.168.43.22:8080/dd.xml
UDN uuid:3DCC7100-F76C-11DD-87AF-00226181FFFF
Type urn:schemas-upnp-org:service:AVTransport:1
Base URL http://192.168.43.22:8080/dd.xml
Service ID urn:upnp-org:serviceId:AVTransport
Service URL http://192.168.43.22:8080/AVTransport/scpd.xml
Control URL http://192.168.43.22:8080/AVTransport/control
Event Subscription URL http://192.168.43.22:8080/AVTransport/event

Hello everybody,
I come back to write again something in this thread because I recently noticed a little problem using this binding with my radio Auna Connect 150: the volume-percent channel doesn’t work as expected because in my radio model the absolute volume works in the range 1-20 (not 1-32 as described in the binding documentation) and so the volume-percent channel doesn’t show the right percentage of the actual volume.
I try to give you an example of the situation: if my volume-absolute channel is set to 5 (that is the 25% of the maximum reachable volume) the volume-percent channel show something like 15%. I guess the binding makes this calculation: 5/32 because it assumes that all the FS radios have this 32 points volume range.
I always used this binding without problem just with the volume-absolute channel, but recently I tried to add to my system some voice controls through Google Home and I found out that for this purpose it is useful to have a dimmer item with the volume expressed as a percentage. So, it would be great for me to have the possibility to use this channel too even if I have a model with a 20 points absolute volume range instead a common 32 one.
Could anybody help with this? Bye.
Marco

Hi,

is it possible to add Play/Pause/Next/prev channels to the binding so you can control for example spotify.
I have a Roberts S1 and an Hama DIT2000. all the available options working fine.
just missing a few things