Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Ring Doorbell Adapter

    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

    Ring Doorbell Adapter

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

      Guten Morgen,

      verwende den Adapter aus dem git (Version 5.0.1-beta.0)

      Damit erhalte ich jedoch keine "neuen" Videos und Bilder mehr. Der Stand ist immer noch der wie vor ein paar Tagen - bedeutet, die Datenpunkte aktualisieren sich nicht.
      Der refresh Token wurde bereits aktualisiert und ich hatte den iobroker auch über die Weboberfläche von ring herausgeworfen und neu hinzugefügt.

      Im log erscheint folgendes:

      host.raspberrypi2
      2023-10-18 06:02:24.723	error	instance system.adapter.ring.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      ring.0 2023-10-18 06:02:23.884	error	(0 , rxjs_1.firstValueFrom) is not a function
      ring.0 2023-10-18 06:02:23.884	error	TypeError: (0 , rxjs_1.firstValueFrom) is not a function at OwnRingCamera.takeHDSnapshot (/opt/iobroker/node_modules/iobroker.ring/build/lib/ownRingCamera.js:519:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async OwnRingCamera.conditionalRecording (/opt/iobroker/node_modules/iobroker.ring/build/lib/ownRingCamera.js:773:53)
      
      ring.0 2023-10-18 06:02:23.883	error	unhandled promise rejection: (0 , rxjs_1.firstValueFrom) is not a function
      ring.0 2023-10-18 06:02:23.882	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      
      1 Reply Last reply Reply Quote 0
      • M
        ManiacKill last edited by

        Moien zusammen, brauch mal Hilfe bei der Installation vom Adapter. Er ist eigentlich bis jetzt immer gelaufen. Hab ein Update auf 5.07 gemacht und jetzt bekomme ich ihn nicht mehr zum laufen. Egal welche Version !

        Node.js: v18.18.2
        NPM: 10.2.3
        Installiert js-controller:5.0.12

        ost.raspberrypi
        2023-11-04 11:28:38.101	info	Rebuild for adapter system.adapter.ring.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
        host.raspberrypi
        2023-11-04 11:28:38.101	error	instance system.adapter.ring.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
        host.raspberrypi
        2023-11-04 11:28:38.101	error	Caught by controller[0]: Node.js v18.18.2
        host.raspberrypi
        2023-11-04 11:28:38.101	error	Caught by controller[0]: }
        host.raspberrypi
        2023-11-04 11:28:38.101	error	Caught by controller[0]: requestPath: '@homebridge/camera-utils'
        host.raspberrypi
        2023-11-04 11:28:38.101	error	Caught by controller[0]: path: '/opt/iobroker/node_modules/@homebridge/camera-utils/package.json',
        host.raspberrypi
        2023-11-04 11:28:38.101	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
        host.raspberrypi
        2023-11-04 11:28:38.101	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32) {
        host.raspberrypi
        2023-11-04 11:28:38.101	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
        host.raspberrypi
        2023-11-04 11:28:38.100	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14)
        host.raspberrypi
        2023-11-04 11:28:38.100	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/ring-client-api/lib/streaming/streaming-session.js:5:24)
        host.raspberrypi
        2023-11-04 11:28:38.100	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:119:18)
        host.raspberrypi
        2023-11-04 11:28:38.100	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19)
        host.raspberrypi
        2023-11-04 11:28:38.100	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:922:27)
        host.raspberrypi
        2023-11-04 11:28:38.100	error	Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
        host.raspberrypi
        2023-11-04 11:28:38.100	error	Caught by controller[0]: at Module._findPath (node:internal/modules/cjs/loader:680:18)
        host.raspberrypi
        2023-11-04 11:28:38.100	error	Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:438:19)
        host.raspberrypi
        2023-11-04 11:28:38.100	error	Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/@homebridge/camera-utils/lib/index.js'. Please verify that the package.json has a valid "main" entry
        host.raspberrypi
        2023-11-04 11:28:38.100	error	Caught by controller[0]: ^
        host.raspberrypi
        2023-11-04 11:28:38.100	error	Caught by controller[0]: throw err;
        host.raspberrypi
        2023-11-04 11:28:38.100	error	Caught by controller[0]: node:internal/modules/cjs/loader:446
        

        Danke euch

        DJMarc75 mcm1957 2 Replies Last reply Reply Quote 0
        • DJMarc75
          DJMarc75 @ManiacKill last edited by

          @maniackill sagte in Ring Doorbell Adapter:

          NPM: 10.2.3

          da stimmt was nicht

          M 1 Reply Last reply Reply Quote 0
          • M
            ManiacKill @DJMarc75 last edited by

            @djmarc75 Ok sollte ich ein andren nehmen ?

            1 Reply Last reply Reply Quote 0
            • mcm1957
              mcm1957 @ManiacKill last edited by mcm1957

              @maniackill said in Ring Doorbell Adapter:

              Querverweis zu deinem Issue auf Github
              https://github.com/iobroker-community-adapters/ioBroker.ring/issues/613

              Und ja, was DJMarc75 schon gesagt hat

              npm ist immer nur gemeinsam mit node zu installieren - niemals extra oder extra zu aktualisieren. Node 18.x.x ist npm 9.x.x - bring das mal in Ordnung.

              @Thomas-Braun
              Korrigiert der nodejs fixer auch falsche npms ?

              ManiacKill created this issue in iobroker-community-adapters/ioBroker.ring

              closed Installation Ring Adapter bringt fehler #613

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • M
                ManiacKill last edited by

                Ok Danke, hab jetzt wieder auf 9.8.1 stehen 👍 Der Fehler vom Adapter bleibt !

                DJMarc75 Thomas Braun 2 Replies Last reply Reply Quote 0
                • DJMarc75
                  DJMarc75 @ManiacKill last edited by

                  @maniackill dann zeig mal die Langfassung von

                  iob diag
                  

                  bitte

                  1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @mcm1957 last edited by

                    @mcm57 sagte in Ring Doorbell Adapter:

                    Korrigiert der nodejs fixer auch falsche npms ?

                    Jein. Kommt darauf an, ob das binairy im falschen Pfad liegt. Ansonsten wird das nur im Zusammenhang mit dem Paket 'nodejs' angepackt.
                    Das kann man aber direkt anpacken.

                    sudo apt update
                    iob stop
                    sudo apt install --reinstall nodejs
                    
                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @ManiacKill last edited by

                      @maniackill

                      Bei mir baut der Adapter im ersten Anlauf. Gar kein Problem mit konsistentem Setup von nodejs&Co...

                      echad@chet:~ $ iobroker add ring --debug
                      NPM version: 9.8.1
                      Installing iobroker.ring@5.0.7... (System call)
                      added 185 packages, and removed 1 package in 2m
                      131 packages are looking for funding
                        run `npm fund` for details
                      host.chet install adapter ring
                      upload [25] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/admin.d.ts admin.d.ts video/mp2t
                      upload [20] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/de.json i18n/de.json application/json
                      upload [19] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/en.json i18n/en.json application/json
                      upload [18] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/es.json i18n/es.json application/json
                      upload [17] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/fr.json i18n/fr.json application/json
                      upload [16] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/it.json i18n/it.json application/json
                      upload [15] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/nl.json i18n/nl.json application/json
                      upload [14] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/pl.json i18n/pl.json application/json
                      upload [13] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/pt.json i18n/pt.json application/json
                      upload [12] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/ru.json i18n/ru.json application/json
                      upload [11] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/uk.json i18n/uk.json application/json
                      upload [10] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/i18n/zh-cn.json i18n/zh-cn.json application/json
                      upload [9] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/index_m.html index_m.html text/html
                      upload [8] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/jsonConfig.json jsonConfig.json application/json
                      upload [7] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/preferences-desktop-notification-bell-3.png preferences-desktop-notification-bell-3.png image/png
                      upload [6] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/preferences-system-login.png preferences-system-login.png image/png
                      upload [5] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/ring.png ring.png image/png
                      upload [4] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/style.css style.css text/css
                      upload [3] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/tab_m.html
                      tab_m.html text/html
                      upload [2] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/tab_m.js tab_m.js application/javascript
                      upload [1] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/tsconfig.json tsconfig.json application/json
                      upload [0] ring.admin /opt/iobroker/node_modules/iobroker.ring/admin/words.js words.js application/javascript
                      host.chet object system.adapter.ring created/updated
                      host.chet create instance ring
                      host.chet object system.adapter.ring.0.alive created
                      host.chet object system.adapter.ring.0.connected created
                      host.chet object system.adapter.ring.0.compactMode created
                      host.chet object system.adapter.ring.0.cpu created
                      host.chet object system.adapter.ring.0.cputime created
                      host.chet object system.adapter.ring.0.memHeapUsed created
                      host.chet object system.adapter.ring.0.memHeapTotal created
                      host.chet object system.adapter.ring.0.memRss created
                      host.chet object system.adapter.ring.0.uptime created
                      host.chet object system.adapter.ring.0.inputCount created
                      host.chet object system.adapter.ring.0.outputCount created
                      host.chet object system.adapter.ring.0.eventLoopLag created
                      host.chet object system.adapter.ring.0.sigKill created
                      host.chet object system.adapter.ring.0.logLevel created
                      host.chet object ring.0 created
                      host.chet object system.adapter.ring.0 created
                      echad@chet:~ $
                      
                      1 Reply Last reply Reply Quote 0
                      • M
                        ManiacKill last edited by

                        Hi,

                        hab mal ein Backup reingespielt zurzeit geht's wieder !"

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @ManiacKill last edited by

                          @maniackill

                          iob diag
                          

                          sagt? Die Langfassung.

                          1 Reply Last reply Reply Quote 0
                          • M
                            ManiacKill last edited by

                            @thomas-braun said in Ring Doorbell Adapter:

                            iob diag

                            This script must not be run as root!
                            Please use your standard user!

                            Es wurde glaube ich bei der Einrichtung, schon länger her, der normal Benutzer gelöscht. Ist nur noch dieser Vorhanden mit root. Hab es leider nicht selber gemacht deswegen weiß ich es nicht genau !

                            Können diese Fehler auch vom der neuen Ubuntu Version kommen ? Hab von 22.10 auf 23.10 ein Update gemacht ?

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @ManiacKill last edited by

                              @maniackill
                              Dann richte dir einen User ein!
                              Und bei Ubuntu verwendet man auch keine Interimsversionen sondern die LTS-Releases.

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

                                @thomas-braun

                                Ja leider ist das ganz hier nicht mein Täglich Brot, deswegen bin ich da nicht so fit drin. Mach mich meistes hier schlau um Update zu machen !

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  ManiacKill @ManiacKill last edited by

                                  @maniackill said in Ring Doorbell Adapter:

                                  @thomas-braun

                                  Ja leider ist das ganz hier nicht mein Täglich Brot, deswegen bin ich da nicht so fit drin. Mach mich meistes hier schlau um Update zu machen !

                                  Hat alles mit dem Problem hier angefangen,

                                  sudo apt update

                                  Last login: Sat Nov  4 16:54:16 2023 from 192.168.2.155
                                  root@raspberrypi:~# sudo apt update
                                  Hit:1 https://deb.nodesource.com/node_18.x nodistro InRelease
                                  Ign:2 http://archive.ubuntu.com/ubuntu kinetic InRelease
                                  Ign:3 http://archive.ubuntu.com/ubuntu kinetic-updates InRelease
                                  Ign:4 http://archive.ubuntu.com/ubuntu kinetic-security InRelease
                                  Err:5 http://archive.ubuntu.com/ubuntu kinetic Release
                                    404  Not Found [IP: 91.189.91.83 80]
                                  Err:6 http://archive.ubuntu.com/ubuntu kinetic-updates Release
                                    404  Not Found [IP: 91.189.91.83 80]
                                  Err:7 http://archive.ubuntu.com/ubuntu kinetic-security Release
                                    404  Not Found [IP: 91.189.91.83 80]
                                  Reading package lists... Done
                                  E: The repository 'http://archive.ubuntu.com/ubuntu kinetic Release' no longer has a Release file.
                                  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                  N: See apt-secure(8) manpage for repository creation and user configuration details.
                                  E: The repository 'http://archive.ubuntu.com/ubuntu kinetic-updates Release' no longer has a Release file.
                                  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                  N: See apt-secure(8) manpage for repository creation and user configuration details.
                                  E: The repository 'http://archive.ubuntu.com/ubuntu kinetic-security Release' no longer has a Release file.
                                  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                  N: See apt-secure(8) manpage for repository creation and user configuration details.
                                  
                                  

                                  Dann hab ich mich schlau gemacht wie ich das Problem wieder in den griff bekomme, deswegen hab ich dann diese Update gemacht (do-release-upgrade).

                                  Und mit dem Befehl (iob nodejs-update) könnte ich zumindest die Node.js und NPM updaten !

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @ManiacKill last edited by Thomas Braun

                                    @maniackill sagte in Ring Doorbell Adapter:

                                    kinetic

                                    Das Release ist tot...
                                    Und genau deswegen verwendet man den Kram nicht.

                                    Installier da Debian 'Bookworm' oder die aktuelle LTS von Ubuntu.

                                    Und auf einem Raspberry würde ich auch immer RaspberryOS und kein Knubbelbuntu verwenden. Das ist nämlich viel besser auf die Hardware angepasst.

                                    Ja leider ist das ganz hier nicht mein Täglich Brot, deswegen bin ich da nicht so fit drin.

                                    Dann verbietet sich eine root-shell noch selbstverständlicher als ohnehin schon.

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

                                      @thomas-braun

                                      Es ist kein Raspi, ich musste damals nur diesen Namen benutzen wegen dem Backup was ich hatte :).

                                      Es ist eine CT auf Proxmox !

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

                                        @maniackill

                                        Dann richte den gescheit ein. Mit einem User und auf einem lebendigen Release.
                                        Hier steht's:

                                        https://www.iobroker.net/#de/documentation/install/proxmox.md

                                        1 Reply Last reply Reply Quote 0
                                        • DJMarc75
                                          DJMarc75 @ManiacKill last edited by

                                          @maniackill Du wurdest jetzt schon mehrmals gebeten die Langfassung von

                                          iob diag
                                          

                                          hier zu zeigen.
                                          Warum kommt das nicht von Dir ?

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @DJMarc75 last edited by

                                            @djmarc75 sagte in Ring Doorbell Adapter:

                                            Warum kommt das nicht von Dir ?

                                            Weil der root das nicht ausführen darf. Der darf halt auch nicht alles.
                                            Als user ausgeführt funktioniert es.

                                            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

                                            416
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            ring adapter ringdoorbell
                                            31
                                            160
                                            17386
                                            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