Search found 5 matches

by DanTheManNL
Wednesday 08 November 2017 16:56
Forum: Bash / PowerShell / Batch etc.
Topic: How to end endless while loop?
Replies: 7
Views: 3145

Re: How to end endless while loop?

I've tried but can't get it to work. killall <scriptname.sh> doesn't work. I can only kill it with "kill processid" but I don't know what that is because it's always different. =/ When I run it from the command line the output is: "/home/pi/domoticz/scripts/blink-blue-pink.sh: no process found"
by DanTheManNL
Tuesday 07 November 2017 17:18
Forum: Bash / PowerShell / Batch etc.
Topic: Domoticz can't send to /dev/udp
Replies: 2
Views: 1882

Domoticz can't send to /dev/udp

Hello, I'v made a little bash script where I send codes to my milight lamps and they switch colour. When I use the netcat version it works: echo -n -e "\x42\00\x55" | nc -u -q 1 xxx.xxx.xxx.xxx 8899 echo -n -e "\x40\x20\x55" | nc -u -q 1 xxx.xxx.xxx.xxx 8899 echo -n -e "\x40\xC0\x55" | nc -u -q 1 ...
by DanTheManNL
Friday 03 November 2017 11:25
Forum: Bash / PowerShell / Batch etc.
Topic: How to end endless while loop?
Replies: 7
Views: 3145

Re: How to end endless while loop?

@tozzke: This sounds like a good option. But when is the off action field triggert? Because you cannot close a scene only start a scene when clicking the power button of the scene.
by DanTheManNL
Wednesday 01 November 2017 23:01
Forum: Bash / PowerShell / Batch etc.
Topic: How to end endless while loop?
Replies: 7
Views: 3145

How to end endless while loop?

Hello, I've made a bash script with an endless while loop to switch between two colours for my Limitless/Milight bulbs. I've created a scene and attached this script to the on action section. But now how do I end this while loop? I want to create another scene which on action first stops this while ...
by DanTheManNL
Tuesday 22 August 2017 23:33
Forum: Other questions and discussions
Topic: Script examples
Replies: 0
Views: 541

Script examples

Hello, I am very new to Domoticz but I have all MiLight Wifi LED lights in my livingroom atached to a Wifi Bridge. I've managed to add these devices into Domoticz but I really would like to loop the lights between some colors. Is it possible to loop between device commands in a scene? Or can I find ...