Page 1 of 1

Scene 'Off Action'

Posted: Sunday 06 March 2016 13:13
by Jzjr
Hello,

I am trying to setup some scripts which send an alert to my Philips Hue bulbs.

I have a simple script setup which uses the alert command however the script has a 490s sleep and I have noticed that I cannot run another script whilst this happens.

I am wondering if I could run a script once the scene has completed or whether I am stuck with being unable to use any other script for the 7 minutes and what the 'Off Action' field does in a scene, as far as I can tell it has the same functionality as the 'On Action'.

The scene is used to turn a baby bottle warmer on for 8 minutes, the script flashes a Hue bulb at the start and then flashes all Hue bulbs after the 8 minutes is up.

Code: Select all

curl -H "Accept: application/json" -X PUT --data '{"alert":"select"}' <API URL>
sleep 490
curl -H "Accept: application/json" -X PUT --data '{"alert":"lselect"}' <API URL>
sleep 2
curl -H "Accept: application/json" -X PUT --data '{"alert":"none"}' <API URL>
Many Thanks,
Fred.

Re: Scene 'Off Action'

Posted: Monday 07 March 2016 21:27
by georgesattali
Hello,
I don't understand your script, but maybe the problem is using a scene : they cannot be turned Off (but only "On").

If you want to turn it on and off you have to change it to a Group.