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.

Moderators: leecollings, remb0

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

Execute OS command after 30 sec???

Post by DutchHans »

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: 142
Joined: Tuesday 24 January 2017 23:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Australia
Contact:

Re: Execute OS command after 30 sec???

Post by markjgabb »

viewtopic.php?f=59&t=20510

Check this thread out. Couple of guys here solved this for me a while ago
V 2020.2 RPI 3
RFlink 334 mhz
mysensors
broadlink
Mirabella Genio Globes
DutchHans
Posts: 230
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: Execute OS command after 30 sec???

Post by DutchHans »

Perfect, thank you very much.

Cheers, Hans
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest