NEWS
Adapter LightControl 0.4.x Stable
-
@danny_v1 sagte in Adapter LightControl 0.4.x Stable:
Hallo,
hier gab es zwar lange keine Posts mehr, aber ich hoffe es liest trotzdem noch jemand.
Da ich gerade am Umsteigen von deconz und Phoscon auf zigbee2mqtt bin und es da nicht wie bei Phoscon eine App gibt mit der man Gruppen und Szenen und so etwas erstellen kann bin ich über den Adapter gestolpert und ich finde ihn echt sehr gut.
Ich habe allerdings bei der ersten Gruppe die ich zum Testen erstellt habe folgendes festgestellt:
Die Gruppe ist nur eine Lampe und ein Bewegungsmelder. Sobald eine Bewegung erfasst wird soll das Licht angehen und wenn keine Bewegung mehr erkannt wird langsam runterdimmen. Das geht auch. Wenn aber während des runter dimmen eine neue Bewegung erkannt wird hat es nicht mehr funktioniert. Lampe wurde weiter runtergedimmt und blieb dann aus. Erst als der Bewegungsmelder keine Bewegung mehr erkannt hat war ein Einschalten der Lampe per Bewegungsmelder möglich.Da habe ich doch sicher etwas falsch eingestellt.
Hi. Du hast also RampOff aktiviert, richtig? Wenn ja, dann ist das Verhalten erstmal so richtig. Bei RampOn und RampOff muss sich aktuell der power state ändern. Also das ramping wird durch eine erneute Bewegung nicht abgebrochen.
Mach hierzu bitte ein Issue auf Github auf, damit ich das weiterhin auf dem Schirm habe.
Beschreibe im Issue bitte ganz genau, was wann und wie passieren soll und wie sich deine states von BWM und Lampe verhalten.BTW: bei zigbee2mqtt können Gruppen erstellt werden.
-
@schmakus Ok, danke für die Antwort. Werde ein Issue erstellen.
Wie meinst du das mit den Gruppen in Z2M?
-
Hi, ich hätte da mal noch eine Frage. Ich würde das mal an einem Beispiel erklären. Ich habe einen Treppenaufgang welcher um die Ecke geht, da habe ich unten und oben einen Bewegungsmelder sowie unten und oben eine Deckenlampe. Wie mache ich das, dass egal welcher Bewegungsmelder schaltet beide Lampe angehen? Da der Datenpunkt isMotion nur reagiert, wenn beide Bewegungsmelder schalten. Ich würde ungern für solche Fälle wieder ein extra Blockly laufen lassen und das über einen Hilfsdatenpunkt steuern.
-
@danny_v1 Das sollte eigentlich nicht so sein. Die Funktionsweise des Adapters ist, dass wenn einer von x Sensoren auslöst, das Licht angehen sollte. Erst wenn alle Sensoren wieder auf
false
sind, schaltet das Licht aus.
Ich hab dir auf Github geantwortet. Ich benötige einendebug
log.Welche Adapterversion?
-
@schmakus Hallo, ich habe die Version 0.5.0.
Das Log kann ich erst heute Abend schicken. Ich habe es zur Zeit erstmal per Blockly und Hilfsdatenpunkt gelöst.
Für das Log in der Instanz "Extended logging" einschalten? -
@danny_v1 sagte in Adapter LightControl 0.4.x Stable:
@schmakus Hallo, ich habe die Version 0.5.0.
Das Log kann ich erst heute Abend schicken. Ich habe es zur Zeit erstmal per Blockly und Hilfsdatenpunkt gelöst.
Für das Log in der Instanz "Extended logging" einschalten?Nein, in den Instanzen den Expertenmodus aktivieren. Dann das loglevel des Adapters auf debug umstellen.
Danach startet der Adapter neu.
Danach einmal einen der beiden BWM auslösen. Danach im Log auf lightcontrol filtern und dieses log dann hier mit Code-Tags posten. -
@schmakus Alles klar mach ich heute Abend. Darf nur nicht vergessen das "Helfs-Blockly" auszuschalten
-
AutoOnMotion scheint auch nicht so zu funktionieren wie es sollte. Wenn ich ch minLux auf 5 stell und der verbundene Sensor 30 zeigt sollte das Licht doch eigentlich aus bleiben, oder? Kann es sein das ich nach der Konfiguration den Adapter noch mal neu starten muss?
-
So das mit dem Bewegungsmeldern scheint erst mal zu funktionieren, aber das mit dem minLux noch nicht. Hier das Log dazu:
lightcontrol.0 2024-04-10 17:46:01.676 debug [ AdaptiveCt ] adaptiveCtLinear="3921" adaptiveCtSolar="3996" lightcontrol.0 2024-04-10 17:46:01.676 debug [ AdaptiveCt ] minCT="2700", maxCt="6500", sunset="1712771780415", sunrise="1712723128044", solarNoon="1712747454229" lightcontrol.0 2024-04-10 17:46:01.675 debug [ AdaptiveCt // getAstroDate] sunsetDate="Wed Apr 10 2024 19:56:20 GMT+0200 (Mitteleuropäische Sommerzeit)", sunriseDate="Wed Apr 10 2024 06:25:28 GMT+0200 (Mitteleuropäische Sommerzeit)", solarNoonDate="Wed Apr 10 2024 13:10:54 GMT+0200 (Mitteleuropäische Sommerzeit)" lightcontrol.0 2024-04-10 17:46:01.675 debug [ getAstroDate ] getAstroDate(pattern=solarNoon, date=Wed Apr 10 2024 12:00:00 GMT+0200 (Mitteleuropäische Sommerzeit)) => Wed Apr 10 2024 13:10:54 GMT+0200 (Mitteleuropäische Sommerzeit) lightcontrol.0 2024-04-10 17:46:01.675 debug [ getAstroDate ] getAstroDate(pattern=sunrise, date=Wed Apr 10 2024 12:00:00 GMT+0200 (Mitteleuropäische Sommerzeit)) => Wed Apr 10 2024 06:25:28 GMT+0200 (Mitteleuropäische Sommerzeit) lightcontrol.0 2024-04-10 17:46:01.674 debug [ getAstroDate ] getAstroDate(pattern=sunset, date=Wed Apr 10 2024 12:00:00 GMT+0200 (Mitteleuropäische Sommerzeit)) => Wed Apr 10 2024 19:56:20 GMT+0200 (Mitteleuropäische Sommerzeit) lightcontrol.0 2024-04-10 17:46:01.674 debug [ AdaptiveCt ] minCT="2700", maxCt="6500", CtRange="3800" lightcontrol.0 2024-04-10 17:46:01.100 debug [ onStateChange ] state lightcontrol.0.TreppeFlur.ct changed: 3300 (ack = true) lightcontrol.0 2024-04-10 17:46:01.044 debug Reaching SetCt, Group="TreppeFlur" Ct="3300" lightcontrol.0 2024-04-10 17:46:01.043 info [ SetColorMode ] Reaching for Group="TreppeFlur" lightcontrol.0 2024-04-10 17:46:01.043 info [ SetWhiteSubstituteColor ] Reaching for Group="TreppeFlur" = "TreppeFlur" LightGroups[Group].power="true" LightGroups[Group].color="#FFFFFF lightcontrol.0 2024-04-10 17:46:01.042 debug [ onStateChange ] state lightcontrol.0.TreppeFlur.color changed: #FFFFFF (ack = true) lightcontrol.0 2024-04-10 17:46:00.993 info [ SetColor ] Reaching for Group="TreppeFlur" power="true" Color="#FFFFFF" lightcontrol.0 2024-04-10 17:46:00.992 debug [ onStateChange ] state lightcontrol.0.TreppeFlur.bri changed: 56 (ack = true) lightcontrol.0 2024-04-10 17:46:00.885 debug [ setDeviceBri ] Switching with Brightness is activated. No min. Brightness needed. Actual Brightness = "56" lightcontrol.0 2024-04-10 17:46:00.884 debug [ setDeviceBri ] Switching with Brightness is activated. No min. Brightness needed. Actual Brightness = "56" lightcontrol.0 2024-04-10 17:46:00.884 debug [ SetBrightness ] Reaching for Group="TreppeFlur", Brightness="56, PowerState="true" lightcontrol.0 2024-04-10 17:46:00.883 info [ PowerOnAfterCare ] Now setting bri to 56% for Group="TreppeFlur" lightcontrol.0 2024-04-10 17:46:00.883 info [ PowerOnAfterCare ] Reaching for Group="TreppeFlur" bri="56" ct="3300" color="#FFFFFF" lightcontrol.0 2024-04-10 17:46:00.882 info [ SetWhiteSubstituteColor ] Reaching for Group="TreppeFlur" = "TreppeFlur" LightGroups[Group].power="true" LightGroups[Group].color="#FFFFFF lightcontrol.0 2024-04-10 17:46:00.881 debug [ SetLightState ] Set State "All.anyOn" to true from function="GroupPowerOnOff" lightcontrol.0 2024-04-10 17:46:00.880 debug [ onStateChange ] state lightcontrol.0.All.power changed: false (ack = true) lightcontrol.0 2024-04-10 17:46:00.843 debug [ onStateChange ] state lightcontrol.0.TreppeFlur.power changed: true (ack = true) lightcontrol.0 2024-04-10 17:46:00.819 debug [ AutoOffTimed ] Start Timeout lightcontrol.0 2024-04-10 17:46:00.818 debug clearAutoOffTimeout => Timeout for Group="TreppeFlur" deleted. lightcontrol.0 2024-04-10 17:46:00.818 debug [ AutoOffTimed ] Reaching for Group="TreppeFlur" set time="60" LightGroups[TreppeFlur].isMotion="true" LightGroups[TreppeFlur].autoOffTimed.noAutoOffWhenMotion="true" lightcontrol.0 2024-04-10 17:46:00.818 debug [ SimpleGroupPowerOnOff ] Switching on Treppe OG (alias.0.TreppeFlur.Deckenlampe.OG_Deckenlampe.SET) with brightness state lightcontrol.0 2024-04-10 17:46:00.817 debug [ setDeviceBri ] Switching with Brightness is activated. No min. Brightness needed. Actual Brightness = "56" lightcontrol.0 2024-04-10 17:46:00.817 debug [ SimpleGroupPowerOnOff ] Switching on Treppe EG (alias.0.TreppeFlur.Deckenlampe.EG_Deckenlampe.SET) with brightness state lightcontrol.0 2024-04-10 17:46:00.815 debug [ setDeviceBri ] Switching with Brightness is activated. No min. Brightness needed. Actual Brightness = "56" lightcontrol.0 2024-04-10 17:46:00.814 debug [ GroupPowerOnOff ] Reaching for Group="TreppeFlur", OnOff="true" rampOn="false" - {"enabled":false,"time":10,"switchOutletsLast":true} rampOff="true" - {"enabled":true,"time":20,"switchOutletsLast":true} lightcontrol.0 2024-04-10 17:46:00.813 info Motion for Group="TreppeFlur detected, switching on lightcontrol.0 2024-04-10 17:46:00.813 debug Reaching AutoOnMotion for Group:"TreppeFlur, enabled="true", actuallux="0", minLux="2" lightcontrol.0 2024-04-10 17:46:00.813 debug [ AutoOffTimed ] Start Timeout lightcontrol.0 2024-04-10 17:46:00.812 debug [ AutoOffTimed ] Reaching for Group="TreppeFlur" set time="60" LightGroups[TreppeFlur].isMotion="true" LightGroups[TreppeFlur].autoOffTimed.noAutoOffWhenMotion="true" lightcontrol.0 2024-04-10 17:46:00.811 info [ Controller ] Reaching, Group="TreppeFlur" Property="isMotion" NewVal="true", OldVal=true" lightcontrol.0 2024-04-10 17:46:00.754 debug [ SummarizeSensors ] Motionstate="TreppeFlur" = true, nothing changed -> nothin to do lightcontrol.0 2024-04-10 17:46:00.754 debug [ SummarizeSensors ] Group="TreppeFlur" Sensor with target "alias.0.TreppeFlur.Sensoren.BWM_Treppe_Oben.ACTUAL" has value true lightcontrol.0 2024-04-10 17:46:00.753 debug [ SummarizeSensors ] Reaching, Group="TreppeFlur" lightcontrol.0 2024-04-10 17:46:00.753 debug [ onStateChange ] Sensor in Group="TreppeFlur". This isMotion="true" lightcontrol.0 2024-04-10 17:46:00.753 debug [ onStateChange ] It's a MotionSensor in following Group: TreppeFlur lightcontrol.0 2024-04-10 17:46:00.753 debug [ onStateChange ] ExternalState lightcontrol.0 2024-04-10 17:46:00.752 debug [ onStateChange ] state alias.0.TreppeFlur.Sensoren.BWM_Treppe_Oben.ACTUAL changed: true (ack = true) lightcontrol.0 2024-04-10 17:46:00.752 debug [ SummarizeSensors ] Summarized IsMotion for Group="TreppeFlur" = true, go to Controller... lightcontrol.0 2024-04-10 17:46:00.752 debug [ SummarizeSensors ] Group="TreppeFlur" Sensor with target "alias.0.TreppeFlur.Sensoren.BWM_Treppe_Oben.ACTUAL" has value true lightcontrol.0 2024-04-10 17:46:00.751 debug [ SummarizeSensors ] Reaching, Group="TreppeFlur" lightcontrol.0 2024-04-10 17:46:00.751 debug [ onStateChange ] Sensor in Group="TreppeFlur". This isMotion="true" lightcontrol.0 2024-04-10 17:46:00.751 debug [ onStateChange ] It's a MotionSensor in following Group: TreppeFlur lightcontrol.0 2024-04-10 17:46:00.750 debug [ onStateChange ] ExternalState lightcontrol.0 2024-04-10 17:46:00.750 debug [ onStateChange ] state alias.0.TreppeFlur.Sensoren.BWM_Treppe_Oben.ACTUAL changed: true (ack = true) lightcontrol.0 2024-04-10 17:45:30.271 debug Reaching AutoOnMotion for Group:"Hof, enabled="false", actuallux="26263", minLux="300" lightcontrol.0 2024-04-10 17:45:30.271 debug [ AutoOffLux ] Reaching for Group="Hof" lightcontrol.0 2024-04-10 17:45:30.270 debug Reaching AutoOnLux for Group="Hof enabled="false", actuallux="26263", minLux="50" LightGroups[Group].autoOnLux.dailyLock="false" lightcontrol.0 2024-04-10 17:45:30.270 info [ Controller ] Reaching, Group="Hof" Property="actualLux" NewVal="26263", OldVal=26263" lightcontrol.0 2024-04-10 17:45:30.269 debug [ onStateChange ] It's a LuxSensor in following Group: Hof with value = 26263 (old value = 26915) lightcontrol.0 2024-04-10 17:45:30.268 debug [ onStateChange ] ExternalState lightcontrol.0 2024-04-10 17:45:30.268 debug [ onStateChange ] state alias.0.Garten.Vorgaten.BWMVorgarten.SECOND changed: 26263 (ack = true) lightcontrol.0 2024-04-10 17:45:02.049 debug [ SetLightState ] Set State "All.anyOn" to true from function="noFunction" lightcontrol.0 2024-04-10 17:45:02.049 debug [ onStateChange ] state lightcontrol.0.All.power changed: false (ack = true) lightcontrol.0 2024-04-10 17:45:01.997 info Successfully activated LightControl for 9 of 9 states, will do my Job until you stop me! lightcontrol.0 2024-04-10 17:45:01.997 debug [ InitCustomStates ] subscribed all foreign objects to detect (de)activation of LightControl enabled states lightcontrol.0 2024-04-10 17:45:01.994 debug [ buildStateDetailsArray ] Updated LightGroups: {"Wohnzimmer":{"description":"Wohnzimmer","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[],"sensors":[],"actualLux":0,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Kueche":{"description":"Kueche","LuxSensor":"alias.0.Kueche.Sensoren.BWM_Küche.SECOND","lights":[],"sensors":[],"actualLux":73,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"WC":{"description":"WC","LuxSensor":"alias.0.WC.Bewegungsmelder.SECOND","lights":[{"description":"Lampe WC","power":{"oid":"alias.0.WC.Lampe.ON_SET","onVal":true,"offVal":false},"bri":{"oid":"alias.0.WC.Lampe.SET","minVal":0,"maxVal":100,"defaultBri":100,"useBri":false}}],"sensors":[{"oid":"alias.0.WC.Bewegungsmelder.ACTUAL","motionVal":true,"noMotionVal":false,"isMotion":false}],"actualLux":8,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":5,"bri":76,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":true,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":true,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":true,"minLux":3,"bri":76,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":true,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"TreppeFlur":{"description":"TreppeFlur","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[{"description":"Treppe EG","power":{"oid":"alias.0.TreppeFlur.Deckenlampe.EG_Deckenlampe.ON_SET","onVal":true,"offVal":false},"bri":{"oid":"alias.0.TreppeFlur.Deckenlampe.EG_Deckenlampe.SET","minVal":0,"maxVal":100,"defaultBri":100,"useBri":true}},{"description":"Treppe OG","power":{"oid":"alias.0.TreppeFlur.Deckenlampe.OG_Deckenlampe.ON_SET","onVal":true,"offVal":false},"bri":{"oid":"alias.0.TreppeFlur.Deckenlampe.OG_Deckenlampe.SET","minVal":0,"maxVal":100,"defaultBri":100,"useBri":true}}],"sensors":[{"oid":"alias.0.TreppeFlur.Sensoren.BWM_Treppe_Oben.ACTUAL","motionVal":true,"noMotionVal":false,"isMotion":false},{"oid":"alias.0.TreppeFlur.Sensoren.BWM_Treppe_Unten.ACTUAL","motionVal":true,"noMotionVal":false,"isMotion":false}],"actualLux":0,"powerNewVal":true,"power":true,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":56,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":true,"autoOffTime":60,"noAutoOffWhenMotion":true,"noticeEnabled":true,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":true,"minLux":20,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":true,"minLux":2,"bri":56,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":true,"time":20,"switchOutletsLast":true},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Bad":{"description":"Bad","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[],"sensors":[],"actualLux":0,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Schlafzimmer":{"description":"Schlafzimmer","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[],"sensors":[],"actualLux":0,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Kinderzimmer_Ede":{"description":"Kinderzimmer_Ede","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[],"sensors":[],"actualLux":0,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Kinderzimmer_Edda":{"description":"Kinderzimmer_Edda","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[],"sensors":[],"actualLux":0,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Balkon":{"description":"Balkon","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[],"sensors":[],"actualLux":0,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Hof":{"description":"Hof","LuxSensor":"alias.0.Garten.Vorgaten.BWMVorgarten.SECOND","lights":[],"sensors":[],"actualLux":26915,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Garten":{"description":"Garten","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[],"sensors":[],"actualLux":0,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Loch":{"description":"Loch","LuxSensor":"alias.0.Loch.Sensoren.BWM.SECOND","lights":[],"sensors":[],"actualLux":8,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"All":{"powerNewVal":false,"power":false,"anyOn":true}} lightcontrol.0 2024-04-10 17:45:01.994 debug [ buildStateDetailsArray ] completed for alias.0.WC.Lampe.SET. lightcontrol.0 2024-04-10 17:45:01.994 info Initialization of alias.0.WC.Lampe.SET successfully lightcontrol.0 2024-04-10 17:45:01.994 debug [ buildStateDetailsArray ] Type: Light, in Group: WC with Lights: [{"description":"Lampe WC","power":{"oid":"alias.0.WC.Lampe.ON_SET","onVal":true,"offVal":false},"bri":{"oid":"alias.0.WC.Lampe.SET","minVal":0,"maxVal":100,"defaultBri":100,"useBri":false}}] and Light: {"description":"Lampe WC","power":{"oid":"alias.0.WC.Lampe.ON_SET","onVal":true,"offVal":false},"bri":{"oid":"alias.0.WC.Lampe.SET","minVal":0,"maxVal":100,"defaultBri":100,"useBri":false}} with Index: 0 lightcontrol.0 2024-04-10 17:45:01.994 debug [ buildLightGroupParameter ] customData {"enabled":true,"ctConversion":"warmToCool","minKelvin":"2100","maxKelvin":"6500","whiteModeVal":"false","colorModeVal":"true","colorType":"hex","defaultColor":"#FFFFFF","sendCt":true,"sendSat":true,"sendColor":true,"sendModeswitch":true,"useBri":false,"type":"light","func":"bri","onVal":1,"offVal":0,"minVal":0,"maxVal":100,"unit":null,"defaultBri":100,"motionVal":"On","noMotionVal":"Off","group":"WC","description":"Lampe WC"} lightcontrol.0 2024-04-10 17:45:01.991 debug [ InitCustomStates ] Initialising (9 of 9) "alias.0.WC.Lampe.SET" lightcontrol.0 2024-04-10 17:45:01.991 info Initialization of alias.0.WC.Lampe.ON_SET successfully lightcontrol.0 2024-04-10 17:45:01.991 debug [ buildStateDetailsArray ] started for alias.0.WC.Lampe.SET
-
@danny_v1 sagte in Adapter LightControl 0.4.x Stable:
So das mit dem Bewegungsmeldern scheint erst mal zu funktionieren, aber das mit dem minLux noch nicht. Hier das Log dazu:
lightcontrol.0 2024-04-10 17:46:01.676 debug [ AdaptiveCt ] adaptiveCtLinear="3921" adaptiveCtSolar="3996" lightcontrol.0 2024-04-10 17:46:01.676 debug [ AdaptiveCt ] minCT="2700", maxCt="6500", sunset="1712771780415", sunrise="1712723128044", solarNoon="1712747454229" lightcontrol.0 2024-04-10 17:46:01.675 debug [ AdaptiveCt // getAstroDate] sunsetDate="Wed Apr 10 2024 19:56:20 GMT+0200 (Mitteleuropäische Sommerzeit)", sunriseDate="Wed Apr 10 2024 06:25:28 GMT+0200 (Mitteleuropäische Sommerzeit)", solarNoonDate="Wed Apr 10 2024 13:10:54 GMT+0200 (Mitteleuropäische Sommerzeit)" lightcontrol.0 2024-04-10 17:46:01.675 debug [ getAstroDate ] getAstroDate(pattern=solarNoon, date=Wed Apr 10 2024 12:00:00 GMT+0200 (Mitteleuropäische Sommerzeit)) => Wed Apr 10 2024 13:10:54 GMT+0200 (Mitteleuropäische Sommerzeit) lightcontrol.0 2024-04-10 17:46:01.675 debug [ getAstroDate ] getAstroDate(pattern=sunrise, date=Wed Apr 10 2024 12:00:00 GMT+0200 (Mitteleuropäische Sommerzeit)) => Wed Apr 10 2024 06:25:28 GMT+0200 (Mitteleuropäische Sommerzeit) lightcontrol.0 2024-04-10 17:46:01.674 debug [ getAstroDate ] getAstroDate(pattern=sunset, date=Wed Apr 10 2024 12:00:00 GMT+0200 (Mitteleuropäische Sommerzeit)) => Wed Apr 10 2024 19:56:20 GMT+0200 (Mitteleuropäische Sommerzeit) lightcontrol.0 2024-04-10 17:46:01.674 debug [ AdaptiveCt ] minCT="2700", maxCt="6500", CtRange="3800" lightcontrol.0 2024-04-10 17:46:01.100 debug [ onStateChange ] state lightcontrol.0.TreppeFlur.ct changed: 3300 (ack = true) lightcontrol.0 2024-04-10 17:46:01.044 debug Reaching SetCt, Group="TreppeFlur" Ct="3300" lightcontrol.0 2024-04-10 17:46:01.043 info [ SetColorMode ] Reaching for Group="TreppeFlur" lightcontrol.0 2024-04-10 17:46:01.043 info [ SetWhiteSubstituteColor ] Reaching for Group="TreppeFlur" = "TreppeFlur" LightGroups[Group].power="true" LightGroups[Group].color="#FFFFFF lightcontrol.0 2024-04-10 17:46:01.042 debug [ onStateChange ] state lightcontrol.0.TreppeFlur.color changed: #FFFFFF (ack = true) lightcontrol.0 2024-04-10 17:46:00.993 info [ SetColor ] Reaching for Group="TreppeFlur" power="true" Color="#FFFFFF" lightcontrol.0 2024-04-10 17:46:00.992 debug [ onStateChange ] state lightcontrol.0.TreppeFlur.bri changed: 56 (ack = true) lightcontrol.0 2024-04-10 17:46:00.885 debug [ setDeviceBri ] Switching with Brightness is activated. No min. Brightness needed. Actual Brightness = "56" lightcontrol.0 2024-04-10 17:46:00.884 debug [ setDeviceBri ] Switching with Brightness is activated. No min. Brightness needed. Actual Brightness = "56" lightcontrol.0 2024-04-10 17:46:00.884 debug [ SetBrightness ] Reaching for Group="TreppeFlur", Brightness="56, PowerState="true" lightcontrol.0 2024-04-10 17:46:00.883 info [ PowerOnAfterCare ] Now setting bri to 56% for Group="TreppeFlur" lightcontrol.0 2024-04-10 17:46:00.883 info [ PowerOnAfterCare ] Reaching for Group="TreppeFlur" bri="56" ct="3300" color="#FFFFFF" lightcontrol.0 2024-04-10 17:46:00.882 info [ SetWhiteSubstituteColor ] Reaching for Group="TreppeFlur" = "TreppeFlur" LightGroups[Group].power="true" LightGroups[Group].color="#FFFFFF lightcontrol.0 2024-04-10 17:46:00.881 debug [ SetLightState ] Set State "All.anyOn" to true from function="GroupPowerOnOff" lightcontrol.0 2024-04-10 17:46:00.880 debug [ onStateChange ] state lightcontrol.0.All.power changed: false (ack = true) lightcontrol.0 2024-04-10 17:46:00.843 debug [ onStateChange ] state lightcontrol.0.TreppeFlur.power changed: true (ack = true) lightcontrol.0 2024-04-10 17:46:00.819 debug [ AutoOffTimed ] Start Timeout lightcontrol.0 2024-04-10 17:46:00.818 debug clearAutoOffTimeout => Timeout for Group="TreppeFlur" deleted. lightcontrol.0 2024-04-10 17:46:00.818 debug [ AutoOffTimed ] Reaching for Group="TreppeFlur" set time="60" LightGroups[TreppeFlur].isMotion="true" LightGroups[TreppeFlur].autoOffTimed.noAutoOffWhenMotion="true" lightcontrol.0 2024-04-10 17:46:00.818 debug [ SimpleGroupPowerOnOff ] Switching on Treppe OG (alias.0.TreppeFlur.Deckenlampe.OG_Deckenlampe.SET) with brightness state lightcontrol.0 2024-04-10 17:46:00.817 debug [ setDeviceBri ] Switching with Brightness is activated. No min. Brightness needed. Actual Brightness = "56" lightcontrol.0 2024-04-10 17:46:00.817 debug [ SimpleGroupPowerOnOff ] Switching on Treppe EG (alias.0.TreppeFlur.Deckenlampe.EG_Deckenlampe.SET) with brightness state lightcontrol.0 2024-04-10 17:46:00.815 debug [ setDeviceBri ] Switching with Brightness is activated. No min. Brightness needed. Actual Brightness = "56" lightcontrol.0 2024-04-10 17:46:00.814 debug [ GroupPowerOnOff ] Reaching for Group="TreppeFlur", OnOff="true" rampOn="false" - {"enabled":false,"time":10,"switchOutletsLast":true} rampOff="true" - {"enabled":true,"time":20,"switchOutletsLast":true} lightcontrol.0 2024-04-10 17:46:00.813 info Motion for Group="TreppeFlur detected, switching on lightcontrol.0 2024-04-10 17:46:00.813 debug Reaching AutoOnMotion for Group:"TreppeFlur, enabled="true", actuallux="0", minLux="2" lightcontrol.0 2024-04-10 17:46:00.813 debug [ AutoOffTimed ] Start Timeout lightcontrol.0 2024-04-10 17:46:00.812 debug [ AutoOffTimed ] Reaching for Group="TreppeFlur" set time="60" LightGroups[TreppeFlur].isMotion="true" LightGroups[TreppeFlur].autoOffTimed.noAutoOffWhenMotion="true" lightcontrol.0 2024-04-10 17:46:00.811 info [ Controller ] Reaching, Group="TreppeFlur" Property="isMotion" NewVal="true", OldVal=true" lightcontrol.0 2024-04-10 17:46:00.754 debug [ SummarizeSensors ] Motionstate="TreppeFlur" = true, nothing changed -> nothin to do lightcontrol.0 2024-04-10 17:46:00.754 debug [ SummarizeSensors ] Group="TreppeFlur" Sensor with target "alias.0.TreppeFlur.Sensoren.BWM_Treppe_Oben.ACTUAL" has value true lightcontrol.0 2024-04-10 17:46:00.753 debug [ SummarizeSensors ] Reaching, Group="TreppeFlur" lightcontrol.0 2024-04-10 17:46:00.753 debug [ onStateChange ] Sensor in Group="TreppeFlur". This isMotion="true" lightcontrol.0 2024-04-10 17:46:00.753 debug [ onStateChange ] It's a MotionSensor in following Group: TreppeFlur lightcontrol.0 2024-04-10 17:46:00.753 debug [ onStateChange ] ExternalState lightcontrol.0 2024-04-10 17:46:00.752 debug [ onStateChange ] state alias.0.TreppeFlur.Sensoren.BWM_Treppe_Oben.ACTUAL changed: true (ack = true) lightcontrol.0 2024-04-10 17:46:00.752 debug [ SummarizeSensors ] Summarized IsMotion for Group="TreppeFlur" = true, go to Controller... lightcontrol.0 2024-04-10 17:46:00.752 debug [ SummarizeSensors ] Group="TreppeFlur" Sensor with target "alias.0.TreppeFlur.Sensoren.BWM_Treppe_Oben.ACTUAL" has value true lightcontrol.0 2024-04-10 17:46:00.751 debug [ SummarizeSensors ] Reaching, Group="TreppeFlur" lightcontrol.0 2024-04-10 17:46:00.751 debug [ onStateChange ] Sensor in Group="TreppeFlur". This isMotion="true" lightcontrol.0 2024-04-10 17:46:00.751 debug [ onStateChange ] It's a MotionSensor in following Group: TreppeFlur lightcontrol.0 2024-04-10 17:46:00.750 debug [ onStateChange ] ExternalState lightcontrol.0 2024-04-10 17:46:00.750 debug [ onStateChange ] state alias.0.TreppeFlur.Sensoren.BWM_Treppe_Oben.ACTUAL changed: true (ack = true) lightcontrol.0 2024-04-10 17:45:30.271 debug Reaching AutoOnMotion for Group:"Hof, enabled="false", actuallux="26263", minLux="300" lightcontrol.0 2024-04-10 17:45:30.271 debug [ AutoOffLux ] Reaching for Group="Hof" lightcontrol.0 2024-04-10 17:45:30.270 debug Reaching AutoOnLux for Group="Hof enabled="false", actuallux="26263", minLux="50" LightGroups[Group].autoOnLux.dailyLock="false" lightcontrol.0 2024-04-10 17:45:30.270 info [ Controller ] Reaching, Group="Hof" Property="actualLux" NewVal="26263", OldVal=26263" lightcontrol.0 2024-04-10 17:45:30.269 debug [ onStateChange ] It's a LuxSensor in following Group: Hof with value = 26263 (old value = 26915) lightcontrol.0 2024-04-10 17:45:30.268 debug [ onStateChange ] ExternalState lightcontrol.0 2024-04-10 17:45:30.268 debug [ onStateChange ] state alias.0.Garten.Vorgaten.BWMVorgarten.SECOND changed: 26263 (ack = true) lightcontrol.0 2024-04-10 17:45:02.049 debug [ SetLightState ] Set State "All.anyOn" to true from function="noFunction" lightcontrol.0 2024-04-10 17:45:02.049 debug [ onStateChange ] state lightcontrol.0.All.power changed: false (ack = true) lightcontrol.0 2024-04-10 17:45:01.997 info Successfully activated LightControl for 9 of 9 states, will do my Job until you stop me! lightcontrol.0 2024-04-10 17:45:01.997 debug [ InitCustomStates ] subscribed all foreign objects to detect (de)activation of LightControl enabled states lightcontrol.0 2024-04-10 17:45:01.994 debug [ buildStateDetailsArray ] Updated LightGroups: {"Wohnzimmer":{"description":"Wohnzimmer","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[],"sensors":[],"actualLux":0,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Kueche":{"description":"Kueche","LuxSensor":"alias.0.Kueche.Sensoren.BWM_Küche.SECOND","lights":[],"sensors":[],"actualLux":73,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"WC":{"description":"WC","LuxSensor":"alias.0.WC.Bewegungsmelder.SECOND","lights":[{"description":"Lampe WC","power":{"oid":"alias.0.WC.Lampe.ON_SET","onVal":true,"offVal":false},"bri":{"oid":"alias.0.WC.Lampe.SET","minVal":0,"maxVal":100,"defaultBri":100,"useBri":false}}],"sensors":[{"oid":"alias.0.WC.Bewegungsmelder.ACTUAL","motionVal":true,"noMotionVal":false,"isMotion":false}],"actualLux":8,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":5,"bri":76,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":true,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":true,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":true,"minLux":3,"bri":76,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":true,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"TreppeFlur":{"description":"TreppeFlur","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[{"description":"Treppe EG","power":{"oid":"alias.0.TreppeFlur.Deckenlampe.EG_Deckenlampe.ON_SET","onVal":true,"offVal":false},"bri":{"oid":"alias.0.TreppeFlur.Deckenlampe.EG_Deckenlampe.SET","minVal":0,"maxVal":100,"defaultBri":100,"useBri":true}},{"description":"Treppe OG","power":{"oid":"alias.0.TreppeFlur.Deckenlampe.OG_Deckenlampe.ON_SET","onVal":true,"offVal":false},"bri":{"oid":"alias.0.TreppeFlur.Deckenlampe.OG_Deckenlampe.SET","minVal":0,"maxVal":100,"defaultBri":100,"useBri":true}}],"sensors":[{"oid":"alias.0.TreppeFlur.Sensoren.BWM_Treppe_Oben.ACTUAL","motionVal":true,"noMotionVal":false,"isMotion":false},{"oid":"alias.0.TreppeFlur.Sensoren.BWM_Treppe_Unten.ACTUAL","motionVal":true,"noMotionVal":false,"isMotion":false}],"actualLux":0,"powerNewVal":true,"power":true,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":56,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":true,"autoOffTime":60,"noAutoOffWhenMotion":true,"noticeEnabled":true,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":true,"minLux":20,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":true,"minLux":2,"bri":56,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":true,"time":20,"switchOutletsLast":true},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Bad":{"description":"Bad","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[],"sensors":[],"actualLux":0,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Schlafzimmer":{"description":"Schlafzimmer","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[],"sensors":[],"actualLux":0,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Kinderzimmer_Ede":{"description":"Kinderzimmer_Ede","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[],"sensors":[],"actualLux":0,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Kinderzimmer_Edda":{"description":"Kinderzimmer_Edda","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[],"sensors":[],"actualLux":0,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Balkon":{"description":"Balkon","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[],"sensors":[],"actualLux":0,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Hof":{"description":"Hof","LuxSensor":"alias.0.Garten.Vorgaten.BWMVorgarten.SECOND","lights":[],"sensors":[],"actualLux":26915,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Garten":{"description":"Garten","LuxSensor":"alias.0.Wohnzimmer.BWMWohnzimmer.SECOND","lights":[],"sensors":[],"actualLux":0,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"Loch":{"description":"Loch","LuxSensor":"alias.0.Loch.Sensoren.BWM.SECOND","lights":[],"sensors":[],"actualLux":8,"powerNewVal":false,"power":false,"dimmUp":false,"dimmDown":false,"dimmAmount":10,"bri":100,"ct":3300,"color":"#FFFFFF","adaptiveBri":false,"adaptiveCt":false,"adaptiveCtMode":"solar","adaptiveCtTime":"06:00","powerCleaningLight":false,"isMotion":false,"autoOffTimed":{"enabled":false,"autoOffTime":120,"noAutoOffWhenMotion":true,"noticeEnabled":false,"noticeBri":10,"noticeTime":10},"autoOffLux":{"enabled":false,"minLux":500,"dailyLock":false,"operator":">","dailyLockCounter":0},"autoOnMotion":{"enabled":false,"minLux":300,"bri":0,"color":"#FFFFFF"},"autoOnLux":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF","switchOnlyWhenPresence":true,"switchOnlyWhenNoPresence":false,"dailyLock":false,"operator":"<","dailyLockCounter":0},"autoOnPresenceIncrease":{"enabled":false,"minLux":50,"bri":0,"color":"#FFFFFF"},"rampOn":{"enabled":false,"time":10,"switchOutletsLast":true},"rampOff":{"enabled":false,"time":10,"switchOutletsLast":false},"blink":{"enabled":false,"start":false,"frequency":1,"blinks":3,"bri":100,"color":"#FF0000"}},"All":{"powerNewVal":false,"power":false,"anyOn":true}} lightcontrol.0 2024-04-10 17:45:01.994 debug [ buildStateDetailsArray ] completed for alias.0.WC.Lampe.SET. lightcontrol.0 2024-04-10 17:45:01.994 info Initialization of alias.0.WC.Lampe.SET successfully lightcontrol.0 2024-04-10 17:45:01.994 debug [ buildStateDetailsArray ] Type: Light, in Group: WC with Lights: [{"description":"Lampe WC","power":{"oid":"alias.0.WC.Lampe.ON_SET","onVal":true,"offVal":false},"bri":{"oid":"alias.0.WC.Lampe.SET","minVal":0,"maxVal":100,"defaultBri":100,"useBri":false}}] and Light: {"description":"Lampe WC","power":{"oid":"alias.0.WC.Lampe.ON_SET","onVal":true,"offVal":false},"bri":{"oid":"alias.0.WC.Lampe.SET","minVal":0,"maxVal":100,"defaultBri":100,"useBri":false}} with Index: 0 lightcontrol.0 2024-04-10 17:45:01.994 debug [ buildLightGroupParameter ] customData {"enabled":true,"ctConversion":"warmToCool","minKelvin":"2100","maxKelvin":"6500","whiteModeVal":"false","colorModeVal":"true","colorType":"hex","defaultColor":"#FFFFFF","sendCt":true,"sendSat":true,"sendColor":true,"sendModeswitch":true,"useBri":false,"type":"light","func":"bri","onVal":1,"offVal":0,"minVal":0,"maxVal":100,"unit":null,"defaultBri":100,"motionVal":"On","noMotionVal":"Off","group":"WC","description":"Lampe WC"} lightcontrol.0 2024-04-10 17:45:01.991 debug [ InitCustomStates ] Initialising (9 of 9) "alias.0.WC.Lampe.SET" lightcontrol.0 2024-04-10 17:45:01.991 info Initialization of alias.0.WC.Lampe.ON_SET successfully lightcontrol.0 2024-04-10 17:45:01.991 debug [ buildStateDetailsArray ] started for alias.0.WC.Lampe.SET
Es ist leider nicht der gesamte Log!
Welche Adapterversion verwendest du?Setze auch mal den minLux wert und zeige dann hier das log dazu.
BTW: kann ich aus dem log nicht erkennen, was falsch laufen sollte. Du redest etwas von Lux 5 und 30, jedoch sehe ich das im Log nicht.
Was isch sehe ist, das actualLux kleiner als minLux ist und somit das Licht ja angehen darf. -
@schmakus Ich habe es jetzt hinbekommen.
Hatte mir Test Datenpunkte erstellt um Lux Werte und das Triggern des Bewegungsmelders zu simulieren (das ich nicht warten muss bis der BWM wieder ausschaltet) ich nehme an das der Adapter einfach einen kompletten Neustart des Systems gebraucht hat.Er braucht auch einen um Änderungen an den verbundenen Lampen und Sensoren anzunehmen, richtig? Also wenn ich eine Lampe zusätzlich definiere muss ich den Adapter neu starten. Und Lampen brauchen definitiv einen Namen richtig?
Gibt es die Möglichkeit Sensoren und Lampen mehreren Gruppen zu zuweisen?
Edit: Achso Adapter Version ist 0.5.0
-
@danny_v1 sagte in Adapter LightControl 0.4.x Stable:
@schmakus Ich habe es jetzt hinbekommen.
Hatte mir Test Datenpunkte erstellt um Lux Werte und das Triggern des Bewegungsmelders zu simulieren (das ich nicht warten muss bis der BWM wieder ausschaltet) ich nehme an das der Adapter einfach einen kompletten Neustart des Systems gebraucht hat.Er braucht auch einen um Änderungen an den verbundenen Lampen und Sensoren anzunehmen, richtig? Also wenn ich eine Lampe zusätzlich definiere muss ich den Adapter neu starten. Und Lampen brauchen definitiv einen Namen richtig?
Gibt es die Möglichkeit Sensoren und Lampen mehreren Gruppen zu zuweisen?
Edit: Achso Adapter Version ist 0.5.0
Änderungen an den Instanzeinstellungen führen automatisch zum Neustart des Adapters.
Nach dem Hinzufügen von Lampen und Sensoren ist kein Adapterneustart nötig.
Wenn eine Änderung eines Wert eines Datenpunkts nicht übernommen werden sollte, dann bitte Issue aufmachen.Das Hinzufügen von Lampen und Sensoren in mehreren Gruppen wird mit der neuen großen Version 1.x möglich sein.
Hier bedarf es noch etwas Zeit meinerseits. -
@schmakus Sehr schön das wäre sehr toll wenn das Möglich wäre. Aber jetzt läuft der Adapter sehr gut, bin froh die Umstellung von Phoscon gemacht zu haben. Danke!!!