Page 1 of 1

Playing Radio

Posted: Monday 25 December 2017 10:58
by JuanUil
Hi Folks,

A merry Christmas to you all!!
I want to make a selector switch to play radio through Domoticz.
Now I am testing to play radio but till now with no luck.
Searched the forum but could not find what I am looking for.
this is my testing script:

Code: Select all


commandArray = {}

if (devicechanged['Reserve2']=='On') then 
	openurl('http://icecast.omroep.nl/radio2-bb-mp3') 
	print ('Radio 2 speelt')
end

return commandArray
If anybody have a complete LUA script to play radio that would be very helpful :)
any help???

Re: Playing Radio

Posted: Tuesday 26 December 2017 14:21
by JuanUil
Nobody who can point me in the right direction?

Re: Playing Radio

Posted: Tuesday 26 December 2017 14:30
by freijn
To my (limited) knowledge the device you open the URL does not know what to do with it?
( or it must be windhoos ? )

the url must be fed into a player..

on a rapsberry :

https://www.raspberrypi.org/documentation/usage/audio/

Re: Playing Radio

Posted: Wednesday 27 December 2017 9:45
by JuanUil
Hi Freijn thnx for your reply.
I'm going to figure this out.
Would be nice if someone already have a complete solution.

Re: Playing Radio

Posted: Friday 29 December 2017 16:39
by JuanUil
no one with a complete solution? :) :shock:

Re: Playing Radio

Posted: Friday 29 December 2017 23:34
by sincze
I play radio using kodi :)
Domoticz just calls the kodi api and it will start playing radio(plugin) .

Re: Playing Radio

Posted: Thursday 04 January 2018 7:57
by emme
I use Volumio and recently a Samsung WAM device to play radio and control it from Domoticz

Domoticz itself cannot stream :)
ciao
M