Seite 1 von 2
#1 Lichtszenen mit Uhrzeit im Domiq
Verfasst: Mi 7. Aug 2013, 13:43
von koboldo
Moin....
wie kann man am besten bestimmte "Lichtszenen" zu bestimmten Uhrzeiten über den gleichen Taster auslösen.
Also z.B. Beleuchtung im BAD, nachts gedimmt und Tagsüberhell, allerdings soll man trotzdem noch selbst dimmen können.
Gruß
Jörg
#2 RE: Lichtszenen mit Uhrzeit im Domiq
Verfasst: Mi 7. Aug 2013, 14:18
von Beleuchtfix
Du kannst ein "Sende Taste" an zwei Tasten (oder mehr) schicken, und diese per Uhrzeit sperren. Lang fürs dimmen ist dann auf beiden Tasten gleich.
Viel Erfolg
Florian
#3 RE: Lichtszenen mit Uhrzeit im Domiq
Verfasst: Mi 7. Aug 2013, 14:25
von Uwe
Moin Jörg,
schalte mit der Zeit, der Dämmerung, oder wie auch immer das Lichtszenenregister um.
Am Tage lösen bei mir z.B. die BMI immer Lichtszene 4 mit Wert 0% aus, am Abend steht im Register 1 ein Wert von 100%, in der Nacht im Register 2 stehen 25%.
Ich habe noch nie mehr als 10 Lichtszenen für einen Raum benötigt - inkl. alles an (bei mir i.d.R. LZ1) und alles aus (LZ10).
Grüße, Uwe
#4 RE: Lichtszenen mit Uhrzeit im Domiq
Verfasst: Fr 9. Aug 2013, 11:33
von koboldo
Moin...
habe jetzt noch mal die Pro Doku durch.....:blink:
Wie kann ich denn die Uhrzeit abfrage und das Register wechseln ?
Die Doku ist schon recht dürftig oder gibt es noch eine andere ?
#5 RE: Lichtszenen mit Uhrzeit im Domiq
Verfasst: Fr 9. Aug 2013, 15:46
von Beleuchtfix
Da gibt es keinen offiziellen Befehl beim Domik, nur LCN Generic.
Ich schicke sie dir per Mail.
Viel Erfolg
Florian
#6 RE: Lichtszenen mit Uhrzeit im Domiq
Verfasst: Mo 12. Aug 2013, 08:51
von DOMIQ-Support
You can try something like this:
1.To differentiate reaction during the day and night, the best option is to set some MEM with a timer triggered at the sunset and sunrise. For example MEM.night with values 0 for the day and 1 when it's dark.
2. Next you'll need to send "Send keys" command when a LCN key is pressed (the HIT command). In the Base you need to create an event: E.LCN.key to react on this. In the Condition field check the value of the MEM variable, set by a timer (see 1.). If the MEM.night==1 then light is set for example to 25%, otherwise it's set to 100% and so on.
3. As Florian wrote - make dimming using LONG command in the LCN.
#7 RE: Lichtszenen mit Uhrzeit im Domiq
Verfasst: Mo 12. Aug 2013, 11:45
von Beleuchtfix
You bring up the point, Send Keys. You have to adress base directly, and have only the 4 Tables available. It is a lot, but you need to keep track of all your keys in base. For some reasons base catches always an A-Table + a D-Table command when I try to send a single send-keys on the a table. So there are only 3 tables left.
Do you think you could add a sendkeys event, which will interpret the modules and groups as well. You should be able to catch them easily and it would get the tables much clearer.
regards Florian
#8 RE: Lichtszenen mit Uhrzeit im Domiq
Verfasst: Mo 12. Aug 2013, 12:36
von DOMIQ-Support
You're right Florian, number of keys are very limited but that's how LCN works. I'll take a look if there is any chance to change LCN.key identifier. Meanwhile another tip: you can try virtual relays or outputs instead sending keys.
#9 RE: Lichtszenen mit Uhrzeit im Domiq
Verfasst: Mo 12. Aug 2013, 13:33
von koboldo
I failed at Timers an VAR.... :blush:
Wenn ich mit einem Timer die Variable setzen möchte, passiert nichts....
Zumindest wird die Variable nicht unter Zustand angezeigt....
[img]1[/img]
#10 RE: Lichtszenen mit Uhrzeit im Domiq
Verfasst: Mo 12. Aug 2013, 13:38
von DOMIQ-Support
There should be C.MEM.night. Remember that when box is higlighted in orange there should be C. or E.
