SpaceLogic KNX Forum
Schneider Electric SpaceLogic KNX forum to get support and share knowledge including selection, installation and troubleshooting for spaceLYnk, Wiser for KNX, eConfigure KNX, SpaceLogic KNX Hybrid module and other topics.
Link copied. Please paste this link to share this article on your social media post.
Hello,
In project customer need KNX sensor control dimming load based on time for example
* from 10 am to 3 pm need sensor to turn loads on 30%
* from 3 pm to 8 pm need sensor to turn loads on 80%
*from 8pm to 2 am need sensor to turn loads on 50%
*from 2 am to 10 am need sensor to turn loads on 60%
how to do that?
project have spacelynk LSS100200
Link copied. Please paste this link to share this article on your social media post.
Hello Mostafa!
IC_Systems is fully on the right track with his approach.
There is just one part where you need to be careful ... it is the change over at midnight.
Please find attached a certain script with a some descriptions to easily understand how it works and to adapt.
Link copied. Please paste this link to share this article on your social media post.
Hi Mostafa,
The easiest way would be to set up a scheduler inside SL that sends the desired percentage value to the lamps.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Hello @mostafa_ramadan
based on motion sensor you want to set the dimming percentage value depend on time.
using the motion output as 1bit with script in SL you could achieve that:
use event based script (set the execution mode to last instance only)linked to the 1bit motion output:
use the following script as a start point:
trig = event.getvalue()
now = os.date('*t')
hour = now.hour
if trig then
if hour > 10 and hour < 15 then
setvalue = 30
elseif ....
.
.
end
else
setvalue = 0
end
grp.checkwrite('grp.add', setvalue)
Link copied. Please paste this link to share this article on your social media post.
Hello Mostafa!
IC_Systems is fully on the right track with his approach.
There is just one part where you need to be careful ... it is the change over at midnight.
Please find attached a certain script with a some descriptions to easily understand how it works and to adapt.
Link copied. Please paste this link to share this article on your social media post.
Hi Mustafa, I'm doing it in my home, but on diferent way.
It's not only schedulling light at one time... I assume you need the normal working using a normal push button. Then here we go...
Inside the Sensor you have blocks...
You can configure by this way:
Block 1.......30%
Block 2.......80%
Block 3.......50%
Block 4.......60%
Every block can be activated and configured as you want even using trigger with an external pushbutton.
Then... using the scheduller time on W4K / SL you can Lock / Unlock the different Blocks.
By this way you have a normal ON/OFF system with easy and different brightness depending on time.
In this case you can also have different times due to blocks are independent one each other.
The nonrmal working would be 3 blocks locked and one unlocked.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Thank you @esteve_budia for your solution, my question now about block coverage, is 4 blocks have same coverage or that will effect ?
Link copied. Please paste this link to share this article on your social media post.
In depens on sensor model, but you can normally configure coverage as desired on everyblock.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.