Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Clem

    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

    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 0
    • Groups 0

    Clem

    @Clem

    0
    Reputation
    7
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Clem Follow

    Latest posts made by Clem

    • RE: Test Adapter Stihl Viking iMow

      @christoph-2

      Hallo, habe das gleiche Problem beim Login unter "iMow". Ich konnte das ganze ein wenig debuggen und habe folgendes in der main.js vom Adapter lokal anpassen können, damit ein Login möglich ist und der Adapter funktioniert:

      Da der Rückgabewert "Redirected request failed: Unsupported protocol stihl-imow-ios:" ist, die Zeile 208 und 251 folgende Zeile:

              if (error && error.message === "Unsupported protocol stihl-imow-ios:") {
      
      

      in z.B.:

              if (error && error.message.includes("Unsupported protocol") ) {
      
      

      anpassen.

      Zusätzlich trat bei mir ein Variablenüberlauf der Variable "expireTimeout" in Zeile 93 auf, was dazu führt, dass der refreshToken permanent erneuert wird und dann zu Problemen führt. Dort habe ich die Multiplikation mit 1000 zum testen entfernt, so dass der refreshToken jetzt alle 30 Min. erneuert wird. "this.session.expires_in" hat bei mir den Wert 2592000.

             expireTimeout = this.session.expires_in; // * 1000;
      
      posted in Tester
      C
      Clem
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo