Light Relay with Schedules

Posted on
Sat Apr 25, 2015 9:25 am
Elman offline
Posts: 13
Joined: Apr 25, 2015
Location: Sweden

Light Relay with Schedules

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 :)

Posted on
Tue Apr 28, 2015 5:31 pm
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Light Relay with Schedules

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?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sat May 02, 2015 7:12 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Light Relay with Schedules

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

Posted on
Mon May 11, 2015 11:05 am
Elman offline
Posts: 13
Joined: Apr 25, 2015
Location: Sweden

Re: Light Relay with Schedules

Thanks. :D

I will test this.

Posted on
Tue May 12, 2015 9:44 am
Elman offline
Posts: 13
Joined: Apr 25, 2015
Location: Sweden

Re: Light Relay with Schedules

Hello again. :)

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

Thanks in advance.
Attachments
Kitchen on 3.png
Kitchen on 3.png (56.32 KiB) Viewed 3481 times
Kitchen 2 on.png
Kitchen 2 on.png (53.86 KiB) Viewed 3481 times
Kitchen on 1.png
Kitchen on 1.png (44 KiB) Viewed 3481 times

Posted on
Tue May 12, 2015 3:43 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Light Relay with Schedules

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.

Posted on
Wed May 13, 2015 10:09 pm
Elman offline
Posts: 13
Joined: Apr 25, 2015
Location: Sweden

Re: Light Relay with Schedules

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.

Posted on
Wed May 13, 2015 11:49 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Light Relay with Schedules

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?!

Posted on
Thu May 14, 2015 8:22 am
DaveL17 offline
User avatar
Posts: 6744
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Light Relay with Schedules

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

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest