Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ramp down doesn't switch off the lights - error in log #80

Closed
Ilovegym66 opened this issue Jan 3, 2023 · 9 comments
Closed

Ramp down doesn't switch off the lights - error in log #80

Ilovegym66 opened this issue Jan 3, 2023 · 9 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@Ilovegym66
Copy link

Ilovegym66 commented Jan 3, 2023

With ramp down is enabled and switch off the light group, the lights doesn't switch off, here is a bug see the logfile, please.
2023-01-03 07:23:08.300 - warn: lightcontrol.0 (158663) State "lightcontrol.0.tuya.0.bfca0ac8444651ebeeqcqy.20" has no existing object, this might lead to an error in future versions
Adapter Version 0.1.0, Node 16, NPM 8

Logfile:

`
2023-01-03 07:15:57.912 - info: lightcontrol.0 (158663) onObjectChange => Enable LightControl for : tuya.0.bfca0ac8444651ebeeqcqy.24-rgb
2023-01-03 07:16:19.141 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="color" NewVal="#22FFAA", OldVal=""
2023-01-03 07:16:32.295 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="4", OldVal="4"
2023-01-03 07:17:07.190 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="3", OldVal="3"
2023-01-03 07:17:27.136 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="4", OldVal="4"
2023-01-03 07:17:45.300 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="bri" NewVal="100", OldVal=""
2023-01-03 07:17:52.060 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="14", OldVal="14"
2023-01-03 07:18:08.040 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="color" NewVal="#11FFAA", OldVal=""
2023-01-03 07:18:16.995 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="5", OldVal="5"
2023-01-03 07:18:31.953 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="3", OldVal="3"
2023-01-03 07:18:42.465 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="ct" NewVal="4500", OldVal=""
2023-01-03 07:18:56.957 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="bri" NewVal="100", OldVal=""
2023-01-03 07:19:04.540 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="dimmDown" NewVal="true", OldVal=""
2023-01-03 07:19:04.546 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="bri" NewVal="90", OldVal=""
2023-01-03 07:19:06.854 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="14", OldVal="14"
2023-01-03 07:19:25.570 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="dimmUp" NewVal="true", OldVal=""
2023-01-03 07:19:25.575 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="bri" NewVal="100", OldVal=""
2023-01-03 07:19:49.914 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="rampOn.enabled" NewVal="true", OldVal=""
2023-01-03 07:20:04.107 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="rampOff.enabled" NewVal="true", OldVal=""
2023-01-03 07:20:14.873 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="power" NewVal="false", OldVal="true"
2023-01-03 07:20:14.880 - info: lightcontrol.0 (158663) Reaching powerOnAfterCare for Group="BueroBOG" bri="100" ct="4500" color="#11FFAA"
2023-01-03 07:20:24.882 - warn: lightcontrol.0 (158663) State "lightcontrol.0.tuya.0.bfca0ac8444651ebeeqcqy.20" has no existing object, this might lead to an error in future versions
2023-01-03 07:20:24.886 - warn: lightcontrol.0 (158663) State "lightcontrol.0.tuya.0.bff755bafd2a4ec063efix.20" has no existing object, this might lead to an error in future versions
2023-01-03 07:20:26.623 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="9", OldVal="9"
2023-01-03 07:20:41.580 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="4", OldVal="4"
2023-01-03 07:20:57.839 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="rampOff.switchOutletsLast" NewVal="true", OldVal=""
2023-01-03 07:21:08.494 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="power" NewVal="true", OldVal="false"
2023-01-03 07:21:08.513 - info: lightcontrol.0 (158663) Reaching powerOnAfterCare for Group="BueroBOG" bri="100" ct="4500" color="#11FFAA"
2023-01-03 07:21:16.474 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="6", OldVal="6"
2023-01-03 07:21:31.434 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="15", OldVal="15"
2023-01-03 07:21:35.003 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="power" NewVal="false", OldVal="true"
2023-01-03 07:21:35.011 - info: lightcontrol.0 (158663) Reaching powerOnAfterCare for Group="BueroBOG" bri="100" ct="4500" color="#11FFAA"
2023-01-03 07:21:46.396 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="9", OldVal="9"
2023-01-03 07:22:01.352 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="4", OldVal="4"
2023-01-03 07:22:08.130 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="rampOn.switchOutletsLast" NewVal="false", OldVal=""
2023-01-03 07:22:13.745 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="rampOff.switchOutletsLast" NewVal="false", OldVal=""
2023-01-03 07:22:35.681 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="power" NewVal="true", OldVal="false"
2023-01-03 07:22:35.699 - info: lightcontrol.0 (158663) Reaching powerOnAfterCare for Group="BueroBOG" bri="100" ct="4500" color="#11FFAA"
2023-01-03 07:22:46.211 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="8", OldVal="8"
2023-01-03 07:22:58.285 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="power" NewVal="false", OldVal="true"
2023-01-03 07:22:58.294 - info: lightcontrol.0 (158663) Reaching powerOnAfterCare for Group="BueroBOG" bri="100" ct="4500" color="#11FFAA"
2023-01-03 07:23:01.172 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="14", OldVal="14"
2023-01-03 07:23:08.300 - warn: lightcontrol.0 (158663) State "lightcontrol.0.tuya.0.bfca0ac8444651ebeeqcqy.20" has no existing object, this might lead to an error in future versions
2023-01-03 07:23:08.302 - warn: lightcontrol.0 (158663) State "lightcontrol.0.tuya.0.bff755bafd2a4ec063efix.20" has no existing object, this might lead to an error in future versions

2023-01-03 07:23:16.126 - info: lightcontrol.0 (158663) Reaching Controller, Group="BueroBOG" Property="actualLux" NewVal="4", OldVal="4"

`

