Fixed URL list OH3

Hi There,

I have a streaming radio to which I can push streaming URLs over REST HTTP, fantastic.

http://IPADDR:PORT/play?STREAMURL

The thing is, I’ve to create a list of radio stream somewhere and should be able to OH-repeater loop over the ‘items’ to assemble some sort of radio-station-preference-widget.

I’ve made working widgets that loop automatically through items (presence detection, open/closed doors, etc) and I thought this would be the most flexible way. But I really have no clue where to put the URL-list.

Could someone point me in a direction?

Best regards,

Create a String Item.

Populate the State Description metadata for that Item with the URL=Label list under “Options”.

Use an oh-list widget and you’ll have a dropdown list to choose from among the defined Options.