Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Blockly funktioniert nur sporadisch

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Blockly funktioniert nur sporadisch

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

      @duffy sagte: Manuell ein ist true !!

      Dann wurde es gesetzt, aber nicht wieder zurück gesetzt. Was sagt das letzte "Debug 4" Log?
      Versuche es mal so:

      Blockly_temp.JPG

      Duffy 1 Reply Last reply Reply Quote 0
      • Duffy
        Duffy @paul53 last edited by Duffy

        @paul53

        danke für die Unterstützung. Ich habe das einmal so umgesetzt und werde beobachten was passiert und hier an der Stelle berichten.

        Zu Deiner Frage zum Log von Debug 4, hier ist nichts im Protokoll erschienen.

        VG Duffy

        Edit:

        Jetzt gerade kam, nachdem ich das Blockly angepasst habe auch ein Debug 4.

        15:54:44.025	info	javascript.0 (965) script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: Manuell ein: false
        15:54:44.026	info	javascript.0 (965) script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: system.adapter.zigbee.0true Debug 1
        15:55:15.886	info	javascript.0 (965) script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: Manuell ein: false
        16:00:39.503	info	javascript.0 (965) script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: Manuell ein: false
        16:00:39.503	info	javascript.0 (965) script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: system.adapter.zigbee.0true Debug 1
        16:01:11.490	info	javascript.0 (965) script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: Manuell ein: false
        16:01:17.493	info	javascript.0 (965) script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: Manuell ein: false
        16:01:17.493	info	javascript.0 (965) script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: system.adapter.zigbee.0true Debug 1
        16:01:17.494	info	javascript.0 (965) script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: 0true Debug 2
        16:01:17.494	info	javascript.0 (965) script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: true Debug 3
        16:01:17.503	info	javascript.0 (965) script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: system.adapter.javascript.0true Debug 4
        16:01:49.480	info	javascript.0 (965) script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: Manuell ein: true
        
        paul53 1 Reply Last reply Reply Quote 0
        • paul53
          paul53 @Duffy last edited by paul53

          @duffy sagte: auch ein Debug 4.

          Der Trigger reagiert auf "wurde geändert"?

          Duffy 1 Reply Last reply Reply Quote 0
          • Duffy
            Duffy @paul53 last edited by

            @paul53

            Das ist mir ja mal wieder richtig peinlich aber ich weis damit leider nichts anzufangen 😟
            Muss ich was ändern oder passt alles in der aktuellen Situation?

            paul53 1 Reply Last reply Reply Quote 0
            • paul53
              paul53 @Duffy last edited by paul53

              @duffy sagte: Muss ich was ändern oder passt alles in der aktuellen Situation?

              Aktuelles Blockly zeigen.

              Duffy 1 Reply Last reply Reply Quote 0
              • Duffy
                Duffy @paul53 last edited by

                @paul53

                so schaut es aktuell aus.

                WZ.jpg

                paul53 1 Reply Last reply Reply Quote 0
                • paul53
                  paul53 @Duffy last edited by

                  @duffy sagte: so schaut es aktuell aus.

                  Du vergleichst unten mit der falschen Instanz. Richtig:

                  Blockly_temp.JPG

                  Duffy 1 Reply Last reply Reply Quote 0
                  • Duffy
                    Duffy @paul53 last edited by

                    @paul53

                    Meinst du so?

                    Unbenannt.PNG

                    paul53 1 Reply Last reply Reply Quote 0
                    • paul53
                      paul53 @Duffy last edited by

                      @duffy sagte: Meinst du so?

                      Nein: "javascript" statt "iot"

                      Duffy 1 Reply Last reply Reply Quote 0
                      • Duffy
                        Duffy @paul53 last edited by Duffy

                        @paul53

                        gearde gesehen nachdem ich zeichen für zeichen verglichen habe.

                        Unbenannt.PNG

                        Aktueller Stand.

                        Duffy 1 Reply Last reply Reply Quote 0
                        • Duffy
                          Duffy @Duffy last edited by

                          @paul53

                          WZ Licht über Alexa ausgeschaltet.

                          Jetzt sieht das Protokoll so aus wenn die Lampen einschalten:

                          admin.0
                          	2023-10-08 18:35:43.620	info	==> Connected system.user.admin from ::ffff:192.168.178.39
                          javascript.0
                          	2023-10-08 18:35:16.548	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: Manuell ein: true
                          admin.0
                          	2023-10-08 18:35:12.203	info	<== Disconnect system.user.admin from ::ffff:192.168.178.70 javascript
                          admin.0
                          	2023-10-08 18:35:12.202	info	<== Disconnect system.user.admin from ::ffff:192.168.178.70 admin
                          admin.0
                          	2023-10-08 18:35:12.201	info	<== Disconnect system.user.admin from ::ffff:192.168.178.70 javascript
                          admin.0
                          	2023-10-08 18:35:12.199	info	<== Disconnect system.user.admin from ::ffff:192.168.178.70 admin
                          javascript.0
                          	2023-10-08 18:34:45.471	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: truesystem.adapter.fritzdect.0 Debug 4
                          javascript.0
                          	2023-10-08 18:34:45.218	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: falsesystem.adapter.fritzdect.0 Debug 4
                          fritzdect.0
                          	2023-10-08 18:34:44.609	info	DECT ID: 130770151284-1 identified for command (state) : true
                          fritzdect.0
                          	2023-10-08 18:34:44.608	info	DECT ID: 130770137317-1 identified for command (state) : true
                          fritzdect.0
                          	2023-10-08 18:34:44.606	info	DECT ID: 130770143150-1 identified for command (state) : true
                          fritzdect.0
                          	2023-10-08 18:34:44.597	info	DECT ID: 087610197338 identified for command (state) : true
                          javascript.0
                          	2023-10-08 18:34:44.595	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: truesystem.adapter.javascript.0 Debug 4
                          javascript.0
                          	2023-10-08 18:34:44.587	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: true Debug 3
                          javascript.0
                          	2023-10-08 18:34:44.587	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: 0true Debug 2
                          javascript.0
                          	2023-10-08 18:34:44.587	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: system.adapter.zigbee.0true Debug 1
                          javascript.0
                          	2023-10-08 18:34:44.585	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: Manuell ein: false
                          
                          paul53 1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 @Duffy last edited by

                            @duffy sagte

                            javascript.0 2023-10-08 18:34:45.471	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: truesystem.adapter.fritzdect.0 Debug 4
                            javascript.0 2023-10-08 18:34:45.218	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: falsesystem.adapter.fritzdect.0 Debug 4
                            

                            Fritzdect liefert nach dem Ein-Kommando erst false und ca. 250 ms später true?

                            Duffy 1 Reply Last reply Reply Quote 0
                            • Duffy
                              Duffy @paul53 last edited by

                              @paul53

                              Ich habe es gerade noch einmal nachgestellt.

                              Erst alexa WZ aus und dann zum BWM hin bewegt zum auslösen.

                              Hier das Protokoll:

                              fritzdect.0
                              	2023-10-08 18:56:51.828	info	DECT ID: 130770151284-1 identified for command (state) : true
                              fritzdect.0
                              	2023-10-08 18:56:51.826	info	DECT ID: 130770137317-1 identified for command (state) : true
                              fritzdect.0
                              	2023-10-08 18:56:51.823	info	DECT ID: 130770143150-1 identified for command (state) : true
                              fritzdect.0
                              	2023-10-08 18:56:51.821	info	DECT ID: 087610197338 identified for command (state) : true
                              javascript.0
                              	2023-10-08 18:56:51.820	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: truesystem.adapter.javascript.0 Debug 4
                              javascript.0
                              	2023-10-08 18:56:51.812	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: true Debug 3
                              javascript.0
                              	2023-10-08 18:56:51.811	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: 0true Debug 2
                              javascript.0
                              	2023-10-08 18:56:51.810	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: system.adapter.zigbee.0true Debug 1
                              javascript.0
                              	2023-10-08 18:56:51.810	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: Manuell ein: false
                              javascript.0
                              	2023-10-08 18:56:45.825	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: falsesystem.adapter.fritzdect.0 Debug 4
                              javascript.0
                              	2023-10-08 18:56:45.390	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: truesystem.adapter.fritzdect.0 Debug 4
                              fritzdect.0
                              	2023-10-08 18:56:44.078	info	DECT ID: 087610197338 identified for command (state) : false
                              javascript.0
                              	2023-10-08 18:56:44.075	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: falsesystem.adapter.iot.0 Debug 4
                              fritzdect.0
                              	2023-10-08 18:56:44.038	info	DECT ID: 130770151284-1 identified for command (state) : false
                              fritzdect.0
                              	2023-10-08 18:56:44.035	info	DECT ID: 130770143150-1 identified for command (state) : false
                              fritzdect.0
                              	2023-10-08 18:56:44.030	info	DECT ID: 130770137317-1 identified for command (state) : false
                              
                              paul53 1 Reply Last reply Reply Quote 0
                              • paul53
                                paul53 @Duffy last edited by

                                @duffy sagte: Hier das Protokoll:

                                Das Problem ist offenbar, dass Fritzdect nach einem Kommando erst einmal den alten Wert und danach den neuen Wert zurück meldet. Dann kann man nicht mehr unterscheiden, was der Ursprung der Wertänderung ist.

                                Duffy 1 Reply Last reply Reply Quote 0
                                • Duffy
                                  Duffy @paul53 last edited by

                                  @paul53

                                  Ich habe im WZ 3 Fritz Lampen und eine Fritz Steckdose.
                                  Die Steckdose unterscheidet auch die Situation vom EZ wo das Licht immer funktioniert.
                                  Ich habe nun mal die FB Steckdose ausgesteckt und neu den BWM ausgelöst:

                                  fritzdect.0
                                  	2023-10-08 19:23:07.997	info	DECT ID: 130770151284-1 identified for command (state) : true
                                  fritzdect.0
                                  	2023-10-08 19:23:07.995	info	DECT ID: 130770137317-1 identified for command (state) : true
                                  fritzdect.0
                                  	2023-10-08 19:23:07.992	info	DECT ID: 130770143150-1 identified for command (state) : true
                                  fritzdect.0
                                  	2023-10-08 19:23:07.990	info	DECT ID: 087610197338 identified for command (state) : true
                                  javascript.0
                                  	2023-10-08 19:23:07.989	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: truesystem.adapter.javascript.0 Debug 4
                                  javascript.0
                                  	2023-10-08 19:23:07.982	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: true Debug 3
                                  javascript.0
                                  	2023-10-08 19:23:07.981	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: 0true Debug 2
                                  javascript.0
                                  	2023-10-08 19:23:07.981	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: system.adapter.zigbee.0true Debug 1
                                  javascript.0
                                  	2023-10-08 19:23:07.980	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: Manuell ein: false
                                  

                                  Das sieht jetzt so aus.

                                  paul53 1 Reply Last reply Reply Quote 0
                                  • paul53
                                    paul53 @Duffy last edited by paul53

                                    @duffy sagte: Das sieht jetzt so aus.

                                    Kommen da keine weiteren Antworten von Fritzdect? Falls nicht, sollte es so funktionieren

                                    Duffy 1 Reply Last reply Reply Quote 0
                                    • Duffy
                                      Duffy @paul53 last edited by Duffy

                                      @paul53

                                      Aber das war doch das Problem, oder?
                                      Das Licht geht jetzt ganz normal an nur halt die Lampe die über die Steckdose geschaltert wird (wurde) nicht.
                                      Dann könnte das doch die Ursache sein, oder?

                                      Edit: nein es kommen keine weiteren Meldungen.
                                      Machs aber gleich noch mal.

                                      Duffy 1 Reply Last reply Reply Quote 0
                                      • Duffy
                                        Duffy @Duffy last edited by

                                        @paul53

                                        so nun noch einmal ohne Fritz Steckdose. Ausgangssituation war zu sagen Alexa Licht aus, dann BWM ausgelöst:

                                        fritzdect.0
                                        	2023-10-08 19:35:52.204	info	DECT ID: 130770151284-1 identified for command (state) : true
                                        fritzdect.0
                                        	2023-10-08 19:35:52.202	info	DECT ID: 130770137317-1 identified for command (state) : true
                                        fritzdect.0
                                        	2023-10-08 19:35:52.199	info	DECT ID: 130770143150-1 identified for command (state) : true
                                        fritzdect.0
                                        	2023-10-08 19:35:52.196	info	DECT ID: 087610197338 identified for command (state) : true
                                        javascript.0
                                        	2023-10-08 19:35:52.197	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: truesystem.adapter.javascript.0 Debug 4
                                        javascript.0
                                        	2023-10-08 19:35:52.189	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: true Debug 3
                                        javascript.0
                                        	2023-10-08 19:35:52.188	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: 0true Debug 2
                                        javascript.0
                                        	2023-10-08 19:35:52.188	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: system.adapter.zigbee.0true Debug 1
                                        javascript.0
                                        	2023-10-08 19:35:52.187	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: Manuell ein: false
                                        javascript.0
                                        	2023-10-08 19:35:48.044	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: falsesystem.adapter.iot.0 Debug 4
                                        fritzdect.0
                                        	2023-10-08 19:35:48.045	info	DECT ID: 087610197338 identified for command (state) : false
                                        fritzdect.0
                                        	2023-10-08 19:35:48.042	info	DECT ID: 130770151284-1 identified for command (state) : false
                                        fritzdect.0
                                        	2023-10-08 19:35:48.040	info	DECT ID: 130770143150-1 identified for command (state) : false
                                        fritzdect.0
                                        	2023-10-08 19:35:47.992	info	DECT ID: 130770137317-1 identified for command (state) : false
                                        

                                        Nun noch mal mit Fritz Steckdose. Ausgangssituation war zu sagen Alexa Licht aus, dann BWM ausgelöst:

                                        fritzdect.0
                                        	2023-10-08 19:41:12.240	info	DECT ID: 130770151284-1 identified for command (state) : true
                                        fritzdect.0
                                        	2023-10-08 19:41:12.237	info	DECT ID: 130770137317-1 identified for command (state) : true
                                        fritzdect.0
                                        	2023-10-08 19:41:12.235	info	DECT ID: 130770143150-1 identified for command (state) : true
                                        fritzdect.0
                                        	2023-10-08 19:41:12.231	info	DECT ID: 087610197338 identified for command (state) : true
                                        javascript.0
                                        	2023-10-08 19:41:12.230	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: truesystem.adapter.javascript.0 Debug 4
                                        javascript.0
                                        	2023-10-08 19:41:12.220	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: true Debug 3
                                        javascript.0
                                        	2023-10-08 19:41:12.220	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: 0true Debug 2
                                        javascript.0
                                        	2023-10-08 19:41:12.219	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: system.adapter.zigbee.0true Debug 1
                                        javascript.0
                                        	2023-10-08 19:41:12.219	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: Manuell ein: false
                                        javascript.0
                                        	2023-10-08 19:41:05.771	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: falsesystem.adapter.fritzdect.0 Debug 4
                                        javascript.0
                                        	2023-10-08 19:41:05.467	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: truesystem.adapter.fritzdect.0 Debug 4
                                        fritzdect.0
                                        	2023-10-08 19:41:04.258	info	DECT ID: 087610197338 identified for command (state) : false
                                        fritzdect.0
                                        	2023-10-08 19:41:04.258	info	DECT ID: 130770151284-1 identified for command (state) : false
                                        javascript.0
                                        	2023-10-08 19:41:04.257	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: falsesystem.adapter.iot.0 Debug 4
                                        fritzdect.0
                                        	2023-10-08 19:41:04.253	info	DECT ID: 130770143150-1 identified for command (state) : false
                                        fritzdect.0
                                        	2023-10-08 19:41:04.204	info	DECT ID: 130770137317-1 identified for command (state) : false
                                        

                                        Und da ist er wieder der Fehler. Also scheint die FB Steckdose den fehler zu verursachen, richtig?

                                        paul53 1 Reply Last reply Reply Quote 0
                                        • paul53
                                          paul53 @Duffy last edited by

                                          @duffy sagte: Also scheint die FB Steckdose den fehler zu verursachen, richtig?

                                          Es sieht so aus. Dann nimm eine Lampe für den Trigger zur Erkennung "Manuell Ein".

                                          Duffy 1 Reply Last reply Reply Quote 0
                                          • Duffy
                                            Duffy @paul53 last edited by Duffy

                                            @paul53

                                            Lasmpe 3 mit Steckdose und umgekehrt getauscht.
                                            Jetzt sieht es so aus, anders.

                                            javascript.0
                                            	2023-10-08 19:50:36.800	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: falsesystem.adapter.fritzdect.0 Debug 4
                                            fritzdect.0
                                            	2023-10-08 19:50:33.360	info	DECT ID: 087610197338 identified for command (state) : true
                                            javascript.0
                                            	2023-10-08 19:50:33.360	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: truesystem.adapter.javascript.0 Debug 4
                                            fritzdect.0
                                            	2023-10-08 19:50:33.356	info	DECT ID: 130770137317-1 identified for command (state) : true
                                            fritzdect.0
                                            	2023-10-08 19:50:33.354	info	DECT ID: 130770143150-1 identified for command (state) : true
                                            fritzdect.0
                                            	2023-10-08 19:50:33.351	info	DECT ID: 130770151284-1 identified for command (state) : true
                                            javascript.0
                                            	2023-10-08 19:50:33.337	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: true Debug 3
                                            javascript.0
                                            	2023-10-08 19:50:33.337	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: 0true Debug 2
                                            javascript.0
                                            	2023-10-08 19:50:33.336	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: system.adapter.zigbee.0true Debug 1
                                            javascript.0
                                            	2023-10-08 19:50:33.336	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: Manuell ein: false
                                            fritzdect.0
                                            	2023-10-08 19:50:27.567	info	DECT ID: 087610197338 identified for command (state) : false
                                            fritzdect.0
                                            	2023-10-08 19:50:27.565	info	DECT ID: 130770151284-1 identified for command (state) : false
                                            javascript.0
                                            	2023-10-08 19:50:27.572	info	script.js.Wohnzimmer.Finale_Wohnzimmerbeleuchtung1: falsesystem.adapter.iot.0 Debug 4
                                            fritzdect.0
                                            	2023-10-08 19:50:27.563	info	DECT ID: 130770143150-1 identified for command (state) : false
                                            fritzdect.0
                                            	2023-10-08 19:50:27.561	info	DECT ID: 130770137317-1 identified for command (state) : false
                                            

                                            Edit: Sonst nehme ich einfach eine andere Steckdose!?

                                            Duffy 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            871
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            60
                                            1705
                                            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