Add Domoticz Turn on Radio Button

Moderator: leecollings

Post Reply
Amsterdam020
Posts: 55
Joined: Saturday 05 March 2016 21:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5629
Contact:

Add Domoticz Turn on Radio Button

Post by Amsterdam020 »

In Domoticz I added switches that starts and pauses radio channel in Kodi.
Turn on Radio.JPG
Turn on Radio.JPG (18.03 KiB) Viewed 4162 times
1) Add a Dummy under Hardware
2) Under switches, add manually a switch
3) Choose the Dummy you created in step 1. Switch Type On/Off. For the rest it does not matter what you select, as long as it does not exist elsewhere in domoticz
4) Add Device
5) Click on Edit of the newly created switchh
6) Paste the following at "On Action":
http://192.168.x.xx/jsonrpc?request={"j ... bb-mp3.m3u"}}}
Use the ipadress of your Kodi.
You can replace the url of the stream with another, find the url of your favourtie channel on http://www.hendrikjansen.nl/henk/streaming.html (first test in a Mediaplayer, not all links work)
7) Off Action is to pause the stream:
http://192.168.x.xx/jsonrpc?request={%2 ... %22id%22:0}
(replace ip)
8) Save & enjoy listening!
Rp3, youlesss, rfxcom, philips hue, dsb1820
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests