Navigation

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

    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

    I
    • Profile
    • Following 0
    • Followers 1
    • Topics 2
    • Posts 153
    • Best 17
    • Groups 2

    ichderarnd

    @ichderarnd

    Starter

    20
    Reputation
    70
    Profile views
    153
    Posts
    1
    Followers
    0
    Following
    Joined Last Online
    Location NRW

    ichderarnd Follow
    Pro Starter

    Best posts made by ichderarnd

    • RE: Go-eCharger via MQTT steuern

      @mickym
      Danke, das war's! Ich habe im Expertenmodus auf dem Knoten mit der Seriennummer (auf dem Datenpunkt "amp" ging es nicht) das "+" in der Toolbar geklickt und den Datenpunkt "amp.set" angelegt. Den kann ich nun beschreiben und die Ladeleistung ändert sich auch sofort. Der Datenpunkt "amp.result" wurde mit dem ersten Setzen eines Wertes automatisch eingefügt und enthält nun jeweils "success" wenn der Wert gesetzt wurde.

      Danke!

      posted in ioBroker Allgemein
      I
      ichderarnd
    • RE: Lambda Wärmepumpe - Request for Adapter

      @desmond-0
      Ich habe das gleiche Problem festgestellt: Manche Register liefern keine Daten. Ich versuche das grade mit Lambda zu klären.

      Die Holding-Register habe ich auf Github unter:
      https://github.com/ioBroker/modbus-templates/blob/fd3b6a9fd690d0fee70835b9fba0d22e52dcb4bd/Heizungsanlagen/Lambda-WP/holding-registers.tsv
      dokumentiert.

      Unter Allgemein ist im Modbus-Adapter folgendes einzustellen (Partner IP-Adresse bitte entsprechend anpassen).

      IMG_2868.jpeg
      IMG_2869.jpeg

      posted in Einbindung von Geräten
      I
      ichderarnd
    • RE: Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda

      @mading:
      Mein Enyaq hat erst seit ein paar Tagen ME3. Daher lag für mich diese Frage bisher auf Eis.
      Ich werde für mein Fahrzeug die Grafiken der Skoda-Connect Seite verwenden. Für andere MEB Fahrzeuge geht das sicher analog.
      Sieht dann etwa so aus: https://youtu.be/4ih0S-vMl0k

      posted in Tester
      I
      ichderarnd
    • RE: Announce: Vorwerk VR200 Saugroboter Adapter

      @Eisbaeeer
      Ich kann bestätigen, dass es funktioniert (ich hatte auf die neue Vorwerk App umgestellt und Login im Adapter war nicht mehr möglich).
      Mit der Github Version 1.1.0 und dem per curl - email - curl erstellten Token sieht es im Log jetzt so aus:

      09BA90F9-9D5A-4E01-B05A-F1FFCDEFBA57.jpeg

      Allerdings ist das noch nicht die Lösung, da das Token nur einen Tag gültig ist. Ist denn bekannt, wie das Bearer Token per Login und Passwort abgerufen werden kann?

      posted in ioBroker Allgemein
      I
      ichderarnd
    • RE: Lambda Wärmepumpe - Request for Adapter

      @tyron
      Hast Du oben den Link zu Github gesehen?
      https://forum.iobroker.net/topic/58958/lambda-wärmepumpe-request-for-adapter/28?_=1749198066061&lang=de

      posted in Einbindung von Geräten
      I
      ichderarnd
    • RE: Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda

      @firepower75 said in Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda:

      @fuchs1978 sagte in Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda:

      Seat Cupra #2 Alternative

      Damit klappt es auch bei mir wieder !! Super...

      @tombox: Wäre es möglich, dass Du bei Gelegenheit die Funktion "Parking position" für den Seat Cupra auch für den Enyaq übernimmst?
      Auch in der Github 0.1.2 Version kommt für den Enyaq noch die Meldung "Parking position failed. Blocked until restart".

      posted in Tester
      I
      ichderarnd
    • RE: Pegelwerte Fritzbox 6490 Cable auslesen?

      @sugram
      Das Script läuft inzwischen ganz gut bei Mike0185 und mir mit der 7.22. Ich muss da allerdings noch ein wenig aufräumen und dann wohl auch mal ins Github packen.

      Installation:

      • Der Javascript-Adapter muss installiert sein und unter „Zusätzliche NPM-Module“ die iconv-lite und crypto Module eingetragen sein.
      • In der Fritzbox einen weiteren Benutzer „ioBroker“ anlegen und mit einem Passwort versehen. Das muss im Script (siehe unten) angegeben werden.
      • Dann das unten stehende Script anlegen und dauerhaft laufen lassen. Die Variablen werden automatisch angelegt und jede Minute gefüllt.
      var logging = true;
      const iconv = require('iconv-lite');
      const crypto = require('crypto');
      
      var DOCSIS30DSChannels = 0;
      var DOCSIS31DSChannels = 0;
      var DOCSIS30USChannels = 0;
      var DOCSIS31USChannels = 0;
      
      var sid;
      var fritzBenutzer = 'ioBroker';
      var fritzPasswort = 'passwort';
      var loginURL = 'http://fritz.box/login_sid.lua?username=';
      var docsisURL = 'http://fritz.box/data.lua';
      
      // Downstream DOCSIS 3.0
      for (var i = 1; i <= 31; i++){
          var Channel = 'C' + (i < 10 ? '0' + i.toString() : i.toString());
          createState('Internet.Docsis.DS.' + Channel + '.Frequency',                    0, false, {name: 'Frequency',  unit: 'MHz',      type: 'mixed', role: 'state'});
          createState('Internet.Docsis.DS.' + Channel + '.Modulation',                   0, false, {name: 'Modulation', unit: 'QAM',      type: 'mixed', role: 'state'});
          createState('Internet.Docsis.DS.' + Channel + '.PowerLevel',                   0, false, {name: 'PowerLevel', unit: 'dBmV',     type: 'mixed', role: 'state'});
          createState('Internet.Docsis.DS.' + Channel + '.MSE',                          0, false, {name: 'MSE',        unit: 'dB',       type: 'mixed', role: 'state'});
          createState('Internet.Docsis.DS.' + Channel + '.Latency',                      0, false, {name: 'Latency',    unit: 'ms',       type: 'mixed', role: 'state'});
          createState('Internet.Docsis.DS.' + Channel + '.CorrectableErrors',            0, false, {name: 'CorrectableErrors',            type: 'mixed', role: 'state'});
          createState('Internet.Docsis.DS.' + Channel + '.CorrectableErrorsPerMinute',   0, false, {name: 'CorrectableErrorsPerMinute',   type: 'mixed', role: 'state'});
          createState('Internet.Docsis.DS.' + Channel + '.UncorrectableErrors',          0, false, {name: 'UncorrectableErrors',          type: 'mixed', role: 'state'});
          createState('Internet.Docsis.DS.' + Channel + '.UncorrectableErrorsPerMinute', 0, false, {name: 'UncorrectableErrorsPerMinute', type: 'mixed', role: 'state'});
      }
      
      // Upstream DOCSIS 3.0
      for (var i = 0; i <= 5; i++){
          var Channel = 'C0' + i.toString();
          createState('Internet.Docsis.US.' + Channel + '.Frequency',       0, false, {name: 'Frequency',  unit: 'MHz',  type: 'mixed', role: 'state'});
          createState('Internet.Docsis.US.' + Channel + '.Modulation',      0, false, {name: 'Modulation', unit: 'QAM',  type: 'mixed', role: 'state'});
          createState('Internet.Docsis.US.' + Channel + '.MultiplexMethod', 0, false, {name: 'MultiplexMethod',          type: 'mixed', role: 'state'});
          createState('Internet.Docsis.US.' + Channel + '.PowerLevel',      0, false, {name: 'PowerLevel', unit: 'dBmV', type: 'mixed', role: 'state'});
      }
      
      // Downstream DOCSIS 3.1
      createState('Internet.Docsis31.DS.C01.Frequency',      0, false, {name: 'Frequency',  unit: 'MHz',    type: 'mixed', role: 'state'});
      createState('Internet.Docsis31.DS.C01.Type',           0, false, {name: 'Modulation', unit: 'K',      type: 'mixed', role: 'state'});
      createState('Internet.Docsis31.DS.C01.PowerLevel',     0, false, {name: 'PowerLevel', unit: 'dBmV',   type: 'mixed', role: 'state'});
      
      // Upstream DOCSIS 3.1
      createState('Internet.Docsis31.US.C00.Frequency',      0, false, {name: 'Frequency',  unit: 'MHz',    type: 'mixed', role: 'state'});
      createState('Internet.Docsis31.US.C00.Type',           0, false, {name: 'Modulation', unit: 'K',      type: 'mixed', role: 'state'});
      createState('Internet.Docsis31.US.C00.MultiplexMethod',0, false, {name: 'MultiplexMethod',            type: 'mixed', role: 'state'});
      createState('Internet.Docsis31.US.C00.PowerLevel',     0, false, {name: 'PowerLevel', unit: 'dBmV',   type: 'mixed', role: 'state'});
      
      /**
       * Simple XML parser
       * @param {String} xml
       * @return {Object}
       */
      function parseXML(xml) {
      
          var beg = -1;
          var end = 0;
          var tmp = 0;
          var current = [];
          var obj = {};
          var from = -1;
      
          while (true) {
      
              beg = xml.indexOf('<', beg + 1);
              if (beg === -1)
                  break;
      
              end = xml.indexOf('>', beg + 1);
              if (end === -1)
                  break;
      
              var el = xml.substring(beg, end + 1);
              var c = el[1];
      
              if (c === '?' || c === '/') {
      
                  var o = current.pop();
      
                  if (from === -1 || o !== el.substring(2, el.length - 1))
                      continue;
      
                  var path = current.join('.') + '.' + o;
                  var value = xml.substring(from, beg);
      
                  if (typeof(obj[path]) === 'undefined')
                      obj[path] = value;
                  else if (obj[path] instanceof Array)
                      obj[path].push(value);
                  else
                      obj[path] = [obj[path], value];
      
                  from = -1;
                  continue;
              }
      
              tmp = el.indexOf(' ');
              var hasAttributes = true;
      
              if (tmp === -1) {
                  tmp = el.length - 1;
                  hasAttributes = false;
              }
      
              from = beg + el.length;
      
              var isSingle = el[el.length - 2] === '/';
              var name = el.substring(1, tmp);
      
              if (!isSingle)
                  current.push(name);
      
              if (!hasAttributes)
                  continue;
      
              var match = el.match(/\w+\=\".*?\"/g);
              if (match === null)
                  continue;
      
              var attr = {};
              var length = match.length;
      
              for (var i = 0; i < length; i++) {
                  var index = match[i].indexOf('"');
                  attr[match[i].substring(0, index - 1)] = match[i].substring(index + 1, match[i].length - 1);
              }
      
              obj[current.join('.') + (isSingle ? '.' + name : '') + '[]'] = attr;
          }
      
          return obj;
      };
      
      function loginAndGetSID(){
      
          sid = null;
      
          // Challenge holen
          var options = {
              url: loginURL + fritzBenutzer,
              method: 'GET'
          };
          request(options, function(error, response, body) {
          if (!error && response.statusCode == 200) {
              //if (logging) log('error: ' + error + ', response: ' + JSON.stringify(response) + ', body: ' + body, 'info');
              var result = parseXML(body);
              var challenge = result['SessionInfo.Challenge'];
      
              // Einloggen und SID holen
              var utf16le_encoded = iconv.encode(challenge + '-' + fritzPasswort, 'UTF-16LE', {addBOM: false});
              var challengeResponse = crypto.createHash('md5').update(utf16le_encoded).digest('hex');
      
              options = {
                  url: loginURL + '/login_sid.lua?username=' + fritzBenutzer + '&response=' + challenge + '-' + challengeResponse,
                  method: 'GET'
              };
              request(options, function(error, response, body) {
                  if (!error && response.statusCode == 200) {
                      var result = parseXML(body);
                      sid = result['SessionInfo.SID'];
                      if (logging) log('Logged in. SID = ' + sid, 'info');
                  }
                  else {
                      log('error: ' + error + ', response: ' + response.statusCode.toString(), 'info');
                  }
              });
          }
          else {
              log('error: ' + error + ', response: ' + response.statusCode.toString(), 'info');
          }
          });
      }
      
      // Wenn keine Daten abgerufen werden konnten, werden die States auf NULL gesetzt
      function setStates2NullValues(){
      
          var NullValue = null;
      
          // DOCSIS 3.0 Downstream Channels
          for (i = 0; i < DOCSIS30DSChannels; i++) {
              setState('Internet.Docsis.DS.C' + (i < 10 ? '0' : '') + i.toString() + '.Frequency', NullValue, true);
              setState('Internet.Docsis.DS.C' + (i < 10 ? '0' : '') + i.toString() + '.Modulation', NullValue, true);
              setState('Internet.Docsis.DS.C' + (i < 10 ? '0' : '') + i.toString() + '.PowerLevel', NullValue, true);
              setState('Internet.Docsis.DS.C' + (i < 10 ? '0' : '') + i.toString() + '.MSE', NullValue, true);
              setState('Internet.Docsis.DS.C' + (i < 10 ? '0' : '') + i.toString() + '.Latency', NullValue, true);
              setState('Internet.Docsis.DS.C' + (i < 10 ? '0' : '') + i.toString() + '.CorrectableErrors', NullValue, true);
              setState('Internet.Docsis.DS.C' + (i < 10 ? '0' : '') + i.toString() + '.CorrectableErrorsPerMinute', NullValue, true);
              setState('Internet.Docsis.DS.C' + (i < 10 ? '0' : '') + i.toString() + '.UncorrectableErrors', NullValue, true);
              setState('Internet.Docsis.DS.C' + (i < 10 ? '0' : '') + i.toString() + '.UncorrectableErrorsPerMinute', NullValue, true);
          }
      
          // DOCSIS 3.1 Downstream Channel
          setState('Internet.Docsis31.DS.C01.PowerLevel', NullValue, true);
          setState('Internet.Docsis31.DS.C01.Type', NullValue, true);
          setState('Internet.Docsis31.DS.C01.Frequency', NullValue, true);
      
          // DOCSIS 3.0 Upstream Channels
          for (i = 0; i < DOCSIS30USChannels; i++) {
              setState('Internet.Docsis.US.C' + (i < 10 ? '0' : '') + i.toString() + '.Frequency', NullValue, true);
              setState('Internet.Docsis.US.C' + (i < 10 ? '0' : '') + i.toString() + '.Modulation', NullValue, true);
              setState('Internet.Docsis.US.C' + (i < 10 ? '0' : '') + i.toString() + '.MultiplexMethod', NullValue, true);
              setState('Internet.Docsis.US.C' + (i < 10 ? '0' : '') + i.toString() + '.PowerLevel', NullValue, true);
          }
      
          // DOCSIS 3.1 Upstream Channel
          setState('Internet.Docsis31.US.C00.PowerLevel', NullValue, true);
          setState('Internet.Docsis31.US.C00.Type', NullValue, true);
          setState('Internet.Docsis31.US.C00.MultiplexMethod', NullValue, true);
          setState('Internet.Docsis31.US.C00.Frequency', NullValue, true);
      }
      
      // Holt die Informationen von der Fritzbox Benutzeroberfläche. Ab fritz.OS Version 7.2x werden die Informationen als JSON-String übermittelt (getCableModemChannelInfos Version 2)
      function getCableModemChannelInfosV2(){
      
          var NullValue = null;
          var tableData;
      
          var options = {
              url: docsisURL,
              method: 'POST',
              headers: {
                  'Content-Type': 'application/x-www-form-urlencoded'
              },
              body: 'xhr=1&sid=' + sid + '&lang=de&page=docInfo&xhrId=all&no_sidrenew='
          };
          request(options, function(error, response, body) {
              if (!error && response.statusCode == 200) {
                  tableData = JSON.parse(body);
                  if(tableData){
                      //log(JSON.stringify(tableData), 'info');
                      
                      // DOCSIS 3.0 Downstream Channels
                      DOCSIS30DSChannels = Object.entries(tableData.data.channelDs.docsis30).length;
                      for (i = 0; i < DOCSIS30DSChannels; i++) {
      
                          var channelID = parseInt(tableData.data.channelDs.docsis30[i].channelID);
      
                          setState('Internet.Docsis.DS.C' + (channelID < 10 ? '0' : '') + tableData.data.channelDs.docsis30[i].channelID + '.Frequency', parseInt(tableData.data.channelDs.docsis30[i].frequency), true);
                          setState('Internet.Docsis.DS.C' + (channelID < 10 ? '0' : '') + tableData.data.channelDs.docsis30[i].channelID + '.Modulation', parseInt(tableData.data.channelDs.docsis30[i].type.replace('QAM', '')), true);
                          setState('Internet.Docsis.DS.C' + (channelID < 10 ? '0' : '') + tableData.data.channelDs.docsis30[i].channelID + '.PowerLevel', parseFloat(tableData.data.channelDs.docsis30[i].powerLevel), true);
                          setState('Internet.Docsis.DS.C' + (channelID < 10 ? '0' : '') + tableData.data.channelDs.docsis30[i].channelID + '.MSE', parseFloat(tableData.data.channelDs.docsis30[i].mse), true);
                          setState('Internet.Docsis.DS.C' + (channelID < 10 ? '0' : '') + tableData.data.channelDs.docsis30[i].channelID + '.Latency', parseFloat(tableData.data.channelDs.docsis30[i].latency), true);
      
                          var correctableErrors = getState('Internet.Docsis.DS.C' + (channelID < 10 ? '0' : '') + tableData.data.channelDs.docsis30[i].channelID + '.CorrectableErrors');
                          var lastValue = correctableErrors.val;
                          var ts_diff = new Date().getTime() - correctableErrors.ts;
                          var newValue = parseInt(tableData.data.channelDs.docsis30[i].corrErrors);
                          setState('Internet.Docsis.DS.C' + (channelID < 10 ? '0' : '') + tableData.data.channelDs.docsis30[i].channelID + '.CorrectableErrors', newValue, true);
                          // Die Differenz zum letzten Wert nur dann speichern, wenn dieser ca. 1 Min. alt ist
                          if (ts_diff > 50000 && ts_diff < 70000){
                              if (newValue > lastValue){
                                  setState('Internet.Docsis.DS.C' + (channelID < 10 ? '0' : '') + tableData.data.channelDs.docsis30[i].channelID + '.CorrectableErrorsPerMinute', newValue - lastValue, true);
                              }
                          }
                          else {
                              setState('Internet.Docsis.DS.C' + (channelID < 10 ? '0' : '') + tableData.data.channelDs.docsis30[i].channelID + '.CorrectableErrorsPerMinute', NullValue, true);
                          }
      
                          var uncorrectableErrors = getState('Internet.Docsis.DS.C' + (channelID < 10 ? '0' : '') + tableData.data.channelDs.docsis30[i].channelID + '.UncorrectableErrors');
                          var lastValue = uncorrectableErrors.val;
                          var ts_diff = new Date().getTime() - uncorrectableErrors.ts;
                          var newValue = parseInt(tableData.data.channelDs.docsis30[i].nonCorrErrors);
                          setState('Internet.Docsis.DS.C' + (channelID < 10 ? '0' : '') + tableData.data.channelDs.docsis30[i].channelID + '.UncorrectableErrors', newValue, true);
                          // Die Differenz zum letzten Wert nur dann speichern, wenn dieser ca. 1 Min. alt ist
                          if (ts_diff > 50000 && ts_diff < 70000){
                              if (newValue > lastValue){
                                  setState('Internet.Docsis.DS.C' + (channelID < 10 ? '0' : '') + tableData.data.channelDs.docsis30[i].channelID + '.UncorrectableErrorsPerMinute', newValue - lastValue, true);
                              }
                          }
                          else {
                              setState('Internet.Docsis.DS.C' + (channelID < 10 ? '0' : '') + tableData.data.channelDs.docsis30[i].channelID + '.UncorrectableErrorsPerMinute', NullValue, true);
                          }
                      }
      
                      // DOCSIS 3.1 Downstream Channel
                      if (tableData.data.channelDs.docsis31 != null){
                          DOCSIS31DSChannels = 1;
                          setState('Internet.Docsis31.DS.C01.PowerLevel', parseFloat(tableData.data.channelDs.docsis31[0].powerLevel), true);
                          setState('Internet.Docsis31.DS.C01.Type', parseInt(tableData.data.channelDs.docsis31[0].type.replace('K', '')), true);
                          setState('Internet.Docsis31.DS.C01.Frequency', tableData.data.channelDs.docsis31[0].frequency, true);
                      }
      
                      // DOCSIS 3.0 Upstream Channels
                      DOCSIS30USChannels = Object.entries(tableData.data.channelUs.docsis30).length;
                      for (i = 0; i < DOCSIS30USChannels; i++) {
                          var channelID = parseInt(tableData.data.channelUs.docsis30[i].channelID);
                          setState('Internet.Docsis.US.C' + (channelID < 10 ? '0' : '') + tableData.data.channelUs.docsis30[i].channelID + '.Frequency', parseInt(tableData.data.channelUs.docsis30[i].frequency), true);
                          setState('Internet.Docsis.US.C' + (channelID < 10 ? '0' : '') + tableData.data.channelUs.docsis30[i].channelID + '.Modulation', parseInt(tableData.data.channelUs.docsis30[i].type.replace('QAM', '')), true);
                          setState('Internet.Docsis.US.C' + (channelID < 10 ? '0' : '') + tableData.data.channelUs.docsis30[i].channelID + '.MultiplexMethod', tableData.data.channelUs.docsis30[i].multiplex, true);
                          setState('Internet.Docsis.US.C' + (channelID < 10 ? '0' : '') + tableData.data.channelUs.docsis30[i].channelID + '.PowerLevel', parseFloat(tableData.data.channelUs.docsis30[i].powerLevel), true);
                      }
      
                      // DOCSIS 3.1 Upstream Channel
                      if (tableData.data.channelUs.docsis31 != null){
                          DOCSIS31USChannels = 1;
                          setState('Internet.Docsis31.US.C00.PowerLevel', parseFloat(tableData.data.channelUs.docsis31[0].powerLevel), true);
                          setState('Internet.Docsis31.US.C00.Type', parseInt(tableData.data.channelUs.docsis31[0].type.replace('K', '')), true);
                          setState('Internet.Docsis31.US.C00.MultiplexMethod', tableData.data.channelUs.docsis31[0].multiplex, true);
                          setState('Internet.Docsis31.US.C00.Frequency', parseInt(tableData.data.channelUs.docsis31[0].frequency), true);
                      }
      
                  }
                  else{
                      log('Empty response', 'error');
                      setStates2NullValues();
                      loginAndGetSID();
                  }
              }
              else {
                  log('error: ' + error + ', response: ' + response.statusCode.toString(), 'error');
                  setStates2NullValues();
                  loginAndGetSID();
              }
          });
      
      }
      
      if (logging) log('DocsisInfo starting', 'info');
      
      // SID holen und merken (User Token)
      loginAndGetSID();
      var getSIDinterval = setInterval(loginAndGetSID, 900000);   // Alle 15 Minuten neue SID holen
      
      schedule("* * * * *", function() {                          // Zu jeder vollen Minute die Fritzbox DOCSIS-Daten abfragen
          getCableModemChannelInfosV2();
      });
      
      posted in ioBroker Allgemein
      I
      ichderarnd
    • RE: Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda

      @tombox sagte in Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda:
      Skoda hat ioBroker blockiert.

      Woran machst Du fest, dass Skoda hier absichtlich den ioBroker ausgesperrt hat?

      posted in Tester
      I
      ichderarnd
    • RE: Pegelwerte Fritzbox 6490 Cable auslesen?

      @dieter_p
      Im Script sollten folgende Zeilen zu finden sein:

      tableData = JSON.parse(body);
              if(tableData){
                  //log(JSON.stringify(tableData), 'info');
      

      Wenn die beiden Schrägstriche vor dem "log" entfernt werden, werden die JSON Daten ins Log geschrieben:

              tableData = JSON.parse(body);
              if(tableData){
                  log(JSON.stringify(tableData), 'info');
      
      

      Dann Script neu starten und mir den Inhalt des Logs als persönliche Nachricht zusenden.

      posted in ioBroker Allgemein
      I
      ichderarnd
    • RE: Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda

      Oder womöglich ein Tablet neben der Haustür, auf dem ich auf einen Blick alles übersichtlich darstellen kann. Total abstrus...

      Screenshot 2024-09-03 220007.jpg

      posted in Tester
      I
      ichderarnd

    Latest posts made by ichderarnd

    • RE: Lambda Wärmepumpe - Request for Adapter

      @tyron
      Hast Du oben den Link zu Github gesehen?
      https://forum.iobroker.net/topic/58958/lambda-wärmepumpe-request-for-adapter/28?_=1749198066061&lang=de

      posted in Einbindung von Geräten
      I
      ichderarnd
    • RE: Lambda Wärmepumpe - Request for Adapter

      Unsere Lambda WP hat ebenfalls die 1.0.6

      posted in Einbindung von Geräten
      I
      ichderarnd
    • RE: Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda

      @hefo sagte in Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda:

      @Hant0r @ichderarnd habt Ihr die "Server not available" Info-Meldungen weg bekommen?

      Nein…

      posted in Tester
      I
      ichderarnd
    • RE: Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda

      @benjamin-häublein
      Sehr interessant!

      Geht es da um diese Einstellung?

      IMG_3433.jpeg

      posted in Tester
      I
      ichderarnd
    • RE: Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda

      @sabinet sagte in Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda:

      Ich lass derzeit jede Stunde die Instanz neu starten.

      Habe es jetzt auch erstmal so eingestellt bis es eine Lösung gibt.

      bab12ef9-fd39-459f-a7dc-cbc5a845cabe-image.png

      posted in Tester
      I
      ichderarnd
    • RE: Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda

      @benjamin-häublein
      Ja, das Token-Problem ist beim Skoda Enyaq leider noch nicht gelöst.

      posted in Tester
      I
      ichderarnd
    • RE: Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda

      @tombox
      Ich habe gestern die 0.7.9 nochmal über die Katze installiert. Hier das Ergebnis für die Instanz 0 (eGolf und ID.Buzz):

      2025-04-18 14:10:08.148 - info: host.pi-Home instance system.adapter.vw-connect.0 in version "0.7.9" (non-npm: ta2k/ioBroker.vw-connect) started with pid 31441
      2025-04-18 14:10:12.568 - debug: vw-connect.0 (31441) Redis Objects: Use Redis connection: 0.0.0.0:9001
      2025-04-18 14:10:12.671 - debug: vw-connect.0 (31441) Objects client ready ... initialize now
      2025-04-18 14:10:12.710 - debug: vw-connect.0 (31441) Objects create System PubSub Client
      2025-04-18 14:10:12.712 - debug: vw-connect.0 (31441) Objects create User PubSub Client
      2025-04-18 14:10:12.948 - debug: vw-connect.0 (31441) Objects client initialize lua scripts
      2025-04-18 14:10:12.968 - debug: vw-connect.0 (31441) Objects connected to redis: 0.0.0.0:9001
      2025-04-18 14:10:13.132 - debug: vw-connect.0 (31441) Redis States: Use Redis connection: 0.0.0.0:9000
      2025-04-18 14:10:13.226 - debug: vw-connect.0 (31441) States create System PubSub Client
      2025-04-18 14:10:13.228 - debug: vw-connect.0 (31441) States create User PubSub Client
      2025-04-18 14:10:13.359 - debug: vw-connect.0 (31441) States connected to redis: 0.0.0.0:9000
      2025-04-18 14:10:13.511 - debug: vw-connect.0 (31441) Plugin sentry Initialize Plugin (enabled=true)
      2025-04-18 14:10:14.415 - info: vw-connect.0 (31441) starting. Version 0.7.9 (non-npm: ta2k/ioBroker.vw-connect) in /opt/iobroker/node_modules/iobroker.vw-connect, node: v20.18.1, js-controller: 7.0.7
      2025-04-18 14:10:14.454 - info: vw-connect.0 (31441) Login in with id
      2025-04-18 14:10:15.309 - debug: vw-connect.0 (31441) parseEmailForm
      2025-04-18 14:10:15.509 - debug: vw-connect.0 (31441) emailPasswordForm2
      2025-04-18 14:10:15.758 - debug: vw-connect.0 (31441) ""
      2025-04-18 14:10:15.759 - debug: vw-connect.0 (31441) {"date":"Fri, 18 Apr 2025 12:10:15 GMT","content-length":"0","connection":"keep-alive", ...
      2025-04-18 14:10:16.196 - debug: vw-connect.0 (31441) Error: Invalid protocol: weconnect:
      2025-04-18 14:10:16.317 - info: vw-connect.0 (31441) History limit: -1, set to -1 to disable wallcharging login
      2025-04-18 14:10:16.318 - info: vw-connect.0 (31441) History limit is set to -1, no wall charging login
      2025-04-18 14:10:16.320 - info: vw-connect.0 (31441) Login successful
      2025-04-18 14:10:16.966 - debug: vw-connect.0 (31441) {"data":[...
      2025-04-18 14:10:16.966 - info: vw-connect.0 (31441) Found 2 vehicles
      2025-04-18 14:10:17.184 - info: vw-connect.0 (31441) Create vehicle WV2ZZZEBXSH...
      2025-04-18 14:10:17.777 - info: vw-connect.0 (31441) Create vehicle WVWZZZAUZLW...
      2025-04-18 14:10:17.787 - debug: vw-connect.0 (31441) getHomeRegion
      2025-04-18 14:10:17.910 - debug: vw-connect.0 (31441) getHomeRegion
      2025-04-18 14:10:18.209 - debug: vw-connect.0 (31441) WV2ZZZEBXSH...: set default homeregion
      2025-04-18 14:10:18.217 - debug: vw-connect.0 (31441) WVWZZZAUZLW...: set default homeregion
      2025-04-18 14:10:18.618 - debug: vw-connect.0 (31441) {"access":{"accessStatus":...
      2025-04-18 14:10:18.756 - debug: vw-connect.0 (31441) {"access":{"accessStatus":...
      2025-04-18 14:10:18.878 - debug: vw-connect.0 (31441) {"access":{"accessStatus":...
      2025-04-18 14:10:19.748 - debug: vw-connect.0 (31441) {"access":{"accessStatus":...
      2025-04-18 14:10:26.318 - debug: vw-connect.0 (31441) make state with ending writable : WV2ZZZEBXSH.......status.chargingCareSettings
      2025-04-18 14:10:26.353 - debug: vw-connect.0 (31441) make state with ending writable : WV2ZZZEBXSH.......status.chargingCareSettings
      2025-04-18 14:10:27.304 - debug: vw-connect.0 (31441) make state with ending writable : WVWZZZAUZLW.......status.chargingSettings
      2025-04-18 14:10:27.323 - debug: vw-connect.0 (31441) make state with ending writable : WVWZZZAUZLW.......status.chargingSettings
      2025-04-18 14:10:27.978 - debug: vw-connect.0 (31441) make state with ending writable : WVWZZZAUZLW.......status.climatisationSettings
      2025-04-18 14:10:27.992 - debug: vw-connect.0 (31441) make state with ending writable : WVWZZZAUZLW.......status.climatisationSettings
      2025-04-18 14:10:28.043 - debug: vw-connect.0 (31441) make state with ending writable : WV2ZZZEBXSH.......status.chargingSettings
      2025-04-18 14:10:28.045 - debug: vw-connect.0 (31441) make state with ending writable : WV2ZZZEBXSH.......status.chargingSettings
      2025-04-18 14:10:28.317 - info: sql.0 (9038) enabled logging of vw-connect.0.WV2ZZZEBXSH.......status.chargingSettings.targetSOC_pct, Alias=false, WriteNulls=false
      2025-04-18 14:10:28.756 - debug: vw-connect.0 (31441) make state with ending writable : WV2ZZZEBXSH.......status.charging_chargingCareSettings
      2025-04-18 14:10:29.038 - debug: vw-connect.0 (31441) make state with ending writable : WV2ZZZEBXSH.......status.climatisationSettings
      2025-04-18 14:10:29.042 - debug: vw-connect.0 (31441) make state with ending writable : WV2ZZZEBXSH.......status.climatisationSettings
      2025-04-18 14:10:36.790 - info: sql.0 (9038) enabled logging of vw-connect.0.WV2ZZZEBXSH.......status.temperatureOutsideStatus.temperatureOutside_K, Alias=false, WriteNulls=false
      2025-04-18 14:10:40.082 - debug: vw-connect.0 (31441) Set is car moving to false
      2025-04-18 14:10:40.083 - debug: vw-connect.0 (31441) {"data":{"lon":...
      2025-04-18 14:10:41.438 - debug: vw-connect.0 (31441) Set is car moving to false
      2025-04-18 14:10:41.439 - debug: vw-connect.0 (31441) {"data":{"lon":...
      2025-04-18 14:10:41.440 - debug: vw-connect.0 (31441) Skip last trip check because of last check was less than 15min ago
      2025-04-18 14:10:42.115 - debug: vw-connect.0 (31441) Set is car moving to false
      2025-04-18 14:10:42.115 - debug: vw-connect.0 (31441) {"data":{"lon":...
      2025-04-18 14:10:42.116 - debug: vw-connect.0 (31441) Skip last trip check because of last check was less than 15min ago
      2025-04-18 14:10:42.643 - debug: vw-connect.0 (31441) Set is car moving to false
      2025-04-18 14:10:42.649 - debug: vw-connect.0 (31441) {"data":{"lon":...
      2025-04-18 14:10:42.651 - debug: vw-connect.0 (31441) Skip last trip check because of last check was less than 15min ago
      2025-04-18 14:10:46.810 - debug: vw-connect.0 (31441) reverse pos started
      2025-04-18 14:10:46.867 - debug: vw-connect.0 (31441) No update lat ts 1744978242590 <-> lc 1744910234551, long ts 1744978242589 <-> lc 1744910234545
      2025-04-18 14:10:47.084 - debug: vw-connect.0 (31441) reverse pos received
      2025-04-18 14:10:47.085 - debug: vw-connect.0 (31441) {"place_id":...
      2025-04-18 14:10:47.641 - debug: vw-connect.0 (31441) No update lat ts 1744978242590 <-> lc 1744910234551, long ts 1744978242589 <-> lc 1744910234545
      2025-04-18 14:10:47.646 - debug: vw-connect.0 (31441) No update lat ts 1744978242590 <-> lc 1744910234551, long ts 1744978242589 <-> lc 1744910234545
      2025-04-18 14:10:47.791 - debug: vw-connect.0 (31441) No update lat ts 1744978242937 <-> lc 1744889841205, long ts 1744978242936 <-> lc 1744889841205
      2025-04-18 14:10:47.827 - debug: vw-connect.0 (31441) No update lat ts 1744978242937 <-> lc 1744889841205, long ts 1744978242936 <-> lc 1744889841205
      2025-04-18 14:10:47.975 - debug: vw-connect.0 (31441) No update lat ts 1744978242937 <-> lc 1744889841205, long ts 1744978242936 <-> lc 1744889841205
      2025-04-18 14:10:47.978 - debug: vw-connect.0 (31441) No update lat ts 1744978242937 <-> lc 1744889841205, long ts 1744978242936 <-> lc 1744889841205
      

      Nach einer Stunde dann die Fehlermeldung, dass der Token abgelaufen ist. Er wird zwar erneuert, aber es werden dadurch keine Daten abgerufen. Erst 10 Min. später werden die Daten wieder übermittelt.

      2025-04-18 15:20:18.372 - error: vw-connect.0 (31441) Fetching status failed
      2025-04-18 15:20:18.372 - error: vw-connect.0 (31441) AxiosError: Request failed with status code 401
      2025-04-18 15:20:18.372 - error: vw-connect.0 (31441) {"error":{"message":"Unauthorized","info":"token is expired"}}
      2025-04-18 15:20:18.373 - error: vw-connect.0 (31441) get id status Failed
      2025-04-18 15:20:18.374 - debug: vw-connect.0 (31441) Token Refresh started
      2025-04-18 15:20:18.396 - error: vw-connect.0 (31441) Fetching status failed
      2025-04-18 15:20:18.397 - error: vw-connect.0 (31441) AxiosError: Request failed with status code 401
      2025-04-18 15:20:18.397 - error: vw-connect.0 (31441) {"error":{"message":"Unauthorized","info":"token is expired"}}
      2025-04-18 15:20:18.397 - error: vw-connect.0 (31441) get id status Failed
      2025-04-18 15:20:18.397 - debug: vw-connect.0 (31441) Token Refresh started
      2025-04-18 15:20:18.416 - debug: vw-connect.0 (31441) AxiosError: Request failed with status code 401
      2025-04-18 15:20:18.416 - debug: vw-connect.0 (31441) No parkingposition found
      2025-04-18 15:20:18.416 - debug: vw-connect.0 (31441) Skip last trip check because of last check was less than 15min ago
      2025-04-18 15:20:18.507 - debug: vw-connect.0 (31441) AxiosError: Request failed with status code 401
      2025-04-18 15:20:18.508 - debug: vw-connect.0 (31441) No parkingposition found
      2025-04-18 15:20:18.509 - debug: vw-connect.0 (31441) Skip last trip check because of last check was less than 15min ago
      2025-04-18 15:20:18.569 - debug: vw-connect.0 (31441) Token Refresh successful
      2025-04-18 15:20:18.603 - debug: vw-connect.0 (31441) Token Refresh successful
      2025-04-18 15:30:18.782 - debug: vw-connect.0 (31441) {"access":{"accessStatus":{"value":...
      2025-04-18 15:30:19.234 - debug: vw-connect.0 (31441) {"access":{"accessStatus":{"value":...
      2025-04-18 15:30:21.835 - debug: vw-connect.0 (31441) Set is car moving to false
      2025-04-18 15:30:21.835 - debug: vw-connect.0 (31441) {"data":{"lon":...
      2025-04-18 15:30:22.540 - debug: vw-connect.0 (31441) Set is car moving to false
      2025-04-18 15:30:22.541 - debug: vw-connect.0 (31441) {"data":{"lon":...
      2025-04-18 15:30:22.542 - debug: vw-connect.0 (31441) Skip last trip check because of last check was less than 15min ago
      2025-04-18 15:30:26.911 - debug: vw-connect.0 (31441) No update lat ts 1744983021902 <-> lc 1744910234551, long ts 1744983021901 <-> lc 1744910234545
      2025-04-18 15:30:26.913 - debug: vw-connect.0 (31441) No update lat ts 1744983021902 <-> lc 1744910234551, long ts 1744983021901 <-> lc 1744910234545
      2025-04-18 15:30:28.054 - debug: vw-connect.0 (31441) No update lat ts 1744983023005 <-> lc 1744889841205, long ts 1744983022946 <-> lc 1744889841205
      2025-04-18 15:30:28.124 - debug: vw-connect.0 (31441) No update lat ts 1744983023005 <-> lc 1744889841205, long ts 1744983022946 <-> lc 1744889841205
      

      Der Token wird vermutlich unnötigerweise zweimal erneuert. Da zwei Fahrzeuge in dieser Instanz abgefragt werden, erfolgt auch zweimal die Expired-Meldung und daher wird wohl auch zweimal der Token erneuert?

      Instanz 1 (Enyaq):

      2025-04-18 14:10:15.688 - info: host.pi-Home "system.adapter.vw-connect.1" enabled
      2025-04-18 14:10:18.691 - info: host.pi-Home instance system.adapter.vw-connect.1 in version "0.7.9" (non-npm: ta2k/ioBroker.vw-connect) started with pid 31737
      2025-04-18 14:10:24.425 - debug: vw-connect.1 (31737) Redis Objects: Use Redis connection: 0.0.0.0:9001
      2025-04-18 14:10:24.569 - debug: vw-connect.1 (31737) Objects client ready ... initialize now
      2025-04-18 14:10:24.585 - debug: vw-connect.1 (31737) Objects create System PubSub Client
      2025-04-18 14:10:24.589 - debug: vw-connect.1 (31737) Objects create User PubSub Client
      2025-04-18 14:10:24.859 - debug: vw-connect.1 (31737) Objects client initialize lua scripts
      2025-04-18 14:10:24.899 - debug: vw-connect.1 (31737) Objects connected to redis: 0.0.0.0:9001
      2025-04-18 14:10:25.094 - debug: vw-connect.1 (31737) Redis States: Use Redis connection: 0.0.0.0:9000
      2025-04-18 14:10:25.226 - debug: vw-connect.1 (31737) States create System PubSub Client
      2025-04-18 14:10:25.228 - debug: vw-connect.1 (31737) States create User PubSub Client
      2025-04-18 14:10:25.461 - debug: vw-connect.1 (31737) States connected to redis: 0.0.0.0:9000
      2025-04-18 14:10:25.664 - debug: vw-connect.1 (31737) Plugin sentry Initialize Plugin (enabled=true)
      2025-04-18 14:10:27.468 - info: vw-connect.1 (31737) starting. Version 0.7.9 (non-npm: ta2k/ioBroker.vw-connect) in /opt/iobroker/node_modules/iobroker.vw-connect, node: v20.18.1, js-controller: 7.0.7
      2025-04-18 14:10:27.526 - info: vw-connect.1 (31737) Login in with skodae
      2025-04-18 14:10:28.177 - debug: vw-connect.1 (31737) parseEmailForm
      2025-04-18 14:10:28.370 - debug: vw-connect.1 (31737) emailPasswordForm2
      2025-04-18 14:10:28.612 - debug: vw-connect.1 (31737) ""
      2025-04-18 14:10:28.615 - debug: vw-connect.1 (31737) {"date":"Fri, 18 Apr 2025 12:10:28 GMT","content-length":"0","connection":"keep-alive"...
      2025-04-18 14:10:29.051 - debug: vw-connect.1 (31737) Error: Invalid protocol: myskoda:
      2025-04-18 14:10:29.285 - info: vw-connect.1 (31737) History limit: -1, set to -1 to disable wallcharging login
      2025-04-18 14:10:29.286 - info: vw-connect.1 (31737) History limit is set to -1, no wall charging login
      2025-04-18 14:10:29.288 - info: vw-connect.1 (31737) Login successful
      2025-04-18 14:10:29.515 - debug: vw-connect.1 (31737) get user data {"id":...
      2025-04-18 14:10:29.831 - debug: vw-connect.1 (31737) {"vehicles":[{"vin":"TMBJC9NY0MF......","name":"Enyaq",...
      2025-04-18 14:10:29.832 - info: vw-connect.1 (31737) Found 1 vehicles
      2025-04-18 14:10:30.244 - debug: vw-connect.1 (31737) Connecting to MQTT
      2025-04-18 14:10:30.562 - debug: vw-connect.1 (31737) Connected to MQTT
      2025-04-18 14:10:30.564 - debug: vw-connect.1 (31737) Connect to MQTT for TMBJC9NY0MF......
      2025-04-18 14:10:30.901 - debug: vw-connect.1 (31737) trip-statistics
      2025-04-18 14:10:30.902 - debug: vw-connect.1 (31737) AxiosError: Request failed with status code 500
      2025-04-18 14:10:30.903 - debug: vw-connect.1 (31737) "Internal server error"
      2025-04-18 14:10:30.904 - info: vw-connect.1 (31737) Server not available. For endpoint trip-statistics Please try again later:"Internal server error"
      2025-04-18 14:10:31.748 - debug: vw-connect.1 (31737) trip-statistics
      2025-04-18 14:10:31.749 - debug: vw-connect.1 (31737) AxiosError: Request failed with status code 500
      2025-04-18 14:10:31.750 - debug: vw-connect.1 (31737) "Internal server error"
      2025-04-18 14:10:31.750 - info: vw-connect.1 (31737) Server not available. For endpoint trip-statistics Please try again later:"Internal server error"
      2025-04-18 14:10:32.163 - debug: vw-connect.1 (31737) {"maintenanceReport":{"capturedAt":"2025-04-17T17:18:55.917Z",...
      2025-04-18 14:10:32.164 - debug: vw-connect.1 (31737) TMBJC9NY0MF.......status.vehicle-maintenancevehicles
      2025-04-18 14:10:32.165 - debug: vw-connect.1 (31737) 200
      2025-04-18 14:10:32.933 - debug: vw-connect.1 (31737) {"state":"OFF",...
      2025-04-18 14:10:32.934 - debug: vw-connect.1 (31737) TMBJC9NY0MF.......status.air-conditioning
      2025-04-18 14:10:32.934 - debug: vw-connect.1 (31737) 200
      2025-04-18 14:10:33.155 - debug: vw-connect.1 (31737) {"state":"INVALID","durationInSeconds":600,"timers":[],"errors":[{"type":"UNAVAILABLE_CLIMA_INFORMATION"}]}
      2025-04-18 14:10:33.155 - debug: vw-connect.1 (31737) TMBJC9NY0MF.......status.air-conditioning.active-ventilation
      2025-04-18 14:10:33.156 - debug: vw-connect.1 (31737) 200
      2025-04-18 14:10:33.156 - debug: vw-connect.1 (31737) [{"type":"UNAVAILABLE_CLIMA_INFORMATION"}]
      2025-04-18 14:10:33.655 - debug: vw-connect.1 (31737) air-conditioning /auxiliary-heating
      2025-04-18 14:10:33.655 - debug: vw-connect.1 (31737) AxiosError: Request failed with status code 500
      2025-04-18 14:10:33.656 - debug: vw-connect.1 (31737) "Unexpected data error occurred in AuxiliaryHeatingDto: \nstate must not be null"
      2025-04-18 14:10:33.657 - info: vw-connect.1 (31737) Server not available. For endpoint air-conditioning/auxiliary-heating Please try again later:"Unexpected data error occurred in AuxiliaryHeatingDto: \nstate must not be null"
      2025-04-18 14:10:33.657 - debug: vw-connect.1 (31737) Vehicle is not supporting air-conditioning /auxiliary-heating
      2025-04-18 14:10:33.690 - debug: vw-connect.1 (31737) air-conditioning /settings
      2025-04-18 14:10:33.691 - debug: vw-connect.1 (31737) AxiosError: Request failed with status code 403
      2025-04-18 14:10:33.692 - debug: vw-connect.1 (31737) ""
      2025-04-18 14:10:33.692 - debug: vw-connect.1 (31737) ""
      2025-04-18 14:10:34.446 - debug: vw-connect.1 (31737) {"isVehicleInSavedLocation":false,"status":...
      2025-04-18 14:10:34.447 - debug: vw-connect.1 (31737) TMBJC9NY0MF.......status.charging
      2025-04-18 14:10:34.448 - debug: vw-connect.1 (31737) 200
      2025-04-18 14:10:34.489 - debug: vw-connect.1 (31737) charging /settings
      2025-04-18 14:10:34.492 - debug: vw-connect.1 (31737) AxiosError: Request failed with status code 404
      2025-04-18 14:10:34.494 - debug: vw-connect.1 (31737) {"timestamp":"2025-04-18T12:10:34.459+00:00","path":...
      2025-04-18 14:10:34.495 - debug: vw-connect.1 (31737) Vehicle is not supporting charging /settings
      2025-04-18 14:10:34.798 - debug: vw-connect.1 (31737) {"overall":{"doorsLocked":"YES",...
      2025-04-18 14:10:34.800 - debug: vw-connect.1 (31737) TMBJC9NY0MF.......status.vehicle-status
      2025-04-18 14:10:34.801 - debug: vw-connect.1 (31737) 200
      2025-04-18 14:10:35.665 - debug: vw-connect.1 (31737) {"parkingPosition":...
      2025-04-18 14:10:35.666 - debug: vw-connect.1 (31737) TMBJC9NY0MF.......status.position
      2025-04-18 14:10:35.667 - debug: vw-connect.1 (31737) 200
      2025-04-18 14:10:35.668 - debug: vw-connect.1 (31737) Set is car moving to false
      2025-04-18 14:10:35.839 - debug: vw-connect.1 (31737) {"carType":"electric",...
      2025-04-18 14:10:35.840 - debug: vw-connect.1 (31737) TMBJC9NY0MF.......status.vehicle-status.driving-range
      2025-04-18 14:10:35.841 - debug: vw-connect.1 (31737) 200
      2025-04-18 14:10:35.968 - debug: vw-connect.1 (31737) {"capturedAt":"2025-04-17T17:18:55.917Z","inspectionDueInDays"...
      2025-04-18 14:10:35.969 - debug: vw-connect.1 (31737) TMBJC9NY0MF.......status.vehicle-maintenancevehicles.report
      2025-04-18 14:10:35.970 - debug: vw-connect.1 (31737) 200
      2025-04-18 14:10:36.084 - debug: vw-connect.1 (31737) fueling/sessions
      2025-04-18 14:10:36.086 - debug: vw-connect.1 (31737) AxiosError: Request failed with status code 404
      2025-04-18 14:10:36.087 - debug: vw-connect.1 (31737) "Resource not found"
      2025-04-18 14:10:36.088 - debug: vw-connect.1 (31737) Vehicle is not supporting fueling/sessions
      2025-04-18 14:10:36.165 - debug: vw-connect.1 (31737) fueling/sessions /state
      2025-04-18 14:10:36.167 - debug: vw-connect.1 (31737) AxiosError: Request failed with status code 404
      2025-04-18 14:10:36.168 - debug: vw-connect.1 (31737) "Resource not found"
      2025-04-18 14:10:36.168 - debug: vw-connect.1 (31737) Vehicle is not supporting fueling/sessions /state
      2025-04-18 14:10:36.478 - debug: vw-connect.1 (31737) fueling/locations
      2025-04-18 14:10:36.482 - debug: vw-connect.1 (31737) AxiosError: Request failed with status code 404
      2025-04-18 14:10:36.483 - debug: vw-connect.1 (31737) "Resource not found"
      2025-04-18 14:10:36.493 - debug: vw-connect.1 (31737) Vehicle is not supporting fueling/locations
      2025-04-18 14:10:36.550 - debug: vw-connect.1 (31737) fueling/sessions /latest
      2025-04-18 14:10:36.551 - debug: vw-connect.1 (31737) AxiosError: Request failed with status code 404
      2025-04-18 14:10:36.551 - debug: vw-connect.1 (31737) {"timestamp":"2025-04-18T12:10:36.503+00:00","path":...
      2025-04-18 14:10:36.552 - debug: vw-connect.1 (31737) Vehicle is not supporting fueling/sessions /latest
      2025-04-18 14:10:36.629 - debug: vw-connect.1 (31737) {"devicePlatform":"WCAR","vehicleSpecification":{"title":"Škoda Enyaq",...
      2025-04-18 14:10:36.630 - debug: vw-connect.1 (31737) TMBJC9NY0MF.......status.vehicle-information
      2025-04-18 14:10:36.630 - debug: vw-connect.1 (31737) 200
      

      Eine Stunde später bricht dann wieder die MQTT Verbindung ab und nichts geht mehr:

      2025-04-18 15:11:29.021 - info: vw-connect.1 (31737) MQTT Reconnecting
      2025-04-18 15:11:29.179 - error: vw-connect.1 (31737) MQTT Error: ErrorWithReasonCode: Connection refused: Bad username or password
      2025-04-18 15:11:29.181 - info: vw-connect.1 (31737) MQTT Connection closed
      2025-04-18 15:12:29.182 - info: vw-connect.1 (31737) MQTT Reconnecting
      2025-04-18 15:12:29.320 - error: vw-connect.1 (31737) MQTT Error: ErrorWithReasonCode: Connection refused: Bad username or password
      2025-04-18 15:12:29.322 - info: vw-connect.1 (31737) MQTT Connection closed
      2025-04-18 15:13:29.323 - info: vw-connect.1 (31737) MQTT Reconnecting
      2025-04-18 15:13:29.500 - error: vw-connect.1 (31737) MQTT Error: ErrorWithReasonCode: Connection refused: Bad username or password
      2025-04-18 15:13:29.502 - info: vw-connect.1 (31737) MQTT Connection closed
      2025-04-18 15:14:29.503 - info: vw-connect.1 (31737) MQTT Reconnecting
      2025-04-18 15:14:29.637 - error: vw-connect.1 (31737) MQTT Error: ErrorWithReasonCode: Connection refused: Bad username or password
      2025-04-18 15:14:29.640 - info: vw-connect.1 (31737) MQTT Connection closed
      2025-04-18 15:15:29.640 - info: vw-connect.1 (31737) MQTT Reconnecting
      2025-04-18 15:15:29.769 - error: vw-connect.1 (31737) MQTT Error: ErrorWithReasonCode: Connection refused: Bad username or password
      2025-04-18 15:15:29.771 - info: vw-connect.1 (31737) MQTT Connection closed
      2025-04-18 15:16:29.772 - info: vw-connect.1 (31737) MQTT Reconnecting
      2025-04-18 15:16:29.903 - error: vw-connect.1 (31737) MQTT Error: ErrorWithReasonCode: Connection refused: Bad username or password
      2025-04-18 15:16:29.906 - info: vw-connect.1 (31737) MQTT Connection closed
      2025-04-18 15:17:29.906 - info: vw-connect.1 (31737) MQTT Reconnecting
      2025-04-18 15:17:30.070 - error: vw-connect.1 (31737) MQTT Error: ErrorWithReasonCode: Connection refused: Bad username or password
      2025-04-18 15:17:30.074 - info: vw-connect.1 (31737) MQTT Connection closed
      2025-04-18 15:18:30.074 - info: vw-connect.1 (31737) MQTT Reconnecting
      2025-04-18 15:18:30.200 - error: vw-connect.1 (31737) MQTT Error: ErrorWithReasonCode: Connection refused: Bad username or password
      2025-04-18 15:18:30.204 - info: vw-connect.1 (31737) MQTT Connection closed
      2025-04-18 15:19:30.204 - info: vw-connect.1 (31737) MQTT Reconnecting
      2025-04-18 15:19:30.316 - error: vw-connect.1 (31737) MQTT Error: ErrorWithReasonCode: Connection refused: Bad username or password
      2025-04-18 15:19:30.319 - info: vw-connect.1 (31737) MQTT Connection closed
      2025-04-18 15:20:30.319 - info: vw-connect.1 (31737) MQTT Reconnecting
      2025-04-18 15:20:30.471 - error: vw-connect.1 (31737) MQTT Error: ErrorWithReasonCode: Connection refused: Bad username or password
      2025-04-18 15:20:30.473 - info: vw-connect.1 (31737) MQTT Connection closed
      2025-04-18 15:20:30.574 - debug: vw-connect.1 (31737) trip-statistics
      2025-04-18 15:20:30.574 - debug: vw-connect.1 (31737) AxiosError: Request failed with status code 401
      2025-04-18 15:20:30.575 - debug: vw-connect.1 (31737) ""
      2025-04-18 15:20:30.575 - error: vw-connect.1 (31737) ""
      2025-04-18 15:20:30.575 - error: vw-connect.1 (31737) AxiosError: Request failed with status code 401
      2025-04-18 15:20:30.575 - error: vw-connect.1 (31737) https://mysmob.api.connect.skoda-auto.cz/api/v1/trip-statistics/TMBJC9NY0MF......
      
      posted in Tester
      I
      ichderarnd
    • RE: Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda

      @tombox
      Du hast nach der 0.7.9 noch Änderungen gemacht ohne die Versionsnummer zu erhöhen? 🙄

      OK, ich versuch‘s gleich nochmal.

      posted in Tester
      I
      ichderarnd
    • RE: Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda

      @tombox sagte in Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda:

      @ichderarnd sollte gemacht werden im debug log und aktuelle GitHub sollte das auch sichtbar sein

      Ich habe mir das Debug-Log heute Abend für den Skoda Enyaq (Instanz 1) nochmal angesehen:

      2025-04-15 22:45:24.994 - info: vw-connect.1 (6960) starting. Version 0.7.9 (non-npm: ta2k/ioBroker.vw-connect) in /opt/iobroker/node_modules/iobroker.vw-connect, node: v20.18.1, js-controller: 7.0.6
      2025-04-15 23:35:32.706 - debug: vw-connect.1 (6960) 200
      2025-04-15 23:45:27.021 - error: vw-connect.1 (6960) MQTT Offline
      2025-04-15 23:45:27.023 - info: vw-connect.1 (6960) MQTT Connection closed
      

      Die nächste Datenabfrage funktioniert dann aber noch:

      2025-04-15 23:45:31.322 - debug: vw-connect.1 (6960) 200
      

      Dann folgen mehrfach die drei Zeilen:

      2025-04-15 23:46:27.024 - info: vw-connect.1 (6960) MQTT Reconnecting
      2025-04-15 23:46:27.228 - error: vw-connect.1 (6960) MQTT Error: ErrorWithReasonCode: Connection refused: Bad username or password
      2025-04-15 23:46:27.230 - info: vw-connect.1 (6960) MQTT Connection closed
      

      Und dann erscheinen im Abfrageintervall immer dieselben Meldungen für die verschiedenen Datenpunkte (hier stellvertretend nur einer):

      2025-04-15 23:55:29.482 - debug: vw-connect.1 (6960) ""
      2025-04-15 23:55:29.482 - error: vw-connect.1 (6960) ""
      2025-04-15 23:55:29.483 - error: vw-connect.1 (6960) AxiosError: Request failed with status code 401
      2025-04-15 23:55:29.485 - error: vw-connect.1 (6960) https://mysmob.api.connect.skoda-auto.cz/api/v1/vehicle-information/TMBJC9NY0MFxxxxxx
      2025-04-15 23:56:28.627 - error: vw-connect.1 (6960) Reconnect count exceeded. Stop MQTT
      

      Für ein VW-Fahrzeug sieht es dagegen wie folgt aus:

      2025-04-15 22:45:13.719 - info: vw-connect.0 (6681) starting. Version 0.7.9 (non-npm: ta2k/ioBroker.vw-connect) in /opt/iobroker/node_modules/iobroker.vw-connect, node: v20.18.1, js-controller: 7.0.6
      

      Die letzte erfolgreiche Abfrage erfolgt um 23:45:26
      Dann 10 Min. später:

      2025-04-15 23:55:17.652 - error: vw-connect.0 (6681) Fetching status failed
      2025-04-15 23:55:17.653 - error: vw-connect.0 (6681) AxiosError: Request failed with status code 401
      2025-04-15 23:55:17.653 - error: vw-connect.0 (6681) {"error":{"message":"Unauthorized","info":"token is expired"}}
      2025-04-15 23:55:17.654 - error: vw-connect.0 (6681) get id status Failed
      2025-04-15 23:55:17.654 - debug: vw-connect.0 (6681) Token Refresh started
      2025-04-15 23:55:17.682 - error: vw-connect.0 (6681) Fetching status failed
      2025-04-15 23:55:17.683 - error: vw-connect.0 (6681) AxiosError: Request failed with status code 401
      2025-04-15 23:55:17.684 - error: vw-connect.0 (6681) {"error":{"message":"Unauthorized","info":"token is expired"}}
      2025-04-15 23:55:17.684 - error: vw-connect.0 (6681) get id status Failed
      2025-04-15 23:55:17.685 - debug: vw-connect.0 (6681) Token Refresh started
      2025-04-15 23:55:17.710 - debug: vw-connect.0 (6681) AxiosError: Request failed with status code 401
      2025-04-15 23:55:17.710 - debug: vw-connect.0 (6681) No parkingposition found
      2025-04-15 23:55:17.711 - debug: vw-connect.0 (6681) Skip last trip check because of last check was less than 15min ago
      2025-04-15 23:55:17.741 - debug: vw-connect.0 (6681) AxiosError: Request failed with status code 401
      2025-04-15 23:55:17.742 - debug: vw-connect.0 (6681) No parkingposition found
      2025-04-15 23:55:17.742 - debug: vw-connect.0 (6681) Skip last trip check because of last check was less than 15min ago
      2025-04-15 23:55:17.892 - debug: vw-connect.0 (6681) Token Refresh successful
      2025-04-15 23:55:17.904 - debug: vw-connect.0 (6681) Token Refresh successful
      

      Der Token refresh erfolgt erst nach der Fehlermeldung "token is expired". Und er erfolgt doppelt.

      posted in Tester
      I
      ichderarnd
    • RE: Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda

      @tombox
      In der VW Instanz gibt es nach einer Stunde die Fehlermeldung „token is expired“. Dann folgt „Token Refresh started“ und schließlich „Token Refresh successful“. Merkwürdigerweise zweimal ineinander verschachtelt, aber es funktioniert.
      In der Skoda Enyaq Instanz kommt kein „token is expired“ und es wird auch nicht erneuert.

      Wäre es nicht sinnvoll, den Token Refresh nach 59 Minuten automatisch zu machen?

      Werde mir das heute Abend nochmal genauer ansehen.

      posted in Tester
      I
      ichderarnd
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo