Execute OS command after 30 sec???

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
DutchHans
Posts: 280
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi
Domoticz version:
Location: Germany (near dutch border)
Contact:

Execute OS command after 30 sec???

Post by DutchHans » Wednesday 06 December 2017 19:23

Good evening..
I am facing a little problem.. I have 5 wlan speakers(with built-in amplifiers). They fall asleep when they had no signal for 15 minutes.

I can wake them simply by switching powercord off and on with a 433mhz switch.. than it will connect to wlan (this takes about 30 seconds)

Here's the problem.. in blockly i can wake them and send a url from logitech media server to hear the radio.. but I want to send this url when the Wlan-Speaker has completely booted..

Ive tried blockly (not possible) but prefer LUA..(here I need to execute a curl/http command after 30 seconds. So first bootup the Wlan-Speaker and 30 sec later execute the url..

Is this possible?

Regards,Hans

markjgabb
Posts: 127
Joined: Wednesday 25 January 2017 0:00
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Australia
Contact:

Re: Execute OS command after 30 sec???

Post by markjgabb » Wednesday 06 December 2017 22:25

viewtopic.php?f=59&t=20510

Check this thread out. Couple of guys here solved this for me a while ago
V 3.8153 RPI 3
RFlink 334 mhz
mysensors
broadlink
wemo

DutchHans
Posts: 280
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: Execute OS command after 30 sec???

Post by DutchHans » Thursday 07 December 2017 16:02

Perfect, thank you very much.

Cheers, Hans

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests