Page 1 of 1

Dim, wait & return to previous

PostPosted: Wed May 10, 2017 12:20 am
by haavarda
Sometimes I want to use my light to notify me of an event. Today I do this by toggling the lights twice.
But I think could I do this more elegant with a python script. Anyone that can help to set up a script as described below?
Any help is much appreciated :)

1 Store the current dim level
2 Dim the light 80%
3 Wait 4 seconds
4 Return to the stored dim level

Re: Dim, wait & return to previous

PostPosted: Fri May 12, 2017 5:45 am
by DaveL17
haavarda wrote:
Sometimes I want to use my light to notify me of an event. Today I do this by toggling the lights twice.
But I think could I do this more elegant with a python script. Anyone that can help to set up a script as described below?
Any help is much appreciated :)

1 Store the current dim level
2 Dim the light 80%
3 Wait 4 seconds
4 Return to the stored dim level

HI - Have a look at this thread -- it may be just what you're looking for.

Re: Dim, wait & return to previous

PostPosted: Sun May 14, 2017 9:57 am
by haavarda
Hi Dave.
With minor modifications that did exactly what I wanted.
Thanks!


Sent from my iPhone using Tapatalk

Re: Dim, wait & return to previous

PostPosted: Mon May 15, 2017 3:59 am
by DaveL17
Glad that helped. Cheers!


Sent from my iPhone using Tapatalk