@Schmakus
Copy link
Owner

Schmakus commented Jan 3, 2023

Die Fehlermeldung sagt ja, dass "lightcontrol.0.tuya.0.bff755bafd2a4ec063efix.20" kein gültiges Object besitzt. Bedeutet, du hast den keinen Datenpunkt oder einen falschen Datenpunkt ausgewählt.

BTW: bei Issues immer den debug log posten.

@Schmakus Schmakus added the invalid This doesn't seem right label Jan 3, 2023
@Ilovegym66
Copy link
Author

debug log kommt.. hast recht. ABER was soll denn lightcontrol.0.tuya.0.xxxxxx.20 fuer ein Datenpunkt sein? Das sieht fuer mich so aus, dass da einfach nur tuya.0.xxxxx.20 gesteuert werden sollte, denn lightconrol.0.tuya.0.xxxx existiert ja garnicht.. oder verstehe ich die Fehlermeldung falsch?
Alle anderen Funktionen der Gruppe funktionieren, Farbe, Helligkeit, an/aus...

@Ilovegym66
Copy link
Author

Debuglog zum Issue
lightcontroldebug.zip

@Schmakus
Copy link
Owner

Schmakus commented Jan 3, 2023

@Ilovegym66 : Bitte tu mir einen Gefallen und filtere künftig den Log nach dem Adapter. Das macht es wesentlich einfacher zu lesen. Danke! :-) Für jetzt passt es!

@Ilovegym66
Copy link
Author

ok, ich erzeugte das Debuglog jetzt mit
iob logs --watch | grep lightcontrol

ist das so richtig, oder gibts noch ne bessere Variante?
Mag ja helfen so gut es geht und es dir so einfach wie moeglich machen :-)

@Schmakus Schmakus added the bug Something isn't working label Jan 3, 2023
@Schmakus
Copy link
Owner

Schmakus commented Jan 3, 2023

Hi, ja passt.
Heute Abend pushe ich ne Testversion. Ich konnte den Fehler selbst nicht reproduzieren, habe jedoch einige Abfragen korrigiert und hinzugefügt. Stay tuned....

@Schmakus
Copy link
Owner

Schmakus commented Jan 3, 2023

https://github.com/Schmakus/ioBroker.lightcontrol/tree/issue/ramp
Bitte mal testen. Wenns passt, werde ich es in die neue Version packen.

@Ilovegym66
Copy link
Author

Danke, sieht gut aus, der Fehler kommt nicht mehr.
Dafür hab ich jetzt folgendes im Log, obwohl der State richtig gesetzt sind, meckert er..?
Ausgeschaltet hat er nicht.

`
lightcontrol.0 | 2023-01-03 20:06:16.608 | warn | [ GroupPowerOnOff ] Can't switch on. No power & brightness state defined for Light = "StripeKurz" in Group = "WohnzimmerDG"
lightcontrol.0 | 2023-01-03 20:05:46.874 | warn | [ SimpleGroupPowerOnOff ] Can't switch off. No power state defined for Light = "StripeKurz" in Group = "WohnzimmerDG"
lightcontrol.0 | 2023-01-03 20:05:31.176 | warn | [ GroupPowerOnOff ] Can't switch on. No power & brightness state defined for Light = "StripeKurz" in Group = "WohnzimmerDG"

`

Sorry bin am Tablet ..

@Ilovegym66
Copy link
Author

Ahhh gerade gesehen, dass ich wohl ab und zu Switch und Mode-Switch vertauscht habe, warum auch immer….

@Schmakus Schmakus mentioned this issue Jan 3, 2023
Schmakus added a commit that referenced this issue Jan 3, 2023
@Schmakus Schmakus closed this as completed Jan 3, 2023
Schmakus added a commit that referenced this issue Jan 4, 2023
-   (Schmakus) Add Sentry Plugin
-   (Schmakus) Fix issue [#80](#80)
-   (Schmakus) general translation updates and translation of states
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants