Listen to your favourite radios V2

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.
tukestolo
Posts: 12
Joined: Wednesday 28 February 2018 1:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Listen to your favourite radios V2

Post by tukestolo » Monday 05 March 2018 18:14

0n370uch wrote:
Monday 05 March 2018 14:00
Hi, sounds like a Domoticz global problem. Now I am at the end with my knowledge ...sry. Just one idea, check this:
https://www.domoticz.com/wiki/Linux
Thanks I will search a little more to see if I can find something.
For now to work with it, a start Domoticz with screen command.

0n370uch
Posts: 22
Joined: Monday 08 January 2018 3:30
Target OS: Raspberry Pi
Domoticz version: Latest
Contact:

Re: Listen to your favourite radios V2

Post by 0n370uch » Monday 05 March 2018 19:01

Ok. Good luck with your research...

odelay
Posts: 9
Joined: Monday 08 December 2014 18:52
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Listen to your favourite radios V2

Post by odelay » Saturday 31 March 2018 15:43

Hi 0n370uch, thanks for your great script!

I have added it to my Domoticz using de build in bluetooth of my RPI 3B and it is working great, there is only one thing I can't figure out.
You have a cronjob to activate the connection but I'm using my soundbar which is also connected to my TV and other stuff.
So I only want a connection when I press a radion button.

Is there a way to implement "/bin/echo -e 'connect 00:11:22:33:44:55 \n' | bluetoothctl &> /dev/null" into the script?

thanks!

0n370uch
Posts: 22
Joined: Monday 08 January 2018 3:30
Target OS: Raspberry Pi
Domoticz version: Latest
Contact:

Re: Listen to your favourite radios V2

Post by 0n370uch » Saturday 31 March 2018 18:18

odelay wrote:
Saturday 31 March 2018 15:43
Is there a way to implement "/bin/echo -e 'connect 00:11:22:33:44:55 \n' | bluetoothctl &> /dev/null" into the script?
thanks!
Hi, you can add a normal button in Domoticz and link a bash script. Add your own bluetooth connect code into this bash script.

Greetings
Fabi

RaymondR
Posts: 3
Joined: Monday 12 December 2016 22:02
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: The Netherlands
Contact:

Re: Listen to your favourite radios V2

Post by RaymondR » Saturday 19 May 2018 22:11

Hello,

I ave made the selector switch and the off button works.
Only de radio buttons don't.
When I start via de command line, the radio starts.
What am I doing wrong?

RaymondR
Posts: 3
Joined: Monday 12 December 2016 22:02
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: The Netherlands
Contact:

Re: Listen to your favourite radios V2

Post by RaymondR » Saturday 19 May 2018 23:24

Hello Tukestolo,

Did you find a solution for the problem in domoticz with the radio?
I have the same problem.

0n370uch
Posts: 22
Joined: Monday 08 January 2018 3:30
Target OS: Raspberry Pi
Domoticz version: Latest
Contact:

Re: Listen to your favourite radios V2

Post by 0n370uch » Sunday 20 May 2018 10:13

Hi, interesting... You have the same problem. For me everything is running fine... Mysterious.

tukestolo
Posts: 12
Joined: Wednesday 28 February 2018 1:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Listen to your favourite radios V2

Post by tukestolo » Sunday 20 May 2018 11:05

For me the problem was that if Domoticz start by ir self on startup or by user root it don’t work, but if I start it from folder manual it work :/
I don’t figure why

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests