Page 1 of 1

Light Relay with Schedules

PostPosted: Sat Apr 25, 2015 9:25 am
by Elman
Hi :D
I'm pretty new at this Z-wave network.
Now I need your help.
With an easy explanation how to do

What I want to achieve is the following.

Controlling lights with light relay.

On weekdays between the hours of 04:15 and 22:10, I want lights on if it is dark outside.

I have a light relay AEOTEC Multi-sensor that senses out of lux value outdoors.
I have since three Fibaro wall plug that I want to control with light relay (006, 008 and 0016 ).

Best regards Johan :)

Re: Light Relay with Schedules

PostPosted: Tue Apr 28, 2015 5:31 pm
by jay (support)
I'm not sure I'm following what you want to happen. Can you give us more step-by-step detail about what should happen when and under what conditions?

Re: Light Relay with Schedules

PostPosted: Sat May 02, 2015 7:12 am
by howartp
This sounds like what I have - three lamps plugged into Fibaro wall plugs, that come on when it gets dark and go off at bedtime (though my bedtime and getting up time are much later than Elman's!)

Elman, create a trigger on your Aeotec sensor roughly along the following lines:

'lux value goes below [] lux' with a condition 'time is between 4am and 10pm' and three actions of 'Turn on Fibaro lamp 1/2/3'.

Do the same with a trigger on lux value goes above [] lux.

I've left you to decide what values to use for lux [].

Peter

Re: Light Relay with Schedules

PostPosted: Mon May 11, 2015 11:05 am
by Elman
Thanks. :D

I will test this.

Re: Light Relay with Schedules

PostPosted: Tue May 12, 2015 9:44 am
by Elman
Hello again. :)

you can look at the screenshots and see if I understand correctly.

Thanks in advance.

Re: Light Relay with Schedules

PostPosted: Tue May 12, 2015 3:43 pm
by howartp
Yep - on pic 3, add another two actions to turn on the other two lamps.

Then, if you want, make another trigger which is exactly the opposite. "When lux goes above [], between those times, turn off the devices" - so when the sun comes up sometime around breakfast time, the lights go off.

Re: Light Relay with Schedules

PostPosted: Wed May 13, 2015 10:09 pm
by Elman
Hello again.
Have a thought.
In image 1, Lux value of 500.000000 should it be so or should it be the 500.
So should I remove the zeroes as the program put there.

Re: Light Relay with Schedules

PostPosted: Wed May 13, 2015 11:49 pm
by howartp
Assuming 500 and 500.000 is the same thing in the numbering system in your area of the world, then it's entirely up to you, it won't break anything either way - but I'm surprised Indigo has put the extra 0's if so.

If you're in a numbering system where a dot denotes thousands, meaning 500.000 is "five hundred thousand", then you definitely need to remove it unless you live on the sun?!

Re: Light Relay with Schedules

PostPosted: Thu May 14, 2015 8:22 am
by DaveL17
Indigo should be picking up on whatever format is stored for the critical value. If the value is a float, Indigo will come back with 500.0000... and if an integer with 500. If the value is a float and your local separator is a comma, then it should report back 500,0000.... Regardless, the comparisons should work as expected (greater than, less than, etc.)

I am of two minds with this. The analyst in me (it's my stock-in-trade) is to have values on hand to whatever precision is possible. But the user in me says that there is effectively no useful difference between a lux value of 500 and a lux value of 500.5--I could certainly do with both in most circumstances. A float for the state value (where appropriate) and an integer for the UI value.

Dave