Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter shuttercontrol v2.0.x

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter shuttercontrol v2.0.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • BanditFG
      BanditFG @simatec last edited by

      @simatec

      am Design Theme hab ich seit Tagen nichts umgestellt, steht eigentlich im Admin auf Dunkel..

      11.PNG

      ist das so richtig auf Debug eingestellt?? und wenn ja wie komme ich dann an den Debuglog??

      Warum der Log schon 38MB groß ist weis ich nicht, sonst sind die so pro Tag 2-3 MB groß.

      Ich bekomme aktuell vom Javascript Adapter sehr viele Warnungen wegen einem Script was den Batterie Zustand meiner Xiaomi Sensoren überwacht und damit ob die noch online sind. weiss aber nicht wo der Fehler liegt.

      1 Reply Last reply Reply Quote 0
      • BanditFG
        BanditFG @da_Woody last edited by

        @da_woody

        Wenn ich das jetzt richtig verstehe muss man auf Debug in der Instanz Reiter das ja für jeden Adapter Instanz einstellen?? Oder??

        Steht bei mir aktuell nur der shuttercontrol auf Debug alle anderen auf Info.

        11.PNG

        12.PNG

        13.PNG

        14.PNG

        15.PNG

        es sind eben ziemlich viele.

        da_Woody 1 Reply Last reply Reply Quote 0
        • da_Woody
          da_Woody @BanditFG last edited by

          @banditfg

          Wenn ich das jetzt richtig verstehe muss man auf Debug in der Instanz Reiter das ja für jeden Adapter Instanz einstellen?? Oder??

          ja.
          hab eigentlich die meisten auf warn eingestellt. dann bleibt das protokoll recht klein.

          amg_666 1 Reply Last reply Reply Quote 0
          • amg_666
            amg_666 @da_Woody last edited by

            Hallo,
            nur mal zur Info: Die 1.4.0 läuft bei mir nicht rund:

            host.iobroker
            	2021-12-01 10:05:02.849	error	instance system.adapter.shuttercontrol.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
            host.iobroker
            	2021-12-01 10:05:02.849	error	Caught by controller[0]: at listOnTimeout (node:internal/timers:557:17)
            host.iobroker
            	2021-12-01 10:05:02.849	error	Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.shuttercontrol/lib/sunProtect.js:30:56)
            host.iobroker
            	2021-12-01 10:05:02.849	error	Caught by controller[0]: at checkPendingAlarm (/opt/iobroker/node_modules/iobroker.shuttercontrol/lib/shutterAlarm.js:661:12)
            host.iobroker
            	2021-12-01 10:05:02.849	error	Caught by controller[0]: at new Promise (<anonymous>)
            host.iobroker
            	2021-12-01 10:05:02.849	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.shuttercontrol/lib/shutterAlarm.js:672:83
            host.iobroker
            	2021-12-01 10:05:02.848	error	Caught by controller[0]: at Adapter.getForeignStateAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1651:16)
            host.iobroker
            	2021-12-01 10:05:02.848	error	Caught by controller[0]: at new Promise (<anonymous>)
            host.iobroker
            	2021-12-01 10:05:02.848	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1652:16
            host.iobroker
            	2021-12-01 10:05:02.848	error	Caught by controller[0]: at Adapter.getForeignState (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6815:17)
            host.iobroker
            	2021-12-01 10:05:02.848	error	Caught by controller[0]: at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:501:19)
            host.iobroker
            	2021-12-01 10:05:02.848	error	Caught by controller[0]: Error: The id is empty! Please provide a valid id.
            host.iobroker
            	2021-12-01 10:05:02.847	error	Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
            

            Ich nutze allerdings schon npm 8.1.0 und node.js 16.13.0, nehme mal an dass es daran liegt.
            Ich wollte das hier auch nur zur Info posten, bin auf die 1.3.9 zurück und die läuft stabil

            simatec 1 Reply Last reply Reply Quote 0
            • simatec
              simatec Developer Most Active @amg_666 last edited by

              @amg_666 Zeige mal bitte deine Config der Alarm Settings

              amg_666 1 Reply Last reply Reply Quote 0
              • amg_666
                amg_666 @simatec last edited by

                @simatec Was genau meinst du? Die shuttercontrol Instanz steht auf "warn"

                simatec 1 Reply Last reply Reply Quote 0
                • simatec
                  simatec Developer Most Active @amg_666 last edited by

                  @amg_666 bb352ba9-a47b-4432-b4b7-a8884231ed0e-image.png

                  amg_666 1 Reply Last reply Reply Quote 0
                  • amg_666
                    amg_666 @simatec last edited by

                    @simatec ok, da habe ich nix eingetragen:

                    3f7f3a8f-b4bb-47b0-a88b-2e74cd9dd2eb-grafik.png

                    simatec 1 Reply Last reply Reply Quote 0
                    • simatec
                      simatec Developer Most Active @amg_666 last edited by

                      @amg_666 OK ... Fehler gefunden ... 1.4.1 kommt mit Fix

                      1 Reply Last reply Reply Quote 0
                      • BanditFG
                        BanditFG last edited by

                        @simatec ist das mit dem Umstellen auf Debug jetzt so richtig??

                        11.PNG

                        und wie komme ich dann an den LOG um ihn hier zu posten??

                        danke für die HIlfe

                        da_Woody 1 Reply Last reply Reply Quote 0
                        • da_Woody
                          da_Woody @BanditFG last edited by

                          @banditfg richtig, dann solltest du im protokoll alles sehn können. filtern auf shuttercontrol, kopieren, in codetags hier einfügen.

                          1 Reply Last reply Reply Quote 0
                          • simatec
                            simatec Developer Most Active last edited by

                            Ab sofort steht auf Github und in Kürze auch im latest die Version 1.4.1 zur Verfügung.

                            Da ab Version 1.4.0 der Code komplett überarbeitet und neu geschrieben wurde, bitte alles intensiv testen und bei Fehlern hier die Config und den debug-Log posten.

                            Changelog

                            1.4.1 (2021-12-01)

                            • (simatec) Code cleaning
                            • (simatec) Bugfix Alarm States
                            • (simatec) try & catch added
                            amg_666 1 Reply Last reply Reply Quote 1
                            • amg_666
                              amg_666 @simatec last edited by

                              @simatec sieht gut aus:

                              host.iobroker
                              	2021-12-01 13:21:57.436	info	instance system.adapter.shuttercontrol.0 started with pid 1263
                              host.iobroker
                              	2021-12-01 13:21:55.397	info	iobroker exit 0
                              host.iobroker
                              	2021-12-01 13:21:54.983	info	instance system.adapter.shuttercontrol.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                              host.iobroker
                              	2021-12-01 13:21:54.392	info	stopInstance system.adapter.shuttercontrol.0 send kill signal
                              host.iobroker
                              	2021-12-01 13:21:54.240	info	stopInstance system.adapter.shuttercontrol.0 (force=false, process=true)
                              host.iobroker
                              	2021-12-01 13:21:54.177	info	iobroker Update "system.adapter.shuttercontrol.0"
                              host.iobroker
                              	2021-12-01 13:21:54.028	info	iobroker upload [0] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/img/info-big.png img/info-big.png image/png
                              host.iobroker
                              	2021-12-01 13:21:53.966	info	iobroker upload [1] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/index_m.html index_m.html text/html
                              host.iobroker
                              	2021-12-01 13:21:53.898	info	iobroker upload [2] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/index_m.js index_m.js application/javascript
                              host.iobroker
                              	2021-12-01 13:21:53.824	info	iobroker upload [3] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/shuttercontrol.png shuttercontrol.png image/png
                              host.iobroker
                              	2021-12-01 13:21:53.765	info	iobroker upload [4] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/style.css style.css text/css
                              host.iobroker
                              	2021-12-01 13:21:53.641	info	iobroker upload [5] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/words.js words.js application/javascript
                              host.iobroker
                              	2021-12-01 13:21:30.161	info	iobroker NPM version: 8.1.0npm install simatec/ioBroker.shuttercontrol --loglevel error --prefix "/opt/iobroker" (System call)
                              host.iobroker
                              	2021-12-01 13:21:29.333	info	iobroker install simatec/ioBroker.shuttercontrol
                              host.iobroker
                              	2021-12-01 13:21:27.687	info	iobroker url simatec/ioBroker.shuttercontrol --host iobroker 
                              
                              simatec 1 Reply Last reply Reply Quote 0
                              • simatec
                                simatec Developer Most Active @amg_666 last edited by

                                @amg_666 Bitte alles intensiv testen. Da in shuttercontrol inzwischen zu viele Funktionen hinzu kamen und der Adapter in seinen Code Bausteinen explodierte, habe ich alles umgeschrieben ... Hoffe der Fehlerteufel hat sich dabei nirgends eingeschlichen

                                1 Reply Last reply Reply Quote 0
                                • BanditFG
                                  BanditFG last edited by

                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:30:02.109	debug	status alarm pending for hm-rpc.0.OEQ1299293.1.LEVEL: false
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:30:02.109	debug	start pendingAlarm to check if an alarm is currently pending (exept frost)
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:30:00.046	debug	Sun Elevation: 14.4°
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:30:00.045	debug	Sun Azimut: 202.5°
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:30:00.045	debug	calculate astrodata ...
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:28:07.643	debug	status alarm pending for hm-rpc.0.OEQ1299293.1.LEVEL: false
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:28:07.643	debug	start pendingAlarm to check if an alarm is currently pending (exept frost)
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:28:05.642	debug	insidetemperature changed: mihome.0.devices.weather_v1_158d0002321724.temperature Value: 18.54
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:28:02.558	debug	status alarm pending for hm-rpc.0.OEQ1299293.1.LEVEL: false
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:28:02.558	debug	start pendingAlarm to check if an alarm is currently pending (exept frost)
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:28:00.557	debug	insidetemperature changed: mihome.0.devices.weather_v1_158d000249074a.temperature Value: 19.87
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:27:44.046	debug	status alarm pending for hm-rpc.0.OEQ1299293.1.LEVEL: false
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:27:44.046	debug	start pendingAlarm to check if an alarm is currently pending (exept frost)
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:27:42.046	debug	outsidetemperature changed: viessmannapi.0.241772.0.features.heating.sensors.temperature.outside.properties.value.value Value: 6.1
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:27:22.681	debug	status alarm pending for hm-rpc.0.OEQ1299293.1.LEVEL: false
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:27:22.681	debug	start pendingAlarm to check if an alarm is currently pending (exept frost)
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:27:20.680	debug	insidetemperature changed: mihome.0.devices.weather_v1_158d000224ce57.temperature Value: 16.07
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:27:11.534	debug	status alarm pending for hm-rpc.0.OEQ1299293.1.LEVEL: false
                                  
                                  shuttercontrol.0
                                  4889	2021-12-01 13:27:11.534	debug	start pendingAlarm to check if an alarm is currently pending (exept frost)
                                  

                                  ich habe nen auch v1.4.1 instlliert und bekomme ständig diese Meldung

                                  simatec 1 Reply Last reply Reply Quote 0
                                  • simatec
                                    simatec Developer Most Active @BanditFG last edited by

                                    @banditfg Ja ist ja der debuglog. Da wird alles was im Adapter passiert angezeigt. So wie es ausschaut, reagiert der Adapter nur auf Änderungen deines Temperatursensors ...

                                    1 Reply Last reply Reply Quote 0
                                    • BanditFG
                                      BanditFG last edited by BanditFG

                                      @simatec

                                      ich hab auch mit v1.4.1 das Problem das der Wert von Alarm Frost Höhe verschwindet.

                                      und zwar so reproduzierbar:

                                      ich öffne über den Schraubenschlüssel bei der Shuttercontrol Instanz die Einstellung --> Extra Einstellungen -> Alarm Einstellungen -> gebe dort bei Alarm Frost Höhe den Wert 15 ein und klicke unten auf SPEICHERN

                                      dann gehen ich auf Haupteinstellungen wähle einen Rollladen über den Stift aus, schaue mir die Einstellungen da an und klicke unten wieder OK

                                      gehe ich dann wieder dort hin wo der Wert für Alarm Frost Höhe eingeben wird ist das Feld leer!!!

                                      mach ich irgendwas falsch????

                                      PS: nicht nur das Feld für Alarm Frost Höhe, sondern auch die anderen 5 Werte sind weg...

                                      simatec amg_666 2 Replies Last reply Reply Quote 0
                                      • simatec
                                        simatec Developer Most Active @BanditFG last edited by

                                        @banditfg Die Funktion habe ich nicht eingebaut und muss ich mir anschauen ... Aber ich habe eine Vermutung

                                        BanditFG 1 Reply Last reply Reply Quote 0
                                        • BanditFG
                                          BanditFG @simatec last edited by

                                          @simatec alle 5 Werte verschwinden so, nur die Auslöser Objekt IDs bleiben drin.

                                          1 Reply Last reply Reply Quote 0
                                          • amg_666
                                            amg_666 @BanditFG last edited by

                                            @banditfg Kann ich bestätigen. Ich nutze die Alarme nicht und da standen irgendwelche Defaultwerte drin (Bei Frosthöhe war es 80). Ich habe jetzt genau die Schritte von dir nachvollzogen und jetzt sind da alle Werte leer.
                                            Und weil ich Firefox nutze habe ich sicherheitshalber auch nochmal den Cache gelöscht, das hat aber nix gebracht, scheint ein bug im Adapter zu sein.

                                            simatec 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            759
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            rollladen rollladensteuerung shuttercontrol
                                            327
                                            7287
                                            8661873
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo