Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Js-controller 0.16

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Js-controller 0.16

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

      Wie schon Apollon77 geschrieben hat, es wirklich system abhängig ist.

      Ich habe mit Redis mit 1000 Variablen 3 mal pro Sekunde getestet, also 90000 Ereignisse in 30 Sekunden und vis ging immer noch.

      Es war aber aber kein Raspi oder Tablet, sondern PC und nur vis 0.12.x.

      1 Reply Last reply Reply Quote 0
      • S
        simpixo last edited by

        Seit der installation des js-controllers 0.16 meldet der Radar Adapter folgendes im LOG

        radar.0 2017-03-03 09:44:30.387 warn Noble not available, Error: { [Error: Cannot find module 'bluetooth-hci-socket'] code: 'MODULE_NOT_FOUND' }

        Davor hatte ich diese Meldung nie

        Gruß

        Adrian

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

          Kannst Du mal versuchen radar neu zu installieren?

          1 Reply Last reply Reply Quote 0
          • S
            simpixo last edited by

            Also ich habe schon mal drüber installiert! Aber der Fehler ist geblieben!

            Ich weiß aber nicht 100%ig ob ich das Warning [WARNING SIGN]️ vorher nicht einfach übersehen hab!

            Aber ich glaube das wäre mir aufgefallen!

            Ich werde den Adapter jetzt einmal löschen und neu installieren! Ich berichte gleich

            Gruß

            Adrian

            Gesendet von iPhone mit Tapatalk Pro

            1 Reply Last reply Reply Quote 0
            • S
              simpixo last edited by

              @apollon77:

              Kannst Du mal versuchen radar neu zu installieren? `

              Also ich habe den Adapter komplett gelöscht und neu installiert, der Fehler blieb aber.

              Mir ist aber bei der Installation folgendes aufgefallen

              npm WARN optional dep failed, continuing bluetooth-hci-socket@0.5.1
              iobroker	2017-03-03 11:00:59.263	info	not ok
              iobroker	2017-03-03 11:00:59.263	info	ERR!
              iobroker	2017-03-03 11:00:59.263	info	gyp
              iobroker	2017-03-03 11:00:59.263	info	node-gyp -v v3.4.0
              iobroker	2017-03-03 11:00:59.262	info	
              iobroker	2017-03-03 11:00:59.262	info	gyp ERR!
              iobroker	2017-03-03 11:00:59.262	info	ERR! node -v v4.7.3
              iobroker	2017-03-03 11:00:59.262	info	gyp
              iobroker	2017-03-03 11:00:59.262	info	gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-socket
              iobroker	2017-03-03 11:00:59.262	info	gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              iobroker	2017-03-03 11:00:59.262	info	gyp ERR! System Linux 4.4.0-57-generic
              iobroker	2017-03-03 11:00:59.262	info	gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
              iobroker	2017-03-03 11:00:59.262	info	gyp ERR! stack at emitTwo (events.js:87:13)gyp ERR! stack at ChildProcess.emit (events.js:172:7)
              
              

              Ist das vielleicht ein Adapter Problem und hat nichts mit dem js-controller zutun? Aber wie gesagt, der Fehler ist mir erst jetzt aufgefallen und das nach dem Update auf 0.16

              Gruß

              Adrian

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

                @simpixo:

                @apollon77:

                Kannst Du mal versuchen radar neu zu installieren? `

                Also ich habe den Adapter komplett gelöscht und neu installiert, der Fehler blieb aber.

                Mir ist aber bei der Installation folgendes aufgefallen

                npm WARN optional dep failed, continuing bluetooth-hci-socket@0.5.1
                iobroker	2017-03-03 11:00:59.263	info	not ok
                iobroker	2017-03-03 11:00:59.263	info	ERR!
                iobroker	2017-03-03 11:00:59.263	info	gyp
                iobroker	2017-03-03 11:00:59.263	info	node-gyp -v v3.4.0
                iobroker	2017-03-03 11:00:59.262	info	
                iobroker	2017-03-03 11:00:59.262	info	gyp ERR!
                iobroker	2017-03-03 11:00:59.262	info	ERR! node -v v4.7.3
                iobroker	2017-03-03 11:00:59.262	info	gyp
                iobroker	2017-03-03 11:00:59.262	info	gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-socket
                iobroker	2017-03-03 11:00:59.262	info	gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                iobroker	2017-03-03 11:00:59.262	info	gyp ERR! System Linux 4.4.0-57-generic
                iobroker	2017-03-03 11:00:59.262	info	gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
                iobroker	2017-03-03 11:00:59.262	info	gyp ERR! stack at emitTwo (events.js:87:13)gyp ERR! stack at ChildProcess.emit (events.js:172:7)
                
                

                Ist das vielleicht ein Adapter Problem und hat nichts mit dem js-controller zutun? Aber wie gesagt, der Fehler ist mir erst jetzt aufgefallen und das nach dem Update auf 0.16

                Gruß

                Adrian `
                Es ist ein Adapterproblem. Hast du in der letzten Zeit node.js upgedated vielleicht?

                1 Reply Last reply Reply Quote 0
                • S
                  simpixo last edited by

                  @Bluefox:

                  Es ist ein Adapterproblem. Hast du in der letzten Zeit node.js upgedated vielleicht? `

                  Nein gar nicht, die Version habe ich schon seit Ewigkeiten drauf. Dann war ich die ganze Zeit Blind und habe den Fehler vorher nicht gesehen :lol:

                  Gruß

                  Adrian

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

                    Dann publische ich mal 0.16 + admin damit man dann an discovery arbeiten kann.

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

                      Also 0.16.1 js-controller + admin 1.7.0 sind draußen..

                      Bitte noch mal beachten:

                      ***** (bluefox) use SHA256 instead of SHA1 (All passwords must be reset via "iobroker passwd username")****

                      Es wurde potenzielles Problem mit SHA1 geschlossen.

                      Über das Problem mit dem SHA1 kann man hier nachlesen:

                      https://de.wikipedia.org/wiki/Secure_Hash_Algorithm

                      Das Problem ist SEHR schwer als Problem zu bezeichnen, da es um eins zu 2^63 Wahrscheinlichkeit geht. Trotzdem
                      > Im Februar 2017 wurde die erste Kollision von SHA-1 veröffentlicht.[6]
                      Mit SHA-256 ist man auf sichererer Seite (ist immer noch knackbar wenn man 3,17 * 10^64 Jahre hat) 😉

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

                        Hallo

                        Habe beides aktualisiert.

                        Alles läuft wie gehabt. Keine Probleme.

                        Grüße

                        1 Reply Last reply Reply Quote 0
                        • R
                          rascal last edited by

                          host.Mastermind	2017-03-08 14:26:11.055	error	instance system.adapter.radar.1 terminated with code 8 (node.js: Cannot find module)
                          

                          -````
                          sudo apt-get install fping arp-scan

                          
                          - radar Adapter gelöscht und neu installiert
                          
                          - auf dem "main" hat es erst kürzlich ein npm (oder war es ein node.js?) Update gegeben, da bekomme ich oben genannten Fehler.
                          
                          - auf einem remote Rasp kein npm update - Radar Adapter läuft normal
                          
                          wäre schön wenn der Radar Adapter bald wieder funktioniert
                          1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 last edited by

                            Neuer js-controller und neuer admin hat mit radar nix zu tun. Bei mir läufdt radar auf zwei Systemen problemlos auch nach dem update.

                            am besten bitte neuen Thread aufmachen

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

                              hos 0.16.2 auf drei Systemen im Multihost

                              und Admin 1.7.0 installiert

                              Sieht gut aus 😉

                              Wonach sucht denn in Zukunft "Auto-discovery"?

                              1 Reply Last reply Reply Quote 0
                              • S
                                simpixo last edited by

                                Durchsucht das LAN und wenn was gefunden wird, werden die passenden Adapter installiert

                                Gesendet von iPhone mit Tapatalk Pro

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

                                  Wenn ein Adapter Entwickler weiss wie das Gerät gefunden werden kann dann kann er das Implementieren und dann werden automatisch passende Adapter für die im Netzwerk vorhandenen Geräte vorgeschlagen

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

                                    Danke! Na da bin ich mal gespannt, wie das aussehen wird 😉

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

                                      Kleiner Nachtrag… nach dem Update habe ich bisher Überlast in meinem System.

                                      2 vCPUs sind zugewiesen. Die obere Grenze sollte also 2.0 sein.

                                      So sieht es nun schon seit Minuten aus:

                                      327_last_nach_update.jpg

                                      Drei Adapterinstanzen hingen nach dem Update im Zustand "gelb":

                                      cloud.0

                                      hm.rpc.2 (homematic ip)

                                      telegramm.1

                                      und mussten einmal beendet und neu gestartet werden (Admin/Instanzen).

                                      Habe noch nicht weiter nachgeforscht und werde das beobachten.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        simpixo last edited by

                                        Hallo ruhr70

                                        wie prüfst du eigentlich ob ein reboot notwendig ist? :shock:

                                        Gruß

                                        Adrian

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

                                          @simpixo:

                                          wie prüfst du eigentlich ob ein reboot notwendig ist? :shock: `

                                          Unter Ubuntu existiert dann eine Datei "reboot-required" im Verzeichnis "/var/run/".

                                          Das kontrolliere ich mit diesem Skript:

                                          ! ````
                                          var pfad = "Systeminfos.host" + ".";
                                          var cronStr = "*/30 * * * *";
                                          ! var abfrage = "ls /var/run";
                                          ! var idRebootRequired = pfad + 'reboot_required';
                                          ! createState(idRebootRequired, false, {
                                          name: 'reboot required',
                                          desc: 'reboot required (abgefragt mit ls reboot-required',
                                          type: 'boolean',
                                          unit: '',
                                          role: 'value'
                                          });

                                          ! function abfrageLinux() {
                                          exec(abfrage, function(err, stdout, stderr) {
                                          if (err) {
                                          log(err,"error");
                                          return;
                                          }
                                          if(stdout.toString().match(/reboot-required/i)) {
                                          setStateDelayed(idRebootRequired,true,100);
                                          } else {
                                          setStateDelayed(idRebootRequired,false,100);
                                          }
                                          });
                                          }
                                          ! function abfragen() {
                                          abfrageLinux();
                                          }
                                          ! // regelmässige Wiederholungen
                                          // -----------------------------------------------------------------------------
                                          schedule(cronStr, abfragen);
                                          ! // main
                                          // -----------------------------------------------------------------------------
                                          function main() {
                                          abfragen();
                                          }
                                          ! // Start Skript:
                                          // -----------------------------------------------------------------------------
                                          ! setTimeout(main, 500);
                                          ! ````

                                          1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators last edited by

                                            Auch wenn das eigentliche Thema schon etwas älter ist und der Thread hier etwas wegdriftete, möchte ich nochmal auf das Titelthema zurückkommen.

                                            Ich habe eben den Controller 0.16.2 auf dem offiziellen weg als Update angeboten bekommen und sofort auf Slave (Pi2) und Host (Cubietruck) installiert.

                                            Der Cubie scheint sich daran etwas verschluckt zu haben, ich musste ihn obwohl er nach dem iobroker start erst einmal wieder lief mittels reset-Taster wiederbeleben.

                                            Auch jetzt ging die Load Anfangs auf über 7,5 dann kurz auf 3,5 zurück nochmal hoch und ist jetzt bei braven 1,5.

                                            Folgende Meldungen waren nach der Beruhigung noch im Log vom Slave:

                                            node-red.1	2017-03-08 20:51:17.488	error	8 Mar 20:51:17 - [error] [ioBroker out:Wirkungsgrad] TypeError: adapter.getForeignState is not a function
                                            node-red.1	2017-03-08 20:51:17.484	error	8 Mar 20:51:17 - [error] [ioBroker out:Leistung_String3] TypeError: adapter.getForeignState is not a function
                                            node-red.1	2017-03-08 20:51:17.480	error	8 Mar 20:51:17 - [error] [ioBroker out:Leistung_String2] TypeError: adapter.getForeignState is not a function
                                            node-red.1	2017-03-08 20:51:17.474	error	8 Mar 20:51:17 - [error] [ioBroker out:Leistung_AC_aktuell] TypeError: adapter.getForeignState is not a function
                                            node-red.1	2017-03-08 20:51:17.470	error	8 Mar 20:51:17 - [error] [ioBroker out:Leistung_String1] TypeError: adapter.getForeignState is not a function
                                            node-red.1	2017-03-08 20:51:17.460	error	8 Mar 20:51:17 - [error] [ioBroker out:Gesamtertrag] TypeError: adapter.getForeignState is not a function
                                            node-red.1	2017-03-08 20:51:17.451	error	8 Mar 20:51:17 - [error] [ioBroker out:Tagesertrag] TypeError: adapter.getForeignState is not a function
                                            node-red.1	2017-03-08 20:51:16.871	error	8 Mar 20:51:16 - [error] [ioBroker out:RasPiSpannung] TypeError: adapter.getForeignState is not a function
                                            node-red.1	2017-03-08 20:51:16.842	error	8 Mar 20:51:16 - [error] [ioBroker out:RasPiStrom] TypeError: adapter.getForeignState is not a function
                                            

                                            nur einmal - seitdem nicht mehr.

                                            und:

                                            rpi2.1	2017-03-08 20:59:20.751	error	No Value found for cpu_frequency
                                            rpi2.1	2017-03-08 20:58:20.893	error	No Value found for cpu_frequency
                                            rpi2.1	2017-03-08 20:57:49.032	error	No Value found for cpu_frequency
                                            rpi2.1	2017-03-08 20:56:48.235	error	No Value found for cpu_frequency
                                            rpi2.1	2017-03-08 20:55:47.724	error	No Value found for cpu_frequency
                                            rpi2.1	2017-03-08 20:54:46.761	error	No Value found for cpu_frequency
                                            rpi2.1	2017-03-08 20:53:46.059	error	No Value found for cpu_frequency
                                            rpi2.1	2017-03-08 20:52:45.560	error	No Value found for cpu_frequency
                                            rpi2.1	2017-03-08 20:51:44.703	error	No Value found for cpu_frequency
                                            

                                            Neustart des rpi2.1 und iobroker restart auf dem Raspi haben keine Änderung gebracht.

                                            Die Werte Data send auf dem Slave und Data received auf dem Master sind für meine Verhältnisse exorbitant hoch (passen aber jeweils in etwa zusammen).

                                            Gruß

                                            Rainer

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            795
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            17
                                            59
                                            8162
                                            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