Willkommen im Loxone Community Forum. Um alle Funktionen nutzen und sehen zu können, registriere dich bitte zuerst. Dies gilt auch für das herunterladen von Dateien.
Hi guys,
instead of inventing wheel, I thought I'll rather ask - what is the best practice to detect if (on selected light controllers) there is any light turned on?
My idea was to use AQs which is 0, if there is nothing lit. Is there any better way then storing each Lighting Controller's AQs into separate Memory flags (1 per Lighting Controller) and then OR all the values? Preferably with less Memory flags?
Sadly, true. Although Central block has all light input and all light output, the output pulse is generated only when the Central block input is triggered. That doesn't make much sense to me, as I can route all those inputs into my temp memory flag and then this memory flag into the Central block input - all light on. Then I have the same information in memory flag. But to read out all Lighting controller, I'll need a handful memory flags a lot of connections.
Anyone has an idea how to neatly implement a Memory flag being on when there is any light turned on on the selected Lightring controllers?
Sadly, true. Although Central block has all light input and all light output, the output pulse is generated only when the Central block input is triggered. That doesn't make much sense to me, as I can route all those inputs into my temp memory flag and then this memory flag into the Central block input - all light on. Then I have the same information in memory flag. But to read out all Lighting controller, I'll need a handful memory flags a lot of connections.
Anyone has an idea how to neatly implement a Memory flag being on when there is any light turned on on the selected Lightring controllers?
Sorry, not here. I actually think your first solution was quite good. What's the problem with it?
Only the lack of elegance having the design plagued by too many memory flags. 1 per Lighting controller +1 for the "OR" result of all of them... So I was wondering if anyone knew more elegant way.
You know you can put more than one input to an OR and all of them are OR connected? So you do not need all of them.
Also your memory flag sets 1 if a light is on? In this case you do not need unequal to 1. Just one OR with all the flags connected has as output 1 if any light is on and 0 if all are off.
Loxone Miniserver, Loxone 1wire Extension, KNX Sensorik & Aktorik (u.a. MDT Glastaster), Loxberry (Wetterserver, 433MHz, Netatmo, HA-Bridge), Helios KWL, Amazon Echo, Netatmo Wetterstation, Netatmo Presence und viele andere Basteleien...
Hi DellJoe,
each memory flags on the left is connected to "Current scene" (AqS) of a Lighting Controller (see the attached image). This is 0 when all the lights are off, some other value otherwise (-1 for unknown scene, etc). Comparing the Memory Flag to 0 seemed to be the easiest (the least Memory Flags and controls involved) way of getting digital information if there is any light lit. Is it not?
Thanks for the tip about OR. I've connected all the Unequal results directly into the memory flag. It seems to be natively OR-ing the value. See the screenshot #2. Is it documented function, do you know if I can rely on this? Worked well in the simulation...
Wir verarbeiten personenbezogene Daten über Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen, Werbung zu personalisieren und Websiteaktivitäten zu analysieren. Wir können bestimmte Informationen über unsere Nutzer mit unseren Werbe- und Analysepartnern teilen. Weitere Einzelheiten finden Sie in unserer Datenschutzrichtlinie.
Wenn Sie unten auf "Einverstanden" klicken, stimmen Sie unserer Datenschutzrichtlinie und unseren Datenverarbeitungs- und Cookie-Praktiken wie dort beschrieben zu. Sie erkennen außerdem an, dass dieses Forum möglicherweise außerhalb Ihres Landes gehostet wird und Sie der Erhebung, Speicherung und Verarbeitung Ihrer Daten in dem Land, in dem dieses Forum gehostet wird, zustimmen.
Kommentar