Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [gelöst] Zu viele Info Meldungen im Log

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Zu viele Info Meldungen im Log

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Peter c last edited by Peter c

      Ich habe ein einfaches Blockly geschrieben und erhalte obwohl nichts geschalten wird ständig info Meldungen über den Zustand einer Steckdose.

      Wie kann verhindern, dass das log so zugemüllt wird?

      Blockly: BatLaden_Ein

      Bildschirmfoto 2024-05-03 um 15.06.01.png

      Die Info kommt wohl von dem Adapter fritzdect.0

      log:

      2024-05-03 14:47:48.114 - info: javascript.0 (910) Stop script script.js.Batterie_Laden.BatLaden_Ein
      2024-05-03 14:47:48.214 - info: javascript.0 (910) Start javascript script.js.Batterie_Laden.BatLaden_Ein
      2024-05-03 14:47:48.220 - info: javascript.0 (910) script.js.Batterie_Laden.BatLaden_Ein: registered 2 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
      2024-05-03 14:47:56.849 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:11.137 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:21.816 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:24.169 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:26.494 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:27.688 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:28.849 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:30.077 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:31.267 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:32.404 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:33.616 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:34.805 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:35.937 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:37.158 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:38.312 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:39.558 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:43.030 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:48:52.078 - warn: bmw.0 (1110) Out of call volume quota. Quota will be replenished in 00:11:08.
      2024-05-03 14:48:53.770 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:49:03.222 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:49:11.543 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:49:12.724 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:49:13.926 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:49:22.344 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:49:30.543 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:49:41.209 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:49:48.333 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:49:55.536 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:50:03.811 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:50:13.366 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:50:20.754 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:50:30.074 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:50:36.030 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:50:44.469 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:50:55.273 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:51:04.781 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:51:13.044 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:51:21.382 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:51:29.767 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:51:30.883 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:51:32.168 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:51:38.088 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:51:47.474 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:51:56.938 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:52:07.605 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:52:15.911 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:52:17.133 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:52:18.243 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:52:27.800 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:52:36.148 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:52:44.459 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:52:56.297 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:53:08.096 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:53:17.844 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:53:31.297 - info: admin.0 (746) <== Disconnect system.user.admin from ::ffff:192.168.178.20 javascript
      2024-05-03 14:53:33.227 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:53:40.373 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:53:41.609 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:53:42.797 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:53:52.102 - warn: bmw.0 (1110) Out of call volume quota. Quota will be replenished in 00:06:08.
      2024-05-03 14:53:58.083 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:53:59.274 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:54:00.626 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:54:11.241 - info: fritzdect.0 (1126) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:54:24.438 - info: host.iobroker stopInstance system.adapter.fritzdect.0 (force=false, process=true)
      2024-05-03 14:54:24.445 - info: fritzdect.0 (1126) Got terminate signal TERMINATE_YOURSELF
      2024-05-03 14:54:24.448 - info: fritzdect.0 (1126) cleaned everything up...
      2024-05-03 14:54:24.449 - info: fritzdect.0 (1126) terminating
      2024-05-03 14:54:24.450 - info: fritzdect.0 (1126) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      2024-05-03 14:54:24.515 - info: host.iobroker stopInstance system.adapter.fritzdect.0 send kill signal
      2024-05-03 14:54:24.952 - info: fritzdect.0 (1126) terminating
      2024-05-03 14:54:25.072 - info: host.iobroker instance system.adapter.fritzdect.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      2024-05-03 14:54:27.575 - info: host.iobroker instance system.adapter.fritzdect.0 started with pid 31568
      2024-05-03 14:54:30.299 - info: fritzdect.0 (31568) starting. Version 2.5.9 in /opt/iobroker/node_modules/iobroker.fritzdect, node: v18.20.2, js-controller: 5.0.19
      2024-05-03 14:54:30.327 - info: fritzdect.0 (31568) fritzdect entered ready
      2024-05-03 14:54:30.380 - info: fritzdect.0 (31568) fritzdect uses USER: Peter
      2024-05-03 14:54:31.488 - info: fritzdect.0 (31568) checking user permissions
      2024-05-03 14:54:31.831 - info: fritzdect.0 (31568) the rights are : {"Rights":{"Name":["Dial","App","HomeAuto","BoxAdmin","Phone","NAS"],"Access":["2","2","2","2","2","2"]}}
      2024-05-03 14:54:31.832 - info: fritzdect.0 (31568) start creating global values
      2024-05-03 14:54:31.832 - info: fritzdect.0 (31568) ____________________________________________
      2024-05-03 14:54:31.833 - info: fritzdect.0 (31568) create Main object global channel list
      2024-05-03 14:54:31.857 - info: fritzdect.0 (31568) finished creating global values
      2024-05-03 14:54:31.858 - info: fritzdect.0 (31568) start creating devices/groups
      2024-05-03 14:54:32.255 - info: fritzdect.0 (31568) CREATE Devices 2
      2024-05-03 14:54:32.260 - info: fritzdect.0 (31568) ____________________________________________
      2024-05-03 14:54:32.260 - info: fritzdect.0 (31568) create Main object DECT_ 116570243229 Batterie switch
      2024-05-03 14:54:32.663 - info: fritzdect.0 (31568) ____________________________________________
      2024-05-03 14:54:32.663 - info: fritzdect.0 (31568) create Main object DECT_ 116570599373 BMW switch
      2024-05-03 14:54:33.137 - info: fritzdect.0 (31568) finished creating devices/groups (if any)
      2024-05-03 14:54:33.138 - info: fritzdect.0 (31568) templates are used(false)
      2024-05-03 14:54:33.138 - info: fritzdect.0 (31568) start creating templates
      2024-05-03 14:54:33.516 - info: fritzdect.0 (31568) finished creating templates (if any)
      2024-05-03 14:54:33.517 - info: fritzdect.0 (31568) routines are used(false)
      2024-05-03 14:54:33.518 - info: fritzdect.0 (31568) start creating routines
      2024-05-03 14:54:33.901 - info: fritzdect.0 (31568) finished creating routines (if any)
      2024-05-03 14:54:33.902 - info: fritzdect.0 (31568) start initial updating devices/groups
      2024-05-03 14:54:34.437 - info: fritzdect.0 (31568) finished initial updating devices/groups
      2024-05-03 14:54:34.438 - info: fritzdect.0 (31568) going over to cyclic polling, messages to poll activity only in debug-mode
      2024-05-03 14:54:45.624 - info: fritzdect.0 (31568) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:54:46.860 - info: fritzdect.0 (31568) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:54:47.989 - info: fritzdect.0 (31568) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:54:57.556 - info: fritzdect.0 (31568) DECT ID: 116570243229 identified for command (state) : true
      2024-05-03 14:55:16.583 - info: fritzdect.0 (31568) DECT ID: 116570243229 identified for command (state) : true
      
      mickym haus-automatisierung 2 Replies Last reply Reply Quote 0
      • mickym
        mickym Most Active @Peter c last edited by mickym

        @peter-c Stell halt mal die Instanz des fritzdect Adapters von info auf warn.

        b6b311d0-411a-4f08-814c-c23050e61253-image.png

        Wenn Du den Stift neben dran anklickst - kannst Du über den Dialog das Level anpassen

        96a05e43-4e9c-4ee4-a490-49b0a3cb20b7-image.png

        Halt für den fritzdect Adapter und ich hab halt den web Adapter genommen.

        P 1 Reply Last reply Reply Quote 0
        • P
          Peter c @mickym last edited by

          @mickym schon verstanden. gerade gemacht und jetzt kommt nichts mehr.

          Kommen jetzt nur noch Meldungen wenn es Warnungen gibt?

          mickym 1 Reply Last reply Reply Quote 0
          • mickym
            mickym Most Active @Peter c last edited by mickym

            @peter-c sagte in Zu viele Info Meldungen im Log:

            Kommen jetzt nur noch Meldungen wenn es Warnungen gibt?

            ja und Fehler

            P 1 Reply Last reply Reply Quote 0
            • P
              Peter c @mickym last edited by

              @mickym super danke für die Hilfe.

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

                Ggf. würde ich ein Issue auf GitHub erstellen - das ist ja furchtbar, wenn der Adapter das Log so zuspamt. So was gehört ins Debug Level - aber das ist ja eine Katastrophe.

                P 1 Reply Last reply Reply Quote 0
                • P
                  Peter c @mickym last edited by

                  @mickym Macht sicherlich Sinn - Wäre gut wenn Du das machen könntest.

                  mickym 1 Reply Last reply Reply Quote 0
                  • mickym
                    mickym Most Active @Peter c last edited by

                    @peter-c Nee - ich mach das sicher nicht - außerdem habe ich diesen Adapter gar nicht im Einsatz. Aber vielleicht liest ja jemand den Thread.

                    1 Reply Last reply Reply Quote 0
                    • haus-automatisierung
                      haus-automatisierung Developer Most Active @Peter c last edited by

                      @peter-c sagte in [gelöst] Zu viele Info Meldungen im Log:

                      Wie kann verhindern, dass das log so zugemüllt wird?

                      Nur anschalten, falls noch nicht angeschaltet. Sonst schickst Du bei jeder Änderung der Pv-Leistung ja den Befehl zum Einschalten.

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        Peter c @haus-automatisierung last edited by

                        @haus-automatisierung said in Zu viele Info Meldungen im Log:

                        Nur anschalten, falls noch nicht angeschaltet. Sonst schickst Du bei jeder Änderung der Pv-Leistung ja den Befehl zum Einschalten.

                        Das stimmt zwar aber wie soll man den sonst den Zustand an die aktuelle Situation anpassen? Geschalten wird ja nicht nur informiert.
                        Sollte ich da eine Variable einführen?

                        haus-automatisierung 1 Reply Last reply Reply Quote 0
                        • haus-automatisierung
                          haus-automatisierung Developer Most Active @Peter c last edited by

                          @peter-c Du bekommst doch sicher auf irgendeinem Weg den Status zurück? Den Wert einfach prüfen und nur schalten, wenn gerade aus ist.

                          P 1 Reply Last reply Reply Quote 0
                          • P
                            Peter c @haus-automatisierung last edited by

                            @haus-automatisierung said in Zu viele Info Meldungen im Log:

                            Du bekommst doch sicher auf irgendeinem Weg den Status zurück? Den Wert einfach prüfen und nur schalten, wenn gerade aus ist.

                            Ich habe ja die Änderung in dem fritzdect adapter gemacht, der von sich aus im log den infozustand geschickt hat. Nach der Änderung war da ruhe im Log.
                            Geschalten wird ja nicht - nur informiert durch den Adapter.

                            haus-automatisierung 1 Reply Last reply Reply Quote 0
                            • haus-automatisierung
                              haus-automatisierung Developer Most Active @Peter c last edited by

                              @peter-c sagte in [gelöst] Zu viele Info Meldungen im Log:

                              Geschalten wird ja nicht - nur informiert durch den Adapter.

                              Und Du bist ganz sicher, dass da kein Schalt-Befehl rausgeht per DECT? Wäre ja komisch, dass der Adapter eine Info-Meldung loggt, aber gar nix macht (weil schon der richtige Status erwartet wird).

                              Daher ja der Vorschlag das Blockly-Script zu erweitern. Dann musst du auch nicht das Loglevel von der Instanz anpassen.

                              1 Reply Last reply Reply Quote 0
                              • P
                                Peter c last edited by Peter c

                                @haus-automatisierung

                                ja habe eine Überprüfung drin (der obere Teil des Blocklys) Da kam nicht ständig eine Meldung.

                                Habe aufgrund Deiner Anregung noch eine Zustandsüberprüfung eingebaut und die Instanz wieder zurückgeändert.

                                Bildschirmfoto 2024-05-03 um 16.23.05.png

                                Blockly gesamt:

                                Bildschirmfoto 2024-05-03 um 16.19.18.png

                                Dann kommt im log auch nichts. Für mich unklar aber auch akzeptabel.

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                758
                                Online

                                32.0k
                                Users

                                80.4k
                                Topics

                                1.3m
                                Posts

                                3
                                14
                                325
                                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