Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Ring - Adapter Mal wieder Fehler bei Token...

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Ring - Adapter Mal wieder Fehler bei Token...

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
11 Beiträge 3 Kommentatoren 1.2k Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • A Offline
    A Offline
    Andy200877
    schrieb am zuletzt editiert von
    #1

    Meine Ring wired Klingel wird über den Ring - Adapter in IOBroker eingebunden.

    Nach der Erstellung des Tokens läuft der Adapter auch ein paar Stunden einwandfrei.

    Nach ein paar Stunden taucht im Log immer wieder folgendes auf:

    executeImmediateGuarded resulted in Error: Error: Error setHistory(): Error: Could noch get Hisotry for 1xxxxxxxx in getHistory(id).Error: Refresh token is not valid. Unable to authenticate with Ring servers. See https://github.com/dgreif/ring/wiki/Refresh-Tokens
    

    Wenn ich dann über ssh einen neuen Token erstelle :

    Andy@iobroker:~$ npx -p ring-client-api ring-auth-cli
    ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
      built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
      configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/w                                                                             orkspace --pkg-config-flags=--static --extra-cflags=-I/build/workspace/include -                                                                             -extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-stat                                                                             ic --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-open                                                                             ssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-l                                                                             ibvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis                                                                              --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilt                                                                             er --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enab                                                                             le-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enabl                                                                             e-demuxer=rtsp --enable-indev=alsa --enable-outdev=alsa
      libavutil      56. 51.100 / 56. 51.100
      libavcodec     58. 91.100 / 58. 91.100
      libavformat    58. 45.100 / 58. 45.100
      libavdevice    58. 10.100 / 58. 10.100
      libavfilter     7. 85.100 /  7. 85.100
      libswscale      5.  7.100 /  5.  7.100
      libswresample   3.  7.100 /  3.  7.100
      libpostproc    55.  7.100 / 55.  7.100
    This CLI will provide you with a refresh token which you can use to configure ring-client-api and homebridge-ring.
    Email: XXXXXXXXXX@XXXXXX.de
    Password: xXxXxXxXXXxxXXXX
    Please enter the code sent to +4xxxxxxxxx26 via sms
    2fa Code: 942492
    
    Successfully logged in to Ring. Please add the following to your config:
    
    "refreshToken": "eyJhbGciOiJIUzUxMiIsImprdSI6Ii9vYXV0aC9pbnRlcm5hbC9qd2tzIiwia2lkIjoiYzEyODEwMGIiLCJ0eXAiOiJKV1QifQ.eyJpYXQiOjz2eNeg2NTc3NDYsImlzcyI6IlJpbmdPYXV0aFNlcnZpY2UtcHJvZDp1cy1lYXN0LTE6M2Q3ZDcxOWYiLCJyZWZyZXNoX2NpZCI6inJpbmdfb2ZmaWNpYWxfYW5kcm9pZCIsInJlZnJlc2hfc2NvcGVzIjpbImNsaWVudCJdLCJuZWZyZXNoX3VzZXJfaWQiOjcyMjIjjE4LCJybmQiOiI2VFJPQ0RQaFBrN0RaQSIsInNlc3Npb25faWQiOiJlMWMwOiY1ZClxNGYyLTRmNGItODI3MC03MjlkZThlNDA3ZTkiLCJ0eXBlIjoicmVmcmVzaC10b2tlbiJ9.QXjUR_BQaxlde8JTxDjcAZby65oAjW0x6inFWlCD_8rAGmyQQf2W_wvRZDWWG8NYVR6ToNuzoQkibxS5e5mxyA"
    Andy@iobroker:~$
    

    Läuft der Adapter wieder für ein paar Stunden....

    Hat jemand eine Idee warum das nicht automatisch passiert ?

    Adapterversion ist 1.2.8

    https://github.com/Andy200877/intex_poollampe

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • A Andy200877

      Meine Ring wired Klingel wird über den Ring - Adapter in IOBroker eingebunden.

      Nach der Erstellung des Tokens läuft der Adapter auch ein paar Stunden einwandfrei.

      Nach ein paar Stunden taucht im Log immer wieder folgendes auf:

      executeImmediateGuarded resulted in Error: Error: Error setHistory(): Error: Could noch get Hisotry for 1xxxxxxxx in getHistory(id).Error: Refresh token is not valid. Unable to authenticate with Ring servers. See https://github.com/dgreif/ring/wiki/Refresh-Tokens
      

      Wenn ich dann über ssh einen neuen Token erstelle :

      Andy@iobroker:~$ npx -p ring-client-api ring-auth-cli
      ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
        built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
        configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/w                                                                             orkspace --pkg-config-flags=--static --extra-cflags=-I/build/workspace/include -                                                                             -extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-stat                                                                             ic --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-open                                                                             ssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-l                                                                             ibvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis                                                                              --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilt                                                                             er --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enab                                                                             le-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enabl                                                                             e-demuxer=rtsp --enable-indev=alsa --enable-outdev=alsa
        libavutil      56. 51.100 / 56. 51.100
        libavcodec     58. 91.100 / 58. 91.100
        libavformat    58. 45.100 / 58. 45.100
        libavdevice    58. 10.100 / 58. 10.100
        libavfilter     7. 85.100 /  7. 85.100
        libswscale      5.  7.100 /  5.  7.100
        libswresample   3.  7.100 /  3.  7.100
        libpostproc    55.  7.100 / 55.  7.100
      This CLI will provide you with a refresh token which you can use to configure ring-client-api and homebridge-ring.
      Email: XXXXXXXXXX@XXXXXX.de
      Password: xXxXxXxXXXxxXXXX
      Please enter the code sent to +4xxxxxxxxx26 via sms
      2fa Code: 942492
      
      Successfully logged in to Ring. Please add the following to your config:
      
      "refreshToken": "eyJhbGciOiJIUzUxMiIsImprdSI6Ii9vYXV0aC9pbnRlcm5hbC9qd2tzIiwia2lkIjoiYzEyODEwMGIiLCJ0eXAiOiJKV1QifQ.eyJpYXQiOjz2eNeg2NTc3NDYsImlzcyI6IlJpbmdPYXV0aFNlcnZpY2UtcHJvZDp1cy1lYXN0LTE6M2Q3ZDcxOWYiLCJyZWZyZXNoX2NpZCI6inJpbmdfb2ZmaWNpYWxfYW5kcm9pZCIsInJlZnJlc2hfc2NvcGVzIjpbImNsaWVudCJdLCJuZWZyZXNoX3VzZXJfaWQiOjcyMjIjjE4LCJybmQiOiI2VFJPQ0RQaFBrN0RaQSIsInNlc3Npb25faWQiOiJlMWMwOiY1ZClxNGYyLTRmNGItODI3MC03MjlkZThlNDA3ZTkiLCJ0eXBlIjoicmVmcmVzaC10b2tlbiJ9.QXjUR_BQaxlde8JTxDjcAZby65oAjW0x6inFWlCD_8rAGmyQQf2W_wvRZDWWG8NYVR6ToNuzoQkibxS5e5mxyA"
      Andy@iobroker:~$
      

      Läuft der Adapter wieder für ein paar Stunden....

      Hat jemand eine Idee warum das nicht automatisch passiert ?

      Adapterversion ist 1.2.8

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #2

      @andy200877

      (Debian 6.3.0-18+deb9u1)

      Bist du da wirklich noch mit dem mittlerweile dahingeschiedenen Stretch unterwegs?

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      A 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @andy200877

        (Debian 6.3.0-18+deb9u1)

        Bist du da wirklich noch mit dem mittlerweile dahingeschiedenen Stretch unterwegs?

        A Offline
        A Offline
        Andy200877
        schrieb am zuletzt editiert von Andy200877
        #3

        @thomas-braun Naja Buster habe ich schon drauf...

        Distributor ID: Debian
        Description: Debian GNU/Linux 10 (buster)
        Release: 10
        Codename: buster

        https://github.com/Andy200877/intex_poollampe

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • A Andy200877

          @thomas-braun Naja Buster habe ich schon drauf...

          Distributor ID: Debian
          Description: Debian GNU/Linux 10 (buster)
          Release: 10
          Codename: buster

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von Thomas Braun
          #4

          @andy200877
          Dann ist aber dein ffmpeg gegen die falsche Version gebaut worden:

          ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
            built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
          

          Was sagt:

          apt policy ffmpeg
          

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          A 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @andy200877
            Dann ist aber dein ffmpeg gegen die falsche Version gebaut worden:

            ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
              built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
            

            Was sagt:

            apt policy ffmpeg
            
            A Offline
            A Offline
            Andy200877
            schrieb am zuletzt editiert von
            #5

            @thomas-braun

            Ich habe gerade mal Update auf Bullseye angeworfen....

            https://github.com/Andy200877/intex_poollampe

            1 Antwort Letzte Antwort
            0
            • Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von Thomas Braun
              #6

              @andy200877

              Das nützt dir aber nur was, wenn deine Quellen sauber sind. Mich hatte ja mal die Ausgabe zu dem apt policy interessiert.

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              A 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @andy200877

                Das nützt dir aber nur was, wenn deine Quellen sauber sind. Mich hatte ja mal die Ausgabe zu dem apt policy interessiert.

                A Offline
                A Offline
                Andy200877
                schrieb am zuletzt editiert von
                #7

                @thomas-braun

                Ich weiß nicht ob es Dir noch etwas bringt :

                Andy@iobroker:~$ apt policy ffmpeg
                ffmpeg:
                  Installiert:           (keine)
                  Installationskandidat: 7:4.3.3-0+deb11u1
                  Versionstabelle:
                     7:4.3.3-0+deb11u1 500
                        500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                
                Andy@iobroker:~$ npx -p ring-client-api ring-auth-cli
                ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
                  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
                  configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/workspace --pkg-config-flags=--static --extra-cflags=-I/bu               ild/workspace/include --extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-share               d --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --ena               ble-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --e               nable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-pro               tocol=tcp --enable-libspeex --enable-demuxer=rtsp --enable-indev=alsa --enable-outdev=alsa
                  libavutil      56. 51.100 / 56. 51.100
                  libavcodec     58. 91.100 / 58. 91.100
                  libavformat    58. 45.100 / 58. 45.100
                  libavdevice    58. 10.100 / 58. 10.100
                  libavfilter     7. 85.100 /  7. 85.100
                  libswscale      5.  7.100 /  5.  7.100
                  libswresample   3.  7.100 /  3.  7.100
                  libpostproc    55.  7.100 / 55.  7.100
                This CLI will provide you with a refresh token which you can use to configure ring-client-api and homebridge-ring.
                

                Hm...
                ffmpeg:
                Installiert: (keine)

                https://github.com/Andy200877/intex_poollampe

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • A Andy200877

                  @thomas-braun

                  Ich weiß nicht ob es Dir noch etwas bringt :

                  Andy@iobroker:~$ apt policy ffmpeg
                  ffmpeg:
                    Installiert:           (keine)
                    Installationskandidat: 7:4.3.3-0+deb11u1
                    Versionstabelle:
                       7:4.3.3-0+deb11u1 500
                          500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                  
                  Andy@iobroker:~$ npx -p ring-client-api ring-auth-cli
                  ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
                    built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
                    configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/workspace --pkg-config-flags=--static --extra-cflags=-I/bu               ild/workspace/include --extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-share               d --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --ena               ble-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --e               nable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-pro               tocol=tcp --enable-libspeex --enable-demuxer=rtsp --enable-indev=alsa --enable-outdev=alsa
                    libavutil      56. 51.100 / 56. 51.100
                    libavcodec     58. 91.100 / 58. 91.100
                    libavformat    58. 45.100 / 58. 45.100
                    libavdevice    58. 10.100 / 58. 10.100
                    libavfilter     7. 85.100 /  7. 85.100
                    libswscale      5.  7.100 /  5.  7.100
                    libswresample   3.  7.100 /  3.  7.100
                    libpostproc    55.  7.100 / 55.  7.100
                  This CLI will provide you with a refresh token which you can use to configure ring-client-api and homebridge-ring.
                  

                  Hm...
                  ffmpeg:
                  Installiert: (keine)

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von Thomas Braun
                  #8

                  @andy200877 sagte in Ring - Adapter Mal wieder Fehler bei Token...:
                  Dann bringt dieses ring-client-api wohl ein eigenes statisch gelinktes ffmpeg mit. Nicht fein...

                  Aus der ReadMe:

                  ffmpegPath undefined A custom path to the ffmpeg executable. By default, ffmpeg will be installed using ffmpeg-for-homebridge, and then fall back to using the PATH environment variable.
                  ffmpegPath Uses ffmpeg-for-homebridge A custom path to the ffmpeg executable. By default, the static binaries built in ffmpeg-for-homebridge will be used. If you prefer to use your own version of ffmpeg, you can pass a complete path, or simply "ffmpeg" to use ffmpeg from your PATH.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  A 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @andy200877 sagte in Ring - Adapter Mal wieder Fehler bei Token...:
                    Dann bringt dieses ring-client-api wohl ein eigenes statisch gelinktes ffmpeg mit. Nicht fein...

                    Aus der ReadMe:

                    ffmpegPath undefined A custom path to the ffmpeg executable. By default, ffmpeg will be installed using ffmpeg-for-homebridge, and then fall back to using the PATH environment variable.
                    ffmpegPath Uses ffmpeg-for-homebridge A custom path to the ffmpeg executable. By default, the static binaries built in ffmpeg-for-homebridge will be used. If you prefer to use your own version of ffmpeg, you can pass a complete path, or simply "ffmpeg" to use ffmpeg from your PATH.

                    A Offline
                    A Offline
                    Andy200877
                    schrieb am zuletzt editiert von
                    #9

                    @thomas-braun

                    Ja scheint wohl so zu sein,
                    aber das löst nicht mein Problem das ich den API-Key alle paar Stunden manuell neu erstellen muss.

                    https://github.com/Andy200877/intex_poollampe

                    B 1 Antwort Letzte Antwort
                    0
                    • A Andy200877

                      @thomas-braun

                      Ja scheint wohl so zu sein,
                      aber das löst nicht mein Problem das ich den API-Key alle paar Stunden manuell neu erstellen muss.

                      B Offline
                      B Offline
                      blackeagle998
                      schrieb am zuletzt editiert von
                      #10

                      @andy200877
                      Hast du mittlerweile eine Lösung für das Thema?
                      Ich habe das Problem auch und wäre daran interessiert :-)

                      1 Antwort Letzte Antwort
                      0
                      • A Offline
                        A Offline
                        Andy200877
                        schrieb am zuletzt editiert von
                        #11

                        @blackeagle998

                        Nein... Auch mit der 2.0.0 beta3 kommt nach ein paar Stunden im Log :
                        executeImmediateGuarded resulted in Error: Error: Error setHistory(): Error: Could noch get Hisotry for 112765740 in getHistory(id).Error: Refresh token is not valid. Unable to authenticate with Ring servers. See https://github.com/dgreif/ring/wiki/Refresh-Tokens

                        Im Github des Adapters habe ich auch noch keine Lösung gefunden...

                        https://github.com/Andy200877/intex_poollampe

                        1 Antwort Letzte Antwort
                        0
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

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

                        473

                        Online

                        32.7k

                        Benutzer

                        82.4k

                        Themen

                        1.3m

                        Beiträge
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Ungelesen 0
                        • Kategorien
                        • Unreplied
                        • Beliebt
                        • GitHub
                        • Docu
                        • Hilfe