Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. CC2531 funktioniert nicht mehr

    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

    CC2531 funktioniert nicht mehr

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

      ohh Fabian..

      node 11.6 wird doch garnicht unterstützt ..im ganzen iobroker…

      mach ein downgrade auf 8.xx

      sudo apt-get purge node
      sudo apt-get purge nodejs
      sudo apt-get purge npm
      sudo apt-get autoremove
      
      curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
      sudo apt-get install -y nodejs
      
      
      `node -v
      [code]
      
      hier sollte die ausgabe 8.xx sein
      
      [code]
      npm -v[/code]`
      
      hier irgendwas mit 6.xx[/code]
      
      1 Reply Last reply Reply Quote 0
      • F
        Fabian1995 last edited by

        Alles so durchgeführt nach deiner Anleitung

        Anscheinend habe ich 2 versionen von Node installiert.

        /usr/bin/node -v

        v8.15.0

        /usr/local/bin/node -v

        v11.6.0

        Npm -v

        v6.5.0-next.0

        Das ist der neue LOG: (Alle paar sek blinkt der Adapter jetzt mal ganz kurz gelb)

        • host.raspberrypi 2019-01-17 07:58:05.371 error instance system.adapter.zigbee.0 terminated with code 0 (OK)
        host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[7]: Thu, 17 Jan 2019 06:58:05 GMT cc-znp:SREQ –> SYS:osalNvRead, { id: 3840, offset: 0, len: 1, value: [ 85 ] }
        
        host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[6]: 2019-01-17T06:58:05.314Z zigbee-shepherd:request REQ –> SYS:osalNvRead
        
        host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[5]: Thu, 17 Jan 2019 06:58:05 GMT cc-znp The serialport /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0019366935-if00 is opened.
        
        host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[4]: 2019-01-17T06:58:05.305Z zigbee:controller info zigbee-shepherd stopped undefined
        
        host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[3]: 2019-01-17T06:58:05.304Z zigbee-shepherd zigbee-shepherd is stopped.
        
        host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[2]: 2019-01-17T06:58:05.300Z zigbee-shepherd zigbee-shepherd is stopping.
        
        host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[1]: '/opt/iobroker/node_modules/iobroker.js-controller/../../iobroker-data/zigbee_0/shepherd.db' }
        
        host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[1]: path:
        
        host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[1]: syscall: 'open',
        
        host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[1]: code: 'EACCES',
        
        host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[1]: errno: -13,
        
        host.raspberrypi 2019-01-17 07:58:05.370 error Caught by controller[1]: { [Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/../../iobroker-data/zigbee_0/shepherd.db']
        
        host.raspberrypi 2019-01-17 07:58:05.370 error Caught by controller[0]: 2019-01-17T06:58:05.249Z zigbee-shepherd:init zigbee-shepherd booting…
        
        host.raspberrypi 2019-01-17 07:58:03.457 info instance system.adapter.zigbee.0 started with pid 5509
        
        host.raspberrypi 2019-01-17 07:58:02.422 info Restart adapter system.adapter.zigbee.0 because enabled
        1 Reply Last reply Reply Quote 0
        • S
          SirMiker last edited by

          Moin

          Hab es auch versucht so von 11.6.0 weg zu kommen…aber nachdem er alles macht mit den Befehlen habe ich am Ende immer noch v11.6.0 :roll:

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

            ja dann mach do

            rm -f /usr/local/bin/node
            

            und dann nochmal

            node -v
            
            1 Reply Last reply Reply Quote 0
            • F
              Fabian1995 last edited by

              Habe ich gemacht

              node -v ist jetzt

              8.15.0

              npm

              6.5.0-next.0

              Aber das ist immer noch der aktuelle LOG: (zigbee adapter ist übrigens Version 0.8.0)

              • host.raspberrypi 2019-01-19 01:08:37.757 error instance system.adapter.zigbee.1 terminated with code 1 ()
              host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10)
              
              host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at Module._compile (module.js:653:30)
              
              host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/serialport/lib/bindings/linux.js:2:36)
              
              host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/serialport/node_modules/bindings/bindings.js:81:44)
              
              host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at require (internal/module.js:11:18)
              
              host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at Module.require (module.js:597:17)
              
              host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at Function.Module._load (module.js:498:3)
              
              host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at tryModuleLoad (module.js:506:12)
              
              host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at Module.load (module.js:566:32)
              
              host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: at Object.Module._extensions..node (module.js:682:18)
              
              host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
              
              host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: NODE_MODULE_VERSION 57\. Please try re-compiling or re-installing
              
              host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: NODE_MODULE_VERSION 67\. This version of Node.js requires
              
              host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: was compiled against a different Node.js version using
              
              host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/serialport/build/Release/serialport.node'
              
              host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: ^
              
              host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: throw e
              
              host.raspberrypi 2019-01-19 01:08:37.754 error Caught by controller[0]: /opt/iobroker/node_modules/serialport/node_modules/bindings/bindings.js:88</anonymous>
              1 Reply Last reply Reply Quote 0
              • arteck
                arteck Developer Most Active last edited by

                ja du musst ein rebuild machen..

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

                  Jetzt habe ich folgendes Problem:

                  LOG:

                  host.raspberrypi 2019-01-22 00:08:40.271 error instance system.adapter.zigbee.0 terminated with code 1 ()

                  host.raspberrypi 2019-01-22 00:08:40.271 error Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/cc-znp/node_modules/serialport/lib/bindings/auto-detect.js:16:22)

                  host.raspberrypi 2019-01-22 00:08:40.271 error Caught by controller[0]: at require (internal/module.js:11:18)

                  host.raspberrypi 2019-01-22 00:08:40.271 error Caught by controller[0]: at Module.require (module.js:597:17)

                  host.raspberrypi 2019-01-22 00:08:40.271 error Caught by controller[0]: at Function.Module._load (module.js:498:3)

                  host.raspberrypi 2019-01-22 00:08:40.270 error Caught by controller[0]: at tryModuleLoad (module.js:506:12)

                  host.raspberrypi 2019-01-22 00:08:40.270 error Caught by controller[0]: at Module.load (module.js:566:32)

                  host.raspberrypi 2019-01-22 00:08:40.270 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10)

                  host.raspberrypi 2019-01-22 00:08:40.270 error Caught by controller[0]: at Module._compile (module.js:653:30)

                  host.raspberrypi 2019-01-22 00:08:40.264 error Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/cc-znp/node_modules/serialport/lib/bindings/linux.js:2:36)

                  host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/cc-znp/node_modules/bindings/bindings.js:93:9)

                  host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/compiled/8.15.0/linux/arm/serialport.node

                  host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/default/serialport.node

                  host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/Release/serialport.node

                  host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/out/Release/serialport.node

                  host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/Debug/serialport.node

                  host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/out/Debug/serialport.node

                  host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/Release/serialport.node

                  host.raspberrypi 2019-01-22 00:08:40.262 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/Debug/serialport.node

                  host.raspberrypi 2019-01-22 00:08:40.262 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/serialport.node

                  host.raspberrypi 2019-01-22 00:08:40.262 error Caught by controller[0]: Error: Could not locate the bindings file. Tried:

                  host.raspberrypi 2019-01-22 00:08:40.262 error Caught by controller[0]: ^

                  host.raspberrypi 2019-01-22 00:08:40.262 error Caught by controller[0]: throw err

                  host.raspberrypi 2019-01-22 00:08:40.261 error Caught by controller[0]: /opt/iobroker/node_modules/cc-znp/node_modules/bindings/bindings.js:96</anonymous></anonymous>

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

                    am einfachsten währe Adapter löschen installieren.. da stimmt was mit den dependecies nicht..

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

                      Dies habe ich schon ein paar mal gemacht, jedoch leider ohne Erfolg

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

                        Setze doch mal ioBroker neu in einem lxc container auf.

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

                          Setze doch mal ioBroker neu in einem lxc container auf bzw komplett neu auf dem rPi

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

                          Support us

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

                          549
                          Online

                          31.8k
                          Users

                          80.0k
                          Topics

                          1.3m
                          Posts

                          4
                          14
                          1122
                          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