Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 3.0/3.1 jetzt im Latest!

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    297

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.7k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

js-controller 3.0/3.1 jetzt im Latest!

Scheduled Pinned Locked Moved ioBroker Allgemein
js-controller
1.3k Posts 127 Posters 523.0k Views 89 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dslraserD dslraser

    @Jan1
    aber was soll @version in Deinem Befehl, oder hast Du das da rein geschrieben ?

    root@Beelink:/opt/iobroker# npm install iobroker.js-controller@version
    
    dirk1962D Offline
    dirk1962D Offline
    dirk1962
    wrote on last edited by
    #173

    @dslraser
    Das hat er aus dem Beta-Test Thread von Apollon übernommen. Steht da exakt so drin.

    NUC8i5 mit Proxmox; Raspberrymatic in VM, iobroker, Motioneye, infuxDB und Grafana in CT.

    J 1 Reply Last reply
    0
    • dirk1962D dirk1962

      @Jan1
      Ich habe es genauso gemacht wie Du. Bei mir hat er dann das update auf 3.0.15 gemacht. Hatte vorher 3.0.14.

      J Offline
      J Offline
      Jan1
      wrote on last edited by
      #174

      @dirk1962 sagte in js-controller 3.0 jetzt im Latest!:

      @Jan1
      Ich habe es genauso gemacht wie Du. Bei mir hat er dann das update auf 3.0.15 gemacht. Hatte vorher 3.0.14.

      OK, es ist etwas verwirrend geschrieben. Welches Problem hast Du nun und welchen JS?

      1 Reply Last reply
      0
      • dirk1962D dirk1962

        @dslraser
        Das hat er aus dem Beta-Test Thread von Apollon übernommen. Steht da exakt so drin.

        J Offline
        J Offline
        Jan1
        wrote on last edited by
        #175

        @dirk1962 sagte in js-controller 3.0 jetzt im Latest!:

        @dslraser
        Das hat er aus dem Beta-Test Thread von Apollon übernommen. Steht da exakt so drin.

        So ist es und das funktioniert hier nicht, deshalb mal für ein Linux DAU bitte das richtige Kommando.

        1 Reply Last reply
        0
        • dirk1962D dirk1962

          @dslraser
          Das hatte ich heute morgen exakt genauso. Bin per Rollback schnell wieder auf 3.0.14 und alles wieder okay.:blush:

          foxriver76F Offline
          foxriver76F Offline
          foxriver76
          Developer
          wrote on last edited by
          #176

          @dirk1962 Jop, Problem ist bereits identifiziert und Fix steht bereit

          Videotutorials & mehr

          Hier könnt ihr mich unterstützen.

          K dslraserD 2 Replies Last reply
          0
          • foxriver76F foxriver76

            @dirk1962 Jop, Problem ist bereits identifiziert und Fix steht bereit

            K Offline
            K Offline
            Kueppert
            wrote on last edited by
            #177

            @foxriver76 lol, einmal nicht direkt auf die neue Version gesprungen und Glück gehabt ^^ die neue Neue nehme ich dann direkt wieder mit zum Testen

            UDM Pro, Intel NUC - ioBroker in Proxmox-VM, PiHole+Grafana&Influx+TasmoAdmin in LXCs, Raspberry Pi3 (als CCU), Zigbee-Stick Sonoff, Synology DS918+

            J 1 Reply Last reply
            0
            • foxriver76F foxriver76

              @dirk1962 Jop, Problem ist bereits identifiziert und Fix steht bereit

              dslraserD Offline
              dslraserD Offline
              dslraser
              Forum Testing Most Active
              wrote on last edited by
              #178

              @foxriver76 sagte in js-controller 3.0 jetzt im Latest!:

              Jop, Problem ist bereits identifiziert und Fix steht bereit

              neue Version ? 3.0.16 oder wie installieren ?

              foxriver76F 1 Reply Last reply
              0
              • K Kueppert

                @foxriver76 lol, einmal nicht direkt auf die neue Version gesprungen und Glück gehabt ^^ die neue Neue nehme ich dann direkt wieder mit zum Testen

                J Offline
                J Offline
                Jan1
                wrote on last edited by
                #179

                @Kueppert
                Ich hab sie nur genommen, weil ich damit ein anderes Problem ausschließen wollte, danach hatte ich ein s mehr :-)
                @foxriver76 sagte in js-controller 3.0 jetzt im Latest!:

                Fix steht bereit

                und wie bekomme ich das drauf, wenn die Kommandos aus dem Beta Thread hier nicht funktionieren?

                1 Reply Last reply
                0
                • dslraserD dslraser

                  @foxriver76 sagte in js-controller 3.0 jetzt im Latest!:

                  Jop, Problem ist bereits identifiziert und Fix steht bereit

                  neue Version ? 3.0.16 oder wie installieren ?

                  foxriver76F Offline
                  foxriver76F Offline
                  foxriver76
                  Developer
                  wrote on last edited by
                  #180

                  @dslraser Ne, noch warten @apollon77 wird eine neue Version machen, evtl ergibt sich im Laufe des Tages noch etwas, was mit rein kommt.

                  Videotutorials & mehr

                  Hier könnt ihr mich unterstützen.

                  J 1 Reply Last reply
                  1
                  • foxriver76F foxriver76

                    @dslraser Ne, noch warten @apollon77 wird eine neue Version machen, evtl ergibt sich im Laufe des Tages noch etwas, was mit rein kommt.

                    J Offline
                    J Offline
                    Jan1
                    wrote on last edited by
                    #181

                    @foxriver76
                    OK, wir warten, ist ja nicht so dramatisch.

                    1 Reply Last reply
                    0
                    • dslraserD dslraser

                      @Jan1
                      aber was soll @version in Deinem Befehl, oder hast Du das da rein geschrieben ?

                      root@Beelink:/opt/iobroker# npm install iobroker.js-controller@version
                      
                      foxriver76F Offline
                      foxriver76F Offline
                      foxriver76
                      Developer
                      wrote on last edited by
                      #182

                      @dslraser sagte in js-controller 3.0 jetzt im Latest!:

                      @Jan1
                      aber was soll @version in Deinem Befehl, oder hast Du das da rein geschrieben ?

                      root@Beelink:/opt/iobroker# npm install iobroker.js-controller@version
                      

                      version muss allerdings durch die Zielversion ersetzt werden.

                      Videotutorials & mehr

                      Hier könnt ihr mich unterstützen.

                      dslraserD 1 Reply Last reply
                      1
                      • foxriver76F foxriver76

                        @dslraser sagte in js-controller 3.0 jetzt im Latest!:

                        @Jan1
                        aber was soll @version in Deinem Befehl, oder hast Du das da rein geschrieben ?

                        root@Beelink:/opt/iobroker# npm install iobroker.js-controller@version
                        

                        version muss allerdings durch die Zielversion ersetzt werden.

                        dslraserD Offline
                        dslraserD Offline
                        dslraser
                        Forum Testing Most Active
                        wrote on last edited by dslraser
                        #183

                        @foxriver76
                        ja, das ist mir bewußt, deshalb habe ich @Jan1 danach gefragt, weil das von Ihm aus einem Beitrag ist.

                        1 Reply Last reply
                        0
                        • I Offline
                          I Offline
                          ITCrowd
                          wrote on last edited by apollon77
                          #184

                          Update auf 3.0.14 problemlos. Aber dann:

                          Adapter Innogy Smarthome: Im Intervall mehrere Seiten.

                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at process._tickCallback (internal/process/next_tick.js:68:7)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)]
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:92586)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2787:21)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at /opt/iobroker/node_modules/iobroker.innogy-smarthome/main.js:286:36
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Capability.setState (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:117:12)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Promise._resolveFromExecutor (/opt/iobroker/node_modules/bluebird/js/release/promise.js:518:18)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Promise.cancellationExecute [as _execute] (/opt/iobroker/node_modules/bluebird/js/release/debuggability.js:406:9)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:157:29
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Requestor.call (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:48:17)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Requestor.doRequest (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:54:12)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Promise._resolveFromExecutor (/opt/iobroker/node_modules/bluebird/js/release/promise.js:518:18)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Promise.cancellationExecute [as _execute] (/opt/iobroker/node_modules/bluebird/js/release/debuggability.js:406:9)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:56:22
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Object.getAuthorizationStatus (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/oauth2/index.js:300:20)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at getAuthorizationStatus (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/oauth2/index.js:278:21)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:67:22
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Requestor.$doRequest (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:145:10)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	at AsyncLock.acquire (/opt/iobroker/node_modules/async-lock/lib/index.js:148:15)
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	(4800) Error: Too much pending tasks
                          innogy-smarthome.0	2020-04-22 12:25:15.254	error	(4800) uncaught exception: Too much pending tasks
                                          debug	at process._tickCallback (internal/process/next_tick.js:68:7)
                          		debug	at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                          		debug	at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                          		debug	at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:92586)
                          		debug	at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2787:21)
                          		debug	at /opt/iobroker/node_modules/iobroker.innogy-smarthome/main.js:286:36
                          		debug	at Capability.setState (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:117:12)
                          		debug	at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10)
                          		debug	at Promise._resolveFromExecutor (/opt/iobroker/node_modules/bluebird/js/release/promise.js:518:18)
                          		debug	at Promise.cancellationExecute [as _execute] (/opt/iobroker/node_modules/bluebird/js/release/debuggability.js:406:9)
                          		debug	at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:157:29
                          		debug	at Requestor.call (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:48:17)
                          		debug	at Requestor.doRequest (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:54:12)
                          		debug	at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10)
                          

                          oder

                          innogy-smarthome.0	2020-04-22 12:30:27.506	error	at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
                          innogy-smarthome.0	2020-04-22 12:30:27.506	error	(4931) Error: read ECONNRESET
                          innogy-smarthome.0	2020-04-22 12:30:27.506	error	(4931) uncaught exception: read ECONNRESET
                          innogy-smarthome.0	2020-04-22 12:30:27.506	info	(4931) Terminated (NO_ERROR): Without reason
                          innogy-smarthome.0	2020-04-22 12:30:27.505	info	(4931) terminating
                          innogy-smarthome.0	2020-04-22 12:30:27.461	error	at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
                          innogy-smarthome.0	2020-04-22 12:30:27.461	error	(4931) Error: read ECONNRESET
                          innogy-smarthome.0	2020-04-22 12:30:27.460	error	(4931) uncaught exception: read ECONNRESET]
                          

                          KM200:

                          km200.0	2020-04-22 12:35:19.701	warn	(4977) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer
                          
                          foxriver76F 1 Reply Last reply
                          0
                          • I ITCrowd

                            Update auf 3.0.14 problemlos. Aber dann:

                            Adapter Innogy Smarthome: Im Intervall mehrere Seiten.

                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at process._tickCallback (internal/process/next_tick.js:68:7)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)]
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:92586)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2787:21)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at /opt/iobroker/node_modules/iobroker.innogy-smarthome/main.js:286:36
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Capability.setState (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:117:12)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Promise._resolveFromExecutor (/opt/iobroker/node_modules/bluebird/js/release/promise.js:518:18)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Promise.cancellationExecute [as _execute] (/opt/iobroker/node_modules/bluebird/js/release/debuggability.js:406:9)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:157:29
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Requestor.call (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:48:17)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Requestor.doRequest (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:54:12)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Promise._resolveFromExecutor (/opt/iobroker/node_modules/bluebird/js/release/promise.js:518:18)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Promise.cancellationExecute [as _execute] (/opt/iobroker/node_modules/bluebird/js/release/debuggability.js:406:9)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:56:22
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Object.getAuthorizationStatus (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/oauth2/index.js:300:20)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at getAuthorizationStatus (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/oauth2/index.js:278:21)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:67:22
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at Requestor.$doRequest (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:145:10)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	at AsyncLock.acquire (/opt/iobroker/node_modules/async-lock/lib/index.js:148:15)
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	(4800) Error: Too much pending tasks
                            innogy-smarthome.0	2020-04-22 12:25:15.254	error	(4800) uncaught exception: Too much pending tasks
                                            debug	at process._tickCallback (internal/process/next_tick.js:68:7)
                            		debug	at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                            		debug	at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                            		debug	at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:92586)
                            		debug	at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2787:21)
                            		debug	at /opt/iobroker/node_modules/iobroker.innogy-smarthome/main.js:286:36
                            		debug	at Capability.setState (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:117:12)
                            		debug	at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10)
                            		debug	at Promise._resolveFromExecutor (/opt/iobroker/node_modules/bluebird/js/release/promise.js:518:18)
                            		debug	at Promise.cancellationExecute [as _execute] (/opt/iobroker/node_modules/bluebird/js/release/debuggability.js:406:9)
                            		debug	at /opt/iobroker/node_modules/innogy-smarthome-lib/lib/smarthome/objects/capability.js:157:29
                            		debug	at Requestor.call (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:48:17)
                            		debug	at Requestor.doRequest (/opt/iobroker/node_modules/innogy-smarthome-lib/lib/requestor/index.js:54:12)
                            		debug	at new Promise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:103:10)
                            

                            oder

                            innogy-smarthome.0	2020-04-22 12:30:27.506	error	at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
                            innogy-smarthome.0	2020-04-22 12:30:27.506	error	(4931) Error: read ECONNRESET
                            innogy-smarthome.0	2020-04-22 12:30:27.506	error	(4931) uncaught exception: read ECONNRESET
                            innogy-smarthome.0	2020-04-22 12:30:27.506	info	(4931) Terminated (NO_ERROR): Without reason
                            innogy-smarthome.0	2020-04-22 12:30:27.505	info	(4931) terminating
                            innogy-smarthome.0	2020-04-22 12:30:27.461	error	at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
                            innogy-smarthome.0	2020-04-22 12:30:27.461	error	(4931) Error: read ECONNRESET
                            innogy-smarthome.0	2020-04-22 12:30:27.460	error	(4931) uncaught exception: read ECONNRESET]
                            

                            KM200:

                            km200.0	2020-04-22 12:35:19.701	warn	(4977) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer
                            
                            foxriver76F Offline
                            foxriver76F Offline
                            foxriver76
                            Developer
                            wrote on last edited by
                            #185

                            @ITCrowd Issues beim jeweiligen Adapter anlegen bitte.

                            Videotutorials & mehr

                            Hier könnt ihr mich unterstützen.

                            1 Reply Last reply
                            0
                            • J jf62

                              dashbutton funktioniert nach der Anleitung sauber.
                              Das Problem mit tr-064 (passwort) tritt allerdings wieder auf:
                              Password error: Please re-enter the password in Admin. Stopping
                              Selbst neueingabe funktioniert nicht mehr
                              Admin ist auf 4.09
                              Alles andere ist laut latest auch aktuell

                              K Offline
                              K Offline
                              Kugelkopf
                              wrote on last edited by
                              #186

                              @jf62 Bei mir hat nach den bereits vorgeschlagenen Sachen ein upload funktioniert.

                              1 Reply Last reply
                              0
                              • apollon77A apollon77

                                @Flugschüler Ja es ist kein

                                .catch(err => { //Fehlerhandling})

                                am Ende dran. Daher wandert ein Fehler als "Unhandled Promise Rejection" in den Prozess und damit starte der Adapter neu

                                F Offline
                                F Offline
                                Flugschüler
                                wrote on last edited by
                                #187

                                @apollon77 said in js-controller 3.0 jetzt im Latest!:

                                .catch(err => { //Fehlerhandling})

                                Also mein Script sieht jetzt so aus.

                                node_ssh = require('node-ssh');
                                ssh = new node_ssh();
                                ssh.connect({
                                host: '192.168.1.140',
                                username: 'pi',
                                password: '********'
                                }).then(() => {
                                ssh.execCommand("sudo shutdown -h now");
                                })

                                Wo muß ich das dann .catch(err => { //Fehlerhandling}) einfügen bzw. wie sieht das ganze Script dann aus.
                                Kannst du mir bitte helfen, ich kenne mich beim Scripte schreiben null aus.

                                F 1 Reply Last reply
                                0
                                • J Jan1

                                  Der Web Adapter läuft bei mir nicht mehr und wechselt ständig von grün nach gelb und zurück. Ist aber erst gestern Abend aufgefallen, weil ein paar Lampen die über den IoT angebunden sind nicht ausgingen.

                                  Spiel gerade ein Backup von vorgestern ein und schau ob wirklich am Update des JS von 3.0.13 auf 3.0,14 lag.
                                  Logs werden im Fehlerfall nachgereicht.

                                  Edit:
                                  So es liegt wohl am iQontrol Adapter, sobald ich dort was schalten möchte geht der Web Adapter in die Knie.
                                  Der Grund warum die Lampen nicht über den IoT liefen war wohl der abgekackte IoT Skill.

                                  Kurze Erklärung was nicht lief und weshalb der iQontrol da mitspielt.
                                  Gestern blieben ein paar Lampen an, die wollte ich dann per Handy und iQontrol ausschalten, was auch nicht funktioniert hatte. Also PC an und nach schauen, so hab ich gesehen, das der Web die Farben wechselt und das JS Update im Verdacht gehabt, da sonst nix neu war und vorher alles lief.
                                  War wohl "nur" der IoT Skill, aber dadurch bemerkt, dass der iQontrol den Web Adapter killt :-)

                                  apollon77A Offline
                                  apollon77A Offline
                                  apollon77
                                  wrote on last edited by
                                  #188

                                  @Jan1 sagte in js-controller 3.0 jetzt im Latest!:

                                  War wohl "nur" der IoT Skill, aber dadurch bemerkt, dass der iQontrol den Web Adapter killt

                                  ??

                                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                  1 Reply Last reply
                                  1
                                  • KibblesK Kibbles

                                    alt text

                                    seit dem update funktioniert der alexa controller nicht mehr hier ein ausschnitt aus dem log

                                    apollon77A Offline
                                    apollon77A Offline
                                    apollon77
                                    wrote on last edited by
                                    #189

                                    @Kibbles Bitte alexa 2 issue anlegen. Interessanter Fehler

                                    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                    1 Reply Last reply
                                    0
                                    • KibblesK Kibbles

                                      alt text

                                      seit dem update funktioniert der alexa controller nicht mehr hier ein ausschnitt aus dem log

                                      apollon77A Offline
                                      apollon77A Offline
                                      apollon77
                                      wrote on last edited by
                                      #190

                                      @Kibbles PS: nodejs 14 ... ooooookkkkkk jemand ganz experimentierfreudig :-) Gratuliere hast einen Adapter-Breaks-mit-nodejs-14" Bug gefunden

                                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                      1 Reply Last reply
                                      0
                                      • F Flugschüler

                                        @apollon77 said in js-controller 3.0 jetzt im Latest!:

                                        .catch(err => { //Fehlerhandling})

                                        Also mein Script sieht jetzt so aus.

                                        node_ssh = require('node-ssh');
                                        ssh = new node_ssh();
                                        ssh.connect({
                                        host: '192.168.1.140',
                                        username: 'pi',
                                        password: '********'
                                        }).then(() => {
                                        ssh.execCommand("sudo shutdown -h now");
                                        })

                                        Wo muß ich das dann .catch(err => { //Fehlerhandling}) einfügen bzw. wie sieht das ganze Script dann aus.
                                        Kannst du mir bitte helfen, ich kenne mich beim Scripte schreiben null aus.

                                        F Offline
                                        F Offline
                                        Flugschüler
                                        wrote on last edited by
                                        #191

                                        @Flugschüler Ich glaube ich habs, stimmt das so?

                                        node_ssh = require('node-ssh');
                                        ssh = new node_ssh();
                                        ssh.connect({
                                        host: '192.168.1.140',
                                        username: 'pi',
                                        password: '********'
                                        }).then(() => {
                                        ssh.execCommand("sudo shutdown -h now");
                                        }).catch(err => { //Fehlerhandling})
                                        })

                                        apollon77A 1 Reply Last reply
                                        0
                                        • dslraserD dslraser

                                          @apollon77

                                          3.0.15

                                          iot.0	2020-04-22 10:06:37.366	warn	the module (for instance, using `npm rebuild` or `npm install`).
                                          iot.0	2020-04-22 10:06:37.366	warn	NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
                                          iot.0	2020-04-22 10:06:37.366	warn	NODE_MODULE_VERSION 64. This version of Node.js requires
                                          iot.0	2020-04-22 10:06:37.366	warn	was compiled against a different Node.js version using
                                          iot.0	2020-04-22 10:06:37.366	warn	(613) Cannot initialize getImage: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node'
                                          

                                          npm rebuild iot.0 habe ich schon gemacht

                                          apollon77A Offline
                                          apollon77A Offline
                                          apollon77
                                          wrote on last edited by
                                          #192

                                          @dslraser Rebuild nur mit Adaptername!

                                          "Iobroker rebuild iot" und wenn das nicht holgt "iobroker rebuild iot --install" ... steht doch alles im ersten Thread ;-)

                                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          271

                                          Online

                                          32.7k

                                          Users

                                          82.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe