Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Adapter Paketverfolgung DHL, Briefe, Amazon, DPD,GLS,UPS,17T

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Adapter Paketverfolgung DHL, Briefe, Amazon, DPD,GLS,UPS,17T

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

      Hi ich kann den Adapter nicht nutzen. Er startet erst gar nicht und bleibt rot.
      In den Logs steht folgendes:

      ost.SmartHomePi
      2022-04-05 10:03:47.561	error	instance system.adapter.parcel.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.SmartHomePi
      2022-04-05 10:03:47.561	error	Caught by controller[0]: }
      host.SmartHomePi
      2022-04-05 10:03:47.560	error	Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
      host.SmartHomePi
      2022-04-05 10:03:47.560	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12) {
      host.SmartHomePi
      2022-04-05 10:03:47.560	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
      host.SmartHomePi
      2022-04-05 10:03:47.560	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
      host.SmartHomePi
      2022-04-05 10:03:47.559	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
      host.SmartHomePi
      2022-04-05 10:03:47.559	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/canvas/lib/bindings.js:3:18)
      host.SmartHomePi
      2022-04-05 10:03:47.559	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:101:18)
      host.SmartHomePi
      2022-04-05 10:03:47.559	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
      host.SmartHomePi
      2022-04-05 10:03:47.559	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
      host.SmartHomePi
      2022-04-05 10:03:47.558	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
      host.SmartHomePi
      2022-04-05 10:03:47.558	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
      host.SmartHomePi
      2022-04-05 10:03:47.558	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
      host.SmartHomePi
      2022-04-05 10:03:47.558	error	Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
      host.SmartHomePi
      2022-04-05 10:03:47.557	error	Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
      host.SmartHomePi
      2022-04-05 10:03:47.557	error	Caught by controller[0]: was compiled against a different Node.js version using
      host.SmartHomePi
      2022-04-05 10:03:47.557	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node'
      host.SmartHomePi
      2022-04-05 10:03:47.556	error	Caught by controller[0]: ^
      host.SmartHomePi
      2022-04-05 10:03:47.556	error	Caught by controller[0]: return process.dlopen(module, path.toNamespacedPath(filename));
      host.SmartHomePi
      2022-04-05 10:03:47.555	error	Caught by controller[0]: internal/modules/cjs/loader.js:1144
      

      Neuinstallation, iOBroker Neustart hat nichts gebracht.

      Thomas Braun T 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @draexler last edited by

        @draexler

        Aktuelle nodeJS-Version? nodeJS@14 ist empfohlen.
        Dann muss der Adapter neugebaut werden.

        draexler 1 Reply Last reply Reply Quote 0
        • draexler
          draexler @Thomas Braun last edited by

          @thomas-braun.

          Die installierte Version ist die "v14.19.1"

          Also kann es ja daran nicht liegen?

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • T
            tombox @draexler last edited by

            @draexler

            cd /opt/iobroker/
            npm install canvas
            

            ich arbeite daran das es gefixt wird

            draexler Horst Böttcher 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @draexler last edited by

              @draexler sagte in Adapter Paketverfolgung DHL, Briefe, Amazon, DPD,GLS,UPS,17T:

              Die installierte Version ist die "v14.19.1"
              Also kann es ja daran nicht liegen?

              Kann auch 'schief' installiert sein. Die Versionsnummer alleine sagt nichts aus.

              1 Reply Last reply Reply Quote 0
              • G
                Gruter @tombox last edited by

                @tombox
                Ja, jetzt passt es wieder, Danke!

                1 Reply Last reply Reply Quote 0
                • draexler
                  draexler @tombox last edited by

                  @tombox Das hat funktioniert. Danke ☺️

                  1 Reply Last reply Reply Quote 0
                  • S
                    senior1418 @tombox last edited by senior1418

                    @tombox

                    ich kann leider nicht genau sagen seit wann aber seit einiger Zeit erhalte ich keine Meldungen über PushOver.

                    pushover.3 2022-04-08 10:58:38.042	error	Error from Pushover: message cannot be blank
                    pushover.3 2022-04-08 10:58:37.882	info	Send pushover notification: {"user":"","text":"📦 Amazon EU SARL\nZustellung erfolgreich","title":"Parcel","priority":0,"message":""}
                    

                    :Nachtrag v0.0.13

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      tombox @senior1418 last edited by

                      @senior1418 ist gefixt

                      S 1 Reply Last reply Reply Quote 0
                      • Horst Böttcher
                        Horst Böttcher @tombox last edited by

                        @tombox habe den adapter Installier und er bleibt rot

                        host.raspberrypi	2022-04-08 12:14:32.446	info	Rebuild for adapter system.adapter.parcel.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
                        host.raspberrypi	2022-04-08 12:14:32.445	error	instance system.adapter.parcel.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                        host.raspberrypi	2022-04-08 12:14:32.444	error	Caught by controller[0]: }
                        host.raspberrypi	2022-04-08 12:14:32.443	error	Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
                        host.raspberrypi	2022-04-08 12:14:32.443	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12) {
                        host.raspberrypi	2022-04-08 12:14:32.442	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
                        host.raspberrypi	2022-04-08 12:14:32.442	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                        host.raspberrypi	2022-04-08 12:14:32.441	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
                        host.raspberrypi	2022-04-08 12:14:32.441	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/canvas/lib/bindings.js:3:18)
                        host.raspberrypi	2022-04-08 12:14:32.440	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:93:18)
                        host.raspberrypi	2022-04-08 12:14:32.440	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
                        host.raspberrypi	2022-04-08 12:14:32.439	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                        host.raspberrypi	2022-04-08 12:14:32.439	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
                        host.raspberrypi	2022-04-08 12:14:32.438	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
                        host.raspberrypi	2022-04-08 12:14:32.438	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                        host.raspberrypi	2022-04-08 12:14:32.437	error	Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
                        host.raspberrypi	2022-04-08 12:14:32.437	error	Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
                        host.raspberrypi	2022-04-08 12:14:32.436	error	Caught by controller[0]: was compiled against a different Node.js version using
                        host.raspberrypi	2022-04-08 12:14:32.435	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node'
                        host.raspberrypi	2022-04-08 12:14:32.435	error	Caught by controller[0]: ^
                        host.raspberrypi	2022-04-08 12:14:32.434	error	Caught by controller[0]: return process.dlopen(module, path.toNamespacedPath(filename));
                        host.raspberrypi	2022-04-08 12:14:32.433	error	Caught by controller[0]: internal/modules/cjs/loader.js:1144
                        host.raspberrypi	2022-04-08 12:14:28.563	info	instance system.adapter.parcel.0 started with pid 2182
                        host.raspberrypi	2022-04-08 12:14:27.736	info	"system.adapter.parcel.0" enabled
                        
                        DJMarc75 1 Reply Last reply Reply Quote 0
                        • DJMarc75
                          DJMarc75 @Horst Böttcher last edited by

                          @horst-böttcher

                          https://forum.iobroker.net/post/787171

                          1 Reply Last reply Reply Quote 0
                          • Horst Böttcher
                            Horst Böttcher @tombox last edited by

                            @tombox sagte in Adapter Paketverfolgung DHL, Briefe, Amazon, DPD,GLS,UPS,17T:

                            @draexler

                            cd /opt/iobroker/
                            npm install canvas
                            

                            ich arbeite daran das es gefixt wird

                            pi@raspberrypi:/opt/iobroker $ iobroker stop
                            pi@raspberrypi:/opt/iobroker $ cd /opt/iobroker/
                            pi@raspberrypi:/opt/iobroker $ sudo npm install canvas
                            
                            > canvas@2.9.1 install /opt/iobroker/node_modules/canvas
                            > node-pre-gyp install --fallback-to-build
                            
                            node-pre-gyp WARN Pre-built binaries not installable for canvas@2.9.1 and node@14.18.1 (node-v83 ABI, glibc) (falling back to source compile with node-gyp)
                            node-pre-gyp WARN Hit error EACCES: permission denied, mkdir '/opt/iobroker/node_modules/canvas/build'
                            gyp WARN EACCES current user ("pi") does not have permission to access the dev dir "/root/.cache/node-gyp/14.18.1"
                            gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
                            gyp ERR! configure error
                            gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/canvas/build'
                            gyp ERR! System Linux 5.10.17-v7l+
                            gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83"
                            gyp ERR! cwd /opt/iobroker/node_modules/canvas
                            gyp ERR! node -v v14.18.1
                            gyp ERR! node-gyp -v v5.1.0
                            gyp ERR! not ok
                            node-pre-gyp ERR! build error
                            node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
                            node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
                            node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
                            node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1058:16)
                            node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
                            node-pre-gyp ERR! System Linux 5.10.17-v7l+
                            node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                            node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                            node-pre-gyp ERR! node -v v14.18.1
                            node-pre-gyp ERR! node-pre-gyp -v v1.0.6
                            node-pre-gyp ERR! not ok
                            Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
                            npm WARN @rollup/plugin-inject@4.0.4 requires a peer of rollup@^1.20.0 || ^2.0.0 but none is installed. You must install peer dependencies yourself.
                            npm WARN @rollup/pluginutils@3.1.0 requires a peer of rollup@^1.20.0||^2.0.0 but none is installed. You must install peer dependencies yourself.
                            npm WARN http-cookie-agent@1.0.5 requires a peer of tough-cookie@^4.0.0 but none is installed. You must install peer dependencies yourself.
                            npm WARN rollup-plugin-polyfill-node@0.8.0 requires a peer of rollup@^1.20.0 || ^2.0.0 but none is installed. You must install peer dependencies yourself.
                            
                            npm ERR! code ELIFECYCLE
                            npm ERR! errno 1
                            npm ERR! canvas@2.9.1 install: `node-pre-gyp install --fallback-to-build`
                            npm ERR! Exit status 1
                            npm ERR!
                            npm ERR! Failed at the canvas@2.9.1 install script.
                            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /root/.npm/_logs/2022-04-08T14_22_43_117Z-debug.log
                            pi@raspberrypi:/opt/iobroker $
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Horst Böttcher last edited by Thomas Braun

                              @horst-böttcher sagte in Adapter Paketverfolgung DHL, Briefe, Amazon, DPD,GLS,UPS,17T:

                              sudo npm install canvas

                              NICHT mit sudo hantieren an der Stelle.
                              Stand aber auch offenbar so nicht in der Anleitung. Warum macht man das also dann doch?

                              System auf Stand halten.

                              sudo apt update
                              sudo apt full-upgrade
                              sudo reboot
                              

                              Danach als user:

                              cd /opt/iobroker 
                              npm install canvas
                              
                              Horst Böttcher 1 Reply Last reply Reply Quote 2
                              • Horst Böttcher
                                Horst Böttcher @Thomas Braun last edited by

                                @thomas-braun

                                ich hatte es vorher ohne sudo gemacht

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Horst Böttcher last edited by

                                  @horst-böttcher

                                  Hast du jetzt die Hausaufgaben erledigt? System auf Stand?

                                  cd /opt/iobroker
                                  npm ls canvas
                                  

                                  liefert?

                                  1 Reply Last reply Reply Quote 1
                                  • S
                                    senior1418 @tombox last edited by

                                    @tombox sagte in Adapter Paketverfolgung DHL, Briefe, Amazon, DPD,GLS,UPS,17T:

                                    ist gefixt

                                    herzlichen Dank ! Es funktioniert wieder .

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      basty2 @tombox last edited by

                                      @tombox Ich wollte nach dem aktuellen Stand nachfragen. Bei mir funktioniert die Darstellung der voraussichtlichen Lieferung und der Anzahl der Stopps nur bei Amazon. Die Infos gibt es bspw. teilweise auch bei der DHL. Ich fände es klasse, wenn diese Infos auch bei den anderen Unternehmen im JSON landen würden.

                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        tombox @basty2 last edited by

                                        @basty2 Also wenn sie nicht im rohen JSON sind wird es schwer darauf zuzugreifen. Ich habe bisher keine DHL mit Stop gehabt

                                        DJMarc75 B 2 Replies Last reply Reply Quote 0
                                        • DJMarc75
                                          DJMarc75 @tombox last edited by

                                          @tombox
                                          Ich hatte schon einige Lieferungen von DHL welche im Livetracking auch die Stopps angezeigt haben - allerdings nur in der Ordnerstruktur. Ich habe aber davon abgesehen dies zu visualisieren oder anders zu verarbeiten da sich die Anzahl der Stopps und eigentlich alle Daten im Livetracking ja auch nur ändern wenn sich die Instanz die Daten holt. In meinem Fall alle 15 Minuten und zwischen den Intervallen sind deutliche Abweichungen im Vergleich zur APP von DHL zu erkennen.
                                          Habe im Moment leider keine Lieferung von DHL um auch mal zu sehen ob da was in der rohen JSON eingetragen wird.

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            basty2 @tombox last edited by

                                            @djmarc75 @tombox Spannend, bei mir sind ca. 95% der Lieferungen mit Livetracking. Deshalb aktualisiere ich auch aller 5 Minuten. Es reicht ja meistens zu sehen, dass die Stopps angezeigt werden.
                                            ich kann aktuell keine Bilder hochladen. Kann Euch aber die Werte sagen. Vielleicht können andere das ergänzen oder eigene Erfahrungen mit einbringen.

                                            Anzahl der Stopps sind die beiden Elemente wichtig:
                                            parcel.0.dhl.sendungen03.sendungsdetails.liveTracking.countdownTextKey (hier steht aber immer ein CD davor)
                                            parcel.0.dhl.sendungen03.sendungsdetails.liveTracking.countdown

                                            Ich werde morgen mal schauen, welcher der beiden Werte wirklich die nächsten Stopps anzeigt.

                                            Die nächsten beiden Werte haben meist nur einen Dummy: die Uhrzeit 0:00 Uhr, aber manchmal waren da auch schon Uhrzeiten mit Zeitfenstern.
                                            parcel.0.dhl.sendungen03.sendungsdetails.zustellung.zustellzeitfensterVon
                                            parcel.0.dhl.sendungen03.sendungsdetails.zustellung.zustellzeitfensterVon

                                            Die Werte des liveTracking bleiben auch bestehen, wenn schon zugestellt wurde. D.h. es wird nicht mit 0 oder so überschrieben.

                                            jetzt ging doch der Upload.

                                            e30fd03d-6764-4cbd-a64c-4b7542186822-image.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            942
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            17track amazon briefe dhl dpd gls ups
                                            121
                                            1525
                                            438426
                                            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