Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Node-Red 2.0.0 - keine Systemobjekte u. andere Probleme

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED Node-Red 2.0.0 - keine Systemobjekte u. andere Probleme

    This topic has been deleted. Only users with topic management privileges can see it.
    • mickym
      mickym Most Active last edited by mickym

      @haselchen
      a:) Ja dass es die Version 2.0.0 gibt - weiß ich - aber ich nehme gerade bewusst nicht die latest version.
      b:) Im Expertenmodus sehe ich die Objekte ja auch alle und sehe auch "true" oder "false" - nur der Zugriff aus Node-Red funktioniert nicht mehr - war aber mit der Version 1.13.x noch möglich.

      Das ist meine Hauptkritik - sprich der iobroker in Node wurde nun in der Definition angepasst und bekomme nun "not exists"

      screen.png

      Und es hat nichts mit ioBroker zu tun - sondern mit dem Node-Red Adapter - weil dieser Zugriff mit der Funktion 1.13.x noch möglich war und ich sauber einen Status der Adapter in Node-Red weiter verarbeiten konnte.

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

        @mickym

        Und genau das wurde aus deinem Eingangspost nicht klar.
        Nun hast du es ja verständlicher ausgedrückt.

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

          So ich habe nun auf 2.0 aktualisiert:

          node-red.0	2020-07-02 10:44:27.567	warn	(16553) (node:16576) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 101 stateChange listeners added to [Adapter]. Use emitter.setMaxListeners() to increase limit
          node-red.0	2020-07-02 10:44:27.393	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.337	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.308	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.304	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.299	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.294	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.285	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.225	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.208	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.184	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.174	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.162	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.158	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.153	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.149	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:27.143	info	(16576) Automatic objects creation is not enabled. You can enable it in the node configuration
          node-red.0	2020-07-02 10:44:24.953	warn	(16576) slow connection to states DB. Still waiting ...
          node-red.0	2020-07-02 10:44:16.103	info	(16553) Starting node-red: --max-old-space-size=128 /opt/iobroker/node_modules/iobroker.node-red/node_modules/node-red/red.js -v --settings /opt/iobroker/iobroker-data/node-red/settings.js
          node-red.0	2020-07-02 10:44:15.337	info	(16553) starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.node-red, node: v12.18.2, js-controller: 3.1.6
          
          • Ich bekomme auch keine Werte aus den Systemadaptern. 😞

          • Die Warnmeldungen, die angeblich mit Version 16.x sind immer noch da (s. https://forum.iobroker.net/topic/30355/node-red-adapter)

          • Was es mit der Automatic Creation of Objects nun auf sich hat - erklärt sich mir ebenfalls nicht - s. Log

          • Das man den Zugriff auf die Palettenverwaltung in settings.js nun manuell aktivieren muss - erschließt sich mir nicht - da ich ja einige zusätzliche Module installiert habe.

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

            Warum die Systemobjekte wohl nicht gefunden wurden - liegt wohl daran, dass vor dem Pfad ein Präfix node-red/0/ geschrieben wird:

            node-red/0/system/adapter/admin/0/alive anstelle von system.adapter.admin.0.alive

            screen.png

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

              • Was es mit der Automatic Creation of Objects nun auf sich hat - erklärt sich mir ebenfalls nicht - s. Log

              Ich habe nun auf allen iobroker-out nodes die autoCreate mittels "Ignore messages for non existing states" auf "false" (String) gestellt und bekomme diese Meldungen immer noch. (s. auch: https://forum.iobroker.net/topic/30355/node-red-adapter/8)

              Auch wenn man das Debug Level auf silly einstellt - dann bekommt man keine Infos welche Nodes diese Meldung erzeugen:

              node-red.0	2020-07-03 13:19:55.627	silly	(12975) States user redis pmessage 0_userdata.0.homekit.devices.MAX_016da9.TargetTemperature/0_userdata.0.homekit.devices.MAX_016da9.TargetTemperature:{"val":"12.0","ack":false,"ts":1593775195399,"q":
              node-red.0	2020-07-03 13:19:55.626	silly	(12975) States user redis pmessage 0_userdata.0.homekit.devices.MAX_016da2.TargetTemperature/0_userdata.0.homekit.devices.MAX_016da2.TargetTemperature:{"val":"12.0","ack":true,"ts":1593775195399,"q":0
              node-red.0	2020-07-03 13:19:55.625	silly	(12975) States user redis pmessage zigbee.0.group_2.state/zigbee.0.group_2.state:{"val":false,"ack":false,"ts":1593775195398,"q":0,"from":"system.adapter.node-red.0","user":"system.user.admin","lc":15
              node-red.0	2020-07-03 13:19:55.624	silly	(12975) States user redis pmessage zigbee.0.group_1.state/zigbee.0.group_1.state:{"val":false,"ack":false,"ts":1593775195397,"q":0,"from":"system.adapter.node-red.0","user":"system.user.admin","lc":15
              node-red.0	2020-07-03 13:19:55.503	debug	(12956) 3 Jul 13:19:55 - [info] [exec:FHEM crfToken ermitteln] curl -s -D - 'http://localhost:8083/fhem?XHR=1' | awk '/X-FHEM-csrfToken/{print $2}'
              node-red.0	2020-07-03 13:19:55.128	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:55.114	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:55.096	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:55.062	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:55.048	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:54.996	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:54.950	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:54.937	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:54.924	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:54.910	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:54.833	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:54.764	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:54.689	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:54.641	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:54.626	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:54.592	info	(12975) Automatic objects creation is not enabled. You can enable it in the node configuration
              node-red.0	2020-07-03 13:19:52.688	debug	(12956) 3 Jul 13:19:52 - [info] [exec:iobroker start tr-064.0] iobroker start tr-064.0
              node-red.0	2020-07-03 13:19:52.101	silly	(12975) States user redis pmessage ping.0.MWHome.192_168_178_1/ping.0.MWHome.192_168_178_1:{"val":true,"ack":true,"ts":1593775191955,"q":0,"from":"system.adapter.ping.0","user":"system.user.admin","lc
              node-red.0	2020-07-03 13:19:51.630	debug	(12956) 3 Jul 13:19:51 - [info] [exec:FHEM crfToken ermitteln] curl -s -D - 'http://localhost:8083/fhem?XHR=1' | awk '/X-FHEM-csrfToken/{print $2}'
              

              Weiterhin habe ich festgestellt, dass die neuen Versionen wesentlich träger im Browser reagieren und die Performance im Editor schlechter geworden ist. Mag an neuen Funktionen liegen - aber erwähnen wollte ich es mal.

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

                Ich habe im Gegensatz zu früher nun auch das Problem, dass ich die Browserfenster nach längerer Inaktivität seit dieser Version immer neu aktualisieren muss - bzw. NodeRED neu geladen werden muss.
                Das war früher nicht der Fall - kann man das Verhalten wieder wie bei der Version 1.13.x ändern, sodass die Verbindung permanent bleibt?

                1 Reply Last reply Reply Quote 0
                • F
                  firehero last edited by

                  Ich habe das Problem, dass im Node-Red die Values von Objekten im IoBroker nicht mehr verwendet werden.

                  Eine im IoBroker angelegte Variabel beschreibe ich mit den Werten 1 und 2.
                  Diese Werte möchte ich in Node-Red auswerten und etwas steuern. Das ging letzte Woche noch.

                  Wenn ich die Werte mit ioBroker in direkt mit msg.payload verbinde, den Wert in den Objekten ändere zeigt es mir bei Debug nichts an.

                  Hat jemand ähnliches Problem?

                  VG Axel

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

                    Schade - dass hier keine Rückmeldungen kommen. Ich werde nun wieder zurück auf Version 1.13.x gehen - da bei dem Update anscheinend mehrere Dinge nicht mehr funktionieren, die man aber erst nach und nach raus bekommt, da die Flows - wenn man sie nicht antastet erst mal gehen.

                    Wichtig ist, dass anscheinend die Einstellungen der Projektverwaltung beim Upgrade nicht übernommen wurden.

                    Jedenfalls kann ich nun keine Status mehr festschreiben:

                    screen.png

                    Desweiteren bin ich nicht mehr in der Lage meine light-scheduler Nodes zu bearbeiten. Ich werde das gleich nochmal checken, wenn ich wieder auf die vorher stabile Version zurückgehe:

                    screen.png

                    Ich hoffe - ich bekomme das System wieder stabil, wie es vorher war .

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

                      So ich habe jetzt das ganze System wieder auf den Stand vor den Adapter updates vor dem 1.7.2020 wiederhergestellt.

                      Jetzt funktionieren die Nodes wieder und auch die Projektverwaltung.

                      Es scheint, dass mit dem Adapter Update auch die NodeRed Version aktualisiert wurde. Nur weiß ich nicht, ob die Fehler auf den Adapter oder die NodeRed Versions Updates zurückzuführen sind.

                      So schaut der LightScheduler normal aus:

                      screen.png

                      Die Version des Adapters, die vorher drauf war und bei der alles noch funktioniert hat war 1.13.0 und NodeRED Version 1.0.2

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

                        Ich habe mal im NodeRED Unterforum einen eigenen Thread erstellt, weil hier evtl. zuwenig Resonanz und vielleicht zu unspezifisch ist.

                        Nach dem Downgrade und anschließenden Upgrade auf 1.17.2 funktionierte die Projektfunktion zwar noch - aber durch das Update der NodeRED version von 1.0.2 auf 1.1.2 gehen wohl die Light Scheduler Nodes nicht mehr. (Nachtrag: Gibt es aber auf GitHub schon eine Meldung - hat nichts mit dem Adapter zu tun. https://github.com/niklaswall/node-red-contrib-light-scheduler/issues/52 )

                        Ich gehe mal davon aus, dass das jedoch ein Problem innerhalb von NodeRED mit der neuen Oberfläche und nicht des Adapters ist.

                        Hier deshalb auch noch ein Link zum NodeRED an sich: Probleme nach NodeRED Update auf Version 1.1

                        dfares1987 created this issue in niklaswall/node-red-contrib-light-scheduler

                        closed Can't edit time schedule after update #52

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

                          Kann es sein, dass die GIT Konfiguration bei der Adapterversion 2.0.0 nicht mehr ausgelesen wird und deshalb die Projektfunktion nicht mehr funktioniert?

                          screen.png

                          siehe

                          screen.png

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

                            Gibts hier Neuigkeiten?

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

                              Was sagen die Entwickler?

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              954
                              Online

                              31.9k
                              Users

                              80.1k
                              Topics

                              1.3m
                              Posts

                              node-red
                              3
                              15
                              1500
                              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