Constant Light - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Constant Light (/showthread.php?tid=1201) |
Constant Light - Thomas - 29.01.2018 Hi I'd like to implement an automation which makes constant light in the room. I know actual brightness (from sensor), requested brightness (from visu) and I've DALI lights capable set brightness or dimming. What I'm looking for is an LM LUA alternative to Wago FbMacroConstantLightControl function. http://support.wago.no/support/codesys23_lib_list/libs/1142_WAGOBUILDING_01/pou_WAGOBUILDING_01FbMacroConstantLightControl.html I don't want to invent wheel so I'm asking you if there's no already done, preset and working solution. Thank you RE: Constant Light - mlaudren - 31.01.2018 Hi, In the touch app, you have a widget for this. 'Constant light control' which work great. You just need to provide actual brightness and, setpoint and control loop. it will handle the rest. If you don't want to use it, you need to write the algorythm youself in a 'event script' RE: Constant Light - admin - 01.02.2018 You can try adjusting PID controller code. See this document on which gain values are better suited for lighting: http://scientificbulletin.upm.ro/papers/2011-1/Grif-PID-Daylight-Control-System.pdf RE: Constant Light - Thomas - 06.02.2018 (31.01.2018, 19:34)mlaudren Wrote: Hi, Hi, sorry for stupid question but what do you mean by 'touch app'? RE: Constant Light - Erwin van der Zwart - 06.02.2018 Hi Stupid questions are the ones that are not asked.. Touch is the re-make of Mosaic for Schneider devices, if you have a LM then you don’t have it. BR, Erwin RE: Constant Light - admin - 08.02.2018 Widget does not provide any control algorithm, you either need a physical device which has constant light feature or write your own algorithm. RE: Constant Light - Thomas - 08.02.2018 Thank you both RE: Constant Light - CHOUAIBOU - 08.02.2018 (08.02.2018, 11:26)Thomas Wrote: Thank you both Hi Thomas, For information, it is easy to implement constant lighting using the schneider electric KNX/Dali gateway coupled with Argus present + lux sensor. In your knx project, you will create group address for "auto control" with Dali Gateway and KNX presence sensor dedicated objects. According to the setpoint, your controller (KNX/Dali gateway) will send Dali command to luminaries to dim up or down until the lux setpoint value +/- hysterisis is reached. This solution can be applied with or without LM or HL (standard KNX button 2 gangs or push button pro or Multitouch pro can be used) For pure KNX or any other prococol (modbus, enOcean, etc...), if you don't have the dedicated device for lighting regulation, you need to write or modified PID script, use Logic Machine or SpaceLynk or HomeLYnk as gateways and controllers to deal with constant lighting. Best regards, Chouaibou. |