Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. Datenpunkt aus xml

    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

    Datenpunkt aus xml

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @paul53 last edited by

      @paul53
      @australien
      was ist denn die DC Voltage, wenn nicht die Panel Spannung?

      und

      @homoran sagte in Datenpunkt aus xml:

      @australien wie bist du denn an das vollständige xml Dokument gekommen?

      1 Reply Last reply Reply Quote 0
      • A
        australien last edited by

        Guten Morgen,
        Nebel, aber liefert etwas, somit sind wieder alle 17 Datenpunkte vorhanden.

        <Measurements>
        <Measurement Value="234.225" Unit="V" Type="AC_Voltage1"/>
        <Measurement Value="236.033" Unit="V" Type="AC_Voltage2"/>
        <Measurement Value="235.065" Unit="V" Type="AC_Voltage3"/>
        <Measurement Value="0.144" Unit="A" Type="AC_Current1"/>
        <Measurement Value="0.155" Unit="A" Type="AC_Current2"/>
        <Measurement Value="0.147" Unit="A" Type="AC_Current3"/>
        <Measurement Value="6.654" Unit="W" Type="AC_Power"/>
        <Measurement Value="6.163" Unit="W" Type="AC_Power1"/>
        <Measurement Value="2.353" Unit="W" Type="AC_Power2"/>
        <Measurement Value="2.135" Unit="W" Type="AC_Power3"/>
        <Measurement Value="49.951" Unit="Hz" Type="AC_Frequency1"/>
        <Measurement Value="49.957" Unit="Hz" Type="AC_Frequency2"/>
        <Measurement Value="49.958" Unit="Hz" Type="AC_Frequency3"/>
        <Measurement Value="382.300" Unit="V" Type="DC_Voltage"/>
        <Measurement Value="0.017" Unit="A" Type="DC_Current"/>
        <Measurement Value="6.499" Unit="W" Type="DC_Power"/>
        <Measurement Value="36.550" Unit="°C" Type="Temp"/>
        </Measurements>
        

        @Homoran hatte ich vor 6 Jahren bei der Installation der Anlage erfragt. Es waren sogar 3 xml Seiten, nur die anderen beiden waren nicht brauchbar, weiß die auch nicht mehr.

        paul53 1 Reply Last reply Reply Quote 0
        • paul53
          paul53 @australien last edited by

          @australien sagte: alle 17 Datenpunkte vorhanden.

          Dann erstelle die restlichen Datenpunkte und erweitere um eine Abfrage.

          const messung = obj.root.Device[0].Measurements[0].Measurement;
          if(messung.length == 17) {
              for(let obj of messung) {
                  setState('0_userdata.0.SolarFrontier.' + obj.$.Type, parseFloat(obj.$.Value), true);
              }
          }
          
          A 1 Reply Last reply Reply Quote 0
          • A
            australien @paul53 last edited by

            @paul53
            Datenpunkte hab ich bereits erstellt und werden auch geschrieben - mit dem alten script.
            Worin besteht der unterschied?

            paul53 1 Reply Last reply Reply Quote 0
            • paul53
              paul53 @australien last edited by paul53

              @australien sagte: Worin besteht der unterschied?

              Dass mit der zusätzlichen Abfrage nachts nichts geschrieben wird.

              A 1 Reply Last reply Reply Quote 0
              • A
                australien @paul53 last edited by

                @paul53
                Nachts sind die Werte der Leistung aber sowieso 0 und somit ist es doch auch egal.

                Homoran paul53 2 Replies Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @australien last edited by

                  @australien sagte in Datenpunkt aus xml:

                  @paul53
                  Nachts sind die Werte der Leistung aber sowieso 0 und somit ist es doch auch egal.

                  eben nicht!

                  Nachts g7bt das xml gar nichts zum auswerten zurück

                  1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 @australien last edited by

                    @australien sagte: ist es doch auch egal.

                    Ja, ist es, wenn die Werte nicht historisiert werden.

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      australien @paul53 last edited by australien

                      @paul53
                      Ok, das passiert ja noch nicht, will aber natürlich in naher Zukunft die Daten speichern.

                      Sollte also die Abrage auf das ganze xml ausgeweitet werden, auch wenn weniger Daten vorhanden sind.
                      Die letzten gültigen Datenpunkte der Leistung sind alle mit dem Wert 0 befüllt, was ja auch passen würde.

                      Die ganze Abrage macht ja sowieso nur Sinn, solange Sonne scheint, also eigentlich ein CRON mit Astronomischer Tag würde das ganze einschränken.

                      so in etwa

                      const parser = require('xml2js').parseString;
                      
                      const url = 'http://10.68.0.85/measurements.xml';
                      
                       
                      
                      schedule('{"time":{"start":"sunrise","end":"sunset","mode":"minutes","interval":1},"period":{"days":1}}', function() { 
                        
                      
                          request(url, function(error, response, result) {
                      
                              if(!error) parser(result, function(err, obj) {
                      
                                  if(!err) {
                      
                                      //log(obj); // Ausgabe posten!
                                      const messung = obj.root.Device[0].Measurements[0].Measurement;
                      
                                      for(let obj of messung) {
                      
                                          //log(obj.$.Type + ': ' + parseFloat(obj.$.Value) + ' ' + obj.$.Unit);
                      
                                           setState('0_userdata.0.SolarFrontier.' + obj.$.Type, parseFloat(obj.$.Value), true);
                      
                      }
                                      }
                      
                              });
                      
                          });
                      
                      });
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • A
                        australien last edited by australien

                        @paul53

                        Hallo paul53, ich bin es noch einmal.
                        Mein Script schaut seit damals so aus, und lief ohne Probleme. Jetzt bekomme ich seit einiger Zeit diese Warnungen, es wurde aber an beiden Systemen nichts geändert. Ausser die standart updates am IOB bzw raspberry.
                        Was sagen mir die Warnungen, bzw. wir bekomme ich diese wieder weg.
                        In der besagten XML sind Daten vorhanden.

                        const parser = require('xml2js').parseString;
                        
                        const url = 'http://10.68.0.85/measurements.xml';
                        
                         
                        
                        schedule('{"time":{"start":"sunrise","end":"sunset","mode":"minutes","interval":1},"period":{"days":1}}', function() { 
                        
                            request(url, function(error, response, result) {
                        
                                if(!error) parser(result, function(err, obj) {
                        
                                    if(!err) {
                        
                                        //log(obj); // Ausgabe posten!
                                        const messung = obj.root.Device[0].Measurements[0].Measurement;
                        
                                        for(let obj of messung) {
                        
                                            //log(obj.$.Type + ': ' + parseFloat(obj.$.Value) + ' ' + obj.$.Unit);
                        
                                             setState('0_userdata.0.SolarFrontier.' + obj.$.Type, parseFloat(obj.$.Value), true);
                        
                        }
                                        }
                        
                                });
                        
                            });
                        
                        });
                        
                        
                        09:19:58.061	info	javascript.0 (93977) Stop script script.js.common.PV
                        09:19:58.106	info	javascript.0 (93977) Start javascript script.js.common.PV
                        09:19:58.186	info	javascript.0 (93977) script.js.common.PV: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
                        09:20:00.040	warn	javascript.0 (93977) at script.js.common.PV:22:22
                        09:20:00.043	warn	javascript.0 (93977) at script.js.common.PV:11:20
                        09:21:36.990	warn	javascript.0 (93977) at script.js.common.PV:22:22
                        09:21:36.992	warn	javascript.0 (93977) at script.js.common.PV:11:20
                        09:22:00.038	warn	javascript.0 (93977) at script.js.common.PV:22:22
                        09:22:00.040	warn	javascript.0 (93977) at script.js.common.PV:11:20
                        09:23:00.043	warn	javascript.0 (93977) at script.js.common.PV:22:22
                        09:23:00.044	warn	javascript.0 (93977) at script.js.common.PV:11:20
                        09:23:00.093	warn	javascript.0 (93977) at script.js.common.PV:22:22
                        09:23:00.101	warn	javascript.0 (93977) at script.js.common.PV:11:20
                        09:24:00.063	warn	javascript.0 (93977) at script.js.common.PV:22:22
                        09:24:00.066	warn	javascript.0 (93977) at script.js.common.PV:11:20
                        09:25:00.052	warn	javascript.0 (93977) at script.js.common.PV:22:22
                        09:25:00.055	warn	javascript.0 (93977) at script.js.common.PV:11:20
                        
                        <root>
                        <Device Name="SF-WR-5503" Type="Inverter" Serial="752794xxxxxxxxx10009" BusAddress="1" NetBiosName="INV005565810009" IpAddress="10.68.0.85" DateTime="2023-05-08T09:38:36">
                        <Measurements>
                        <Measurement Value="235.405" Unit="V" Type="AC_Voltage1"/>
                        <Measurement Value="236.821" Unit="V" Type="AC_Voltage2"/>
                        <Measurement Value="236.344" Unit="V" Type="AC_Voltage3"/>
                        <Measurement Value="3.397" Unit="A" Type="AC_Current1"/>
                        <Measurement Value="3.356" Unit="A" Type="AC_Current2"/>
                        <Measurement Value="3.354" Unit="A" Type="AC_Current3"/>
                        <Measurement Value="2390.684" Unit="W" Type="AC_Power"/>
                        <Measurement Value="798.457" Unit="W" Type="AC_Power1"/>
                        <Measurement Value="794.152" Unit="W" Type="AC_Power2"/>
                        <Measurement Value="792.340" Unit="W" Type="AC_Power3"/>
                        <Measurement Value="50.013" Unit="Hz" Type="AC_Frequency1"/>
                        <Measurement Value="50.008" Unit="Hz" Type="AC_Frequency2"/>
                        <Measurement Value="50.016" Unit="Hz" Type="AC_Frequency3"/>
                        <Measurement Value="512.000" Unit="V" Type="DC_Voltage"/>
                        <Measurement Value="4.762" Unit="A" Type="DC_Current"/>
                        <Measurement Value="2438.144" Unit="W" Type="DC_Power"/>
                        <Measurement Value="38.340" Unit="°C" Type="Temp"/>
                        </Measurements>
                        </Device>
                        </root>
                        
                        paul53 1 Reply Last reply Reply Quote 0
                        • paul53
                          paul53 @australien last edited by

                          @australien
                          Zu den Warnungen erhält man im Tab "Protokolle" weitere Informationen. So kann man damit nichts anfangen.

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            australien @paul53 last edited by australien

                            @paul53

                            im Protokol sind diese Warnmeldungen vorhanden.

                            javascript.0
                            	2023-05-09 14:28:00.070	warn	at processTicksAndRejections (node:internal/process/task_queues:82:21)
                            javascript.0
                            	2023-05-09 14:28:00.069	warn	at endReadableNT (node:internal/streams/readable:1359:12)
                            javascript.0
                            	2023-05-09 14:28:00.069	warn	at IncomingMessage.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:28:00.069	warn	at IncomingMessage.emit (node:events:525:35)
                            javascript.0
                            	2023-05-09 14:28:00.069	warn	at Object.onceWrapper (node:events:627:28)
                            javascript.0
                            	2023-05-09 14:28:00.069	warn	at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:1076:12)
                            javascript.0
                            	2023-05-09 14:28:00.069	warn	at Request.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:28:00.068	warn	at Request.emit (node:events:513:28)
                            javascript.0
                            	2023-05-09 14:28:00.068	warn	at Request.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:1154:10)
                            javascript.0
                            	2023-05-09 14:28:00.068	warn	at Request.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:28:00.068	warn	at Request.emit (node:events:513:28)
                            javascript.0
                            	2023-05-09 14:28:00.068	warn	at Request.self.callback (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:185:22)
                            javascript.0
                            	2023-05-09 14:28:00.068	warn	at Request._callback (/opt/iobroker/node_modules/iobroker.javascript/lib/request.js:27:17)
                            javascript.0
                            	2023-05-09 14:28:00.067	warn	at script.js.common.PV:11:20
                            javascript.0
                            	2023-05-09 14:28:00.067	warn	at exports.parseString (/opt/iobroker/node_modules/xml2js/lib/parser.js:369:19)
                            javascript.0
                            	2023-05-09 14:28:00.067	warn	at Parser.parseString (/opt/iobroker/node_modules/xml2js/lib/parser.js:5:59)
                            javascript.0
                            	2023-05-09 14:28:00.067	warn	at Parser.exports.Parser.Parser.parseString (/opt/iobroker/node_modules/xml2js/lib/parser.js:323:31)
                            javascript.0
                            	2023-05-09 14:28:00.067	warn	at SAXParser.write (/opt/iobroker/node_modules/sax/lib/sax.js:1436:13)
                            javascript.0
                            	2023-05-09 14:28:00.066	warn	at closeTag (/opt/iobroker/node_modules/sax/lib/sax.js:889:7)
                            javascript.0
                            	2023-05-09 14:28:00.066	warn	at emitNode (/opt/iobroker/node_modules/sax/lib/sax.js:629:5)
                            javascript.0
                            	2023-05-09 14:28:00.066	warn	at emit (/opt/iobroker/node_modules/sax/lib/sax.js:624:35)
                            javascript.0
                            	2023-05-09 14:28:00.066	warn	at SAXParser.onclosetag (/opt/iobroker/node_modules/xml2js/lib/parser.js:262:26)
                            javascript.0
                            	2023-05-09 14:28:00.066	warn	at Parser.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:28:00.066	warn	at Parser.emit (node:events:513:28)
                            javascript.0
                            	2023-05-09 14:28:00.065	warn	at Parser.<anonymous> (/opt/iobroker/node_modules/xml2js/lib/parser.js:304:18)
                            javascript.0
                            	2023-05-09 14:28:00.062	warn	at script.js.common.PV:22:22
                            javascript.0
                            	2023-05-09 14:28:00.060	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1719:20)
                            javascript.0
                            	2023-05-09 14:28:00.057	warn	State "0_userdata.0.SolarFrontier.DC_Current" not found
                            javascript.0
                            	2023-05-09 14:28:00.041	warn	at processTicksAndRejections (node:internal/process/task_queues:82:21)
                            javascript.0
                            	2023-05-09 14:28:00.040	warn	at endReadableNT (node:internal/streams/readable:1359:12)
                            javascript.0
                            	2023-05-09 14:28:00.040	warn	at IncomingMessage.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:28:00.040	warn	at IncomingMessage.emit (node:events:525:35)
                            javascript.0
                            	2023-05-09 14:28:00.040	warn	at Object.onceWrapper (node:events:627:28)
                            javascript.0
                            	2023-05-09 14:28:00.040	warn	at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:1076:12)
                            javascript.0
                            	2023-05-09 14:28:00.040	warn	at Request.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:28:00.040	warn	at Request.emit (node:events:513:28)
                            javascript.0
                            	2023-05-09 14:28:00.039	warn	at Request.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:1154:10)
                            javascript.0
                            	2023-05-09 14:28:00.039	warn	at Request.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:28:00.039	warn	at Request.emit (node:events:513:28)
                            javascript.0
                            	2023-05-09 14:28:00.039	warn	at Request.self.callback (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:185:22)
                            javascript.0
                            	2023-05-09 14:28:00.039	warn	at Request._callback (/opt/iobroker/node_modules/iobroker.javascript/lib/request.js:27:17)
                            javascript.0
                            	2023-05-09 14:28:00.038	warn	at script.js.common.PV:11:20
                            javascript.0
                            	2023-05-09 14:28:00.038	warn	at exports.parseString (/opt/iobroker/node_modules/xml2js/lib/parser.js:369:19)
                            javascript.0
                            	2023-05-09 14:28:00.038	warn	at Parser.parseString (/opt/iobroker/node_modules/xml2js/lib/parser.js:5:59)
                            javascript.0
                            	2023-05-09 14:28:00.038	warn	at Parser.exports.Parser.Parser.parseString (/opt/iobroker/node_modules/xml2js/lib/parser.js:323:31)
                            javascript.0
                            	2023-05-09 14:28:00.037	warn	at SAXParser.write (/opt/iobroker/node_modules/sax/lib/sax.js:1436:13)
                            javascript.0
                            	2023-05-09 14:28:00.037	warn	at closeTag (/opt/iobroker/node_modules/sax/lib/sax.js:889:7)
                            javascript.0
                            	2023-05-09 14:28:00.037	warn	at emitNode (/opt/iobroker/node_modules/sax/lib/sax.js:629:5)
                            javascript.0
                            	2023-05-09 14:28:00.037	warn	at emit (/opt/iobroker/node_modules/sax/lib/sax.js:624:35)
                            javascript.0
                            	2023-05-09 14:28:00.037	warn	at SAXParser.onclosetag (/opt/iobroker/node_modules/xml2js/lib/parser.js:262:26)
                            javascript.0
                            	2023-05-09 14:28:00.036	warn	at Parser.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:28:00.036	warn	at Parser.emit (node:events:513:28)
                            javascript.0
                            	2023-05-09 14:28:00.036	warn	at Parser.<anonymous> (/opt/iobroker/node_modules/xml2js/lib/parser.js:304:18)
                            javascript.0
                            	2023-05-09 14:28:00.036	warn	at script.js.common.PV:22:22
                            javascript.0
                            	2023-05-09 14:28:00.035	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1719:20)
                            javascript.0
                            	2023-05-09 14:28:00.029	warn	State "0_userdata.0.SolarFrontier.DC_Current" not found
                            javascript.0
                            	2023-05-09 14:27:00.039	warn	at processTicksAndRejections (node:internal/process/task_queues:82:21)
                            javascript.0
                            	2023-05-09 14:27:00.039	warn	at endReadableNT (node:internal/streams/readable:1359:12)
                            javascript.0
                            	2023-05-09 14:27:00.039	warn	at IncomingMessage.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:27:00.038	warn	at IncomingMessage.emit (node:events:525:35)
                            javascript.0
                            	2023-05-09 14:27:00.038	warn	at Object.onceWrapper (node:events:627:28)
                            javascript.0
                            	2023-05-09 14:27:00.038	warn	at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:1076:12)
                            javascript.0
                            	2023-05-09 14:27:00.038	warn	at Request.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:27:00.038	warn	at Request.emit (node:events:513:28)
                            javascript.0
                            	2023-05-09 14:27:00.038	warn	at Request.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:1154:10)
                            javascript.0
                            	2023-05-09 14:27:00.037	warn	at Request.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:27:00.037	warn	at Request.emit (node:events:513:28)
                            javascript.0
                            	2023-05-09 14:27:00.037	warn	at Request.self.callback (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:185:22)
                            javascript.0
                            	2023-05-09 14:27:00.037	warn	at Request._callback (/opt/iobroker/node_modules/iobroker.javascript/lib/request.js:27:17)
                            javascript.0
                            	2023-05-09 14:27:00.037	warn	at script.js.common.PV:11:20
                            javascript.0
                            	2023-05-09 14:27:00.037	warn	at exports.parseString (/opt/iobroker/node_modules/xml2js/lib/parser.js:369:19)
                            javascript.0
                            	2023-05-09 14:27:00.036	warn	at Parser.parseString (/opt/iobroker/node_modules/xml2js/lib/parser.js:5:59)
                            javascript.0
                            	2023-05-09 14:27:00.036	warn	at Parser.exports.Parser.Parser.parseString (/opt/iobroker/node_modules/xml2js/lib/parser.js:323:31)
                            javascript.0
                            	2023-05-09 14:27:00.036	warn	at SAXParser.write (/opt/iobroker/node_modules/sax/lib/sax.js:1436:13)
                            javascript.0
                            	2023-05-09 14:27:00.036	warn	at closeTag (/opt/iobroker/node_modules/sax/lib/sax.js:889:7)
                            javascript.0
                            	2023-05-09 14:27:00.036	warn	at emitNode (/opt/iobroker/node_modules/sax/lib/sax.js:629:5)
                            javascript.0
                            	2023-05-09 14:27:00.036	warn	at emit (/opt/iobroker/node_modules/sax/lib/sax.js:624:35)
                            javascript.0
                            	2023-05-09 14:27:00.036	warn	at SAXParser.onclosetag (/opt/iobroker/node_modules/xml2js/lib/parser.js:262:26)
                            javascript.0
                            	2023-05-09 14:27:00.035	warn	at Parser.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:27:00.035	warn	at Parser.emit (node:events:513:28)
                            javascript.0
                            	2023-05-09 14:27:00.035	warn	at Parser.<anonymous> (/opt/iobroker/node_modules/xml2js/lib/parser.js:304:18)
                            javascript.0
                            	2023-05-09 14:27:00.035	warn	at script.js.common.PV:22:22
                            javascript.0
                            	2023-05-09 14:27:00.035	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1719:20)
                            javascript.0
                            	2023-05-09 14:27:00.032	warn	State "0_userdata.0.SolarFrontier.DC_Current" not found
                            javascript.0
                            	2023-05-09 14:26:00.037	warn	at processTicksAndRejections (node:internal/process/task_queues:82:21)
                            javascript.0
                            	2023-05-09 14:26:00.037	warn	at endReadableNT (node:internal/streams/readable:1359:12)
                            javascript.0
                            	2023-05-09 14:26:00.037	warn	at IncomingMessage.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:26:00.037	warn	at IncomingMessage.emit (node:events:525:35)
                            javascript.0
                            	2023-05-09 14:26:00.036	warn	at Object.onceWrapper (node:events:627:28)
                            javascript.0
                            	2023-05-09 14:26:00.036	warn	at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:1076:12)
                            javascript.0
                            	2023-05-09 14:26:00.036	warn	at Request.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:26:00.036	warn	at Request.emit (node:events:513:28)
                            javascript.0
                            	2023-05-09 14:26:00.035	warn	at Request.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:1154:10)
                            javascript.0
                            	2023-05-09 14:26:00.035	warn	at Request.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:26:00.035	warn	at Request.emit (node:events:513:28)
                            javascript.0
                            	2023-05-09 14:26:00.035	warn	at Request.self.callback (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:185:22)
                            javascript.0
                            	2023-05-09 14:26:00.035	warn	at Request._callback (/opt/iobroker/node_modules/iobroker.javascript/lib/request.js:27:17)
                            javascript.0
                            	2023-05-09 14:26:00.034	warn	at script.js.common.PV:11:20
                            javascript.0
                            	2023-05-09 14:26:00.034	warn	at exports.parseString (/opt/iobroker/node_modules/xml2js/lib/parser.js:369:19)
                            javascript.0
                            	2023-05-09 14:26:00.034	warn	at Parser.parseString (/opt/iobroker/node_modules/xml2js/lib/parser.js:5:59)
                            javascript.0
                            	2023-05-09 14:26:00.033	warn	at Parser.exports.Parser.Parser.parseString (/opt/iobroker/node_modules/xml2js/lib/parser.js:323:31)
                            javascript.0
                            	2023-05-09 14:26:00.033	warn	at SAXParser.write (/opt/iobroker/node_modules/sax/lib/sax.js:1436:13)
                            javascript.0
                            	2023-05-09 14:26:00.033	warn	at closeTag (/opt/iobroker/node_modules/sax/lib/sax.js:889:7)
                            javascript.0
                            	2023-05-09 14:26:00.033	warn	at emitNode (/opt/iobroker/node_modules/sax/lib/sax.js:629:5)
                            javascript.0
                            	2023-05-09 14:26:00.033	warn	at emit (/opt/iobroker/node_modules/sax/lib/sax.js:624:35)
                            javascript.0
                            	2023-05-09 14:26:00.032	warn	at SAXParser.onclosetag (/opt/iobroker/node_modules/xml2js/lib/parser.js:262:26)
                            javascript.0
                            	2023-05-09 14:26:00.032	warn	at Parser.emit (node:domain:489:12)
                            javascript.0
                            	2023-05-09 14:26:00.032	warn	at Parser.emit (node:events:513:28)
                            javascript.0
                            	2023-05-09 14:26:00.032	warn	at Parser.<anonymous> (/opt/iobroker/node_modules/xml2js/lib/parser.js:304:18)
                            javascript.0
                            	2023-05-09 14:26:00.031	warn	at script.js.common.PV:22:22
                            javascript.0
                            	2023-05-09 14:26:00.031	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1719:20)
                            javascript.0
                            	2023-05-09 14:26:00.027	warn	State "0_userdata.0.SolarFrontier.DC_Current" not found
                            
                            
                            

                            es kamen heute auch schon rote Fehler mit

                            Robert
                            
                            v6.3.5
                            6919
                            
                            Log-Größe: 145.9 MB
                            Zeit
                            	
                            Nachricht
                            javascript.0
                            	2023-05-09 14:31:19.860	info	npm install frequest-promise-native --omit=dev (System call)
                            javascript.0
                            	2023-05-09 14:31:19.859	error	Cannot install npm packet: npm2js
                            javascript.0
                            	2023-05-09 14:31:19.858	error	Cannot install frequest-promise-native: 1
                            javascript.0
                            	2023-05-09 14:31:19.817	error	npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2023-05-09T12_31_12_637Z-debug-0.log
                            javascript.0
                            	2023-05-09 14:31:19.815	error	
                            javascript.0
                            	2023-05-09 14:31:19.812	error	npm ERR! 404 tarball, folder, http url, or git url.
                            javascript.0
                            	2023-05-09 14:31:19.803	error	npm ERR! 404 'frequest-promise-native@*' is not in this registry. npm ERR! 404 npm ERR! 404 Note that you can also install from a
                            javascript.0
                            	2023-05-09 14:31:19.801	error	ERR! 404
                            javascript.0
                            	2023-05-09 14:31:19.799	error	npm
                            javascript.0
                            	2023-05-09 14:31:19.797	error	ERR! 404 Not Found - GET https://registry.npmjs.org/frequest-promise-native - Not found
                            javascript.0
                            	2023-05-09 14:31:19.795	error	npm
                            javascript.0
                            	2023-05-09 14:31:19.780	error	ERR! code E404
                            javascript.0
                            	2023-05-09 14:31:19.774	error	npm
                            javascript.0
                            	2023-05-09 14:31:10.548	info	npm install frequest-promise-native --omit=dev (System call)2
                            javascript.0
                            	2023-05-09 14:31:10.546	error	Cannot install npm packet: npm2js
                            javascript.0
                            	2023-05-09 14:31:10.543	error	Cannot install npm2js: 1
                            javascript.0
                            	2023-05-09 14:31:10.472	error	npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2023-05-09T12_31_05_386Z-debug-0.log
                            javascript.0
                            	2023-05-09 14:31:10.462	error	
                            javascript.0
                            	2023-05-09 14:31:10.439	error	404 npm ERR! 404 Note that you can also install from anpm ERR! 404 tarball, folder, http url, or git url.
                            javascript.0
                            	2023-05-09 14:31:10.428	error	404 npm ERR! 404 'npm2js@*' is not in this registry.npm ERR!
                            javascript.0
                            	2023-05-09 14:31:10.425	error	ERR!
                            javascript.0
                            	2023-05-09 14:31:10.423	error	npm
                            javascript.0
                            	2023-05-09 14:31:10.420	error	ERR! 404 Not Found - GET https://registry.npmjs.org/npm2js - Not found
                            javascript.0
                            	2023-05-09 14:31:10.418	error	npm
                            javascript.0
                            	2023-05-09 14:31:10.364	error	ERR! code E404
                            javascript.0
                            	2023-05-09 14:31:10.359	error	npm
                            javascript.0
                            	2023-05-09 14:31:03.047	info	npm install npm2js --omit=dev (System call)
                            javascript.0
                            	2023-05-09 14:31:03.045	error	Cannot install npm2js: 1
                            javascript.0
                            	2023-05-09 14:31:03.013	error	npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2023-05-09T12_30_58_137Z-debug-0.log
                            javascript.0
                            	2023-05-09 14:31:03.011	error	
                            javascript.0
                            	2023-05-09 14:31:03.001	error	npm ERR! 404 npm ERR! 404 Note that you can also install from anpm ERR! 404 tarball, folder, http url, or git url.
                            javascript.0
                            	2023-05-09 14:31:02.999	error	npm ERR! 404 'npm2js@*' is not in this registry.
                            javascript.0
                            	2023-05-09 14:31:02.998	error	ERR! 404 Not Found - GET https://registry.npmjs.org/npm2js - Not foundnpm ERR! 404
                            javascript.0
                            	2023-05-09 14:31:02.996	error	npm
                            javascript.0
                            	2023-05-09 14:31:02.986	error	ERR! code E404
                            javascript.0
                            	2023-05-09 14:31:02.985	error	npm
                            javascript.0
                            	2023-05-09 14:30:55.843	info	npm install npm2js --omit=dev (System call)
                            javascript.0
                            	2023-05-09 14:30:55.842	error	Cannot install npm2js: 1
                            javascript.0
                            	2023-05-09 14:30:55.818	error	npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2023-05-09T12_30_49_812Z-debug-0.log
                            javascript.0
                            	2023-05-09 14:30:55.812	error	Note that you can also install from anpm ERR! 404 tarball, folder, http url, or git url.
                            javascript.0
                            	2023-05-09 14:30:55.811	error	404 npm ERR! 404 'npm2js@*' is not in this registry.npm ERR! 404 npm ERR! 404
                            javascript.0
                            	2023-05-09 14:30:55.808	error	ERR! 404 Not Found - GET https://registry.npmjs.org/npm2js - Not foundnpm ERR!
                            javascript.0
                            	2023-05-09 14:30:55.807	error	npm
                            javascript.0
                            	2023-05-09 14:30:55.797	error	ERR! code E404
                            javascript.0
                            	2023-05-09 14:30:55.795	error	npm
                            javascript.0
                            	2023-05-09 14:30:47.692	info	npm install npm2js --omit=dev (System call)
                            javascript.0
                            	2023-05-09 14:30:47.588	info	starting. Version 6.1.4 in /opt/iobroker/node_modules/iobroker.javascript, node: v18.15.0, js-controller: 4.0.24
                            javascript.0
                            	2023-05-09 14:29:58.545	warn	Terminated (ADAPTER_ALREADY_RUNNING): Without reason
                            javascript.0
                            	2023-05-09 14:29:58.539	error	javascript.0 already running
                            
                            
                            
                            paul53 1 Reply Last reply Reply Quote 0
                            • paul53
                              paul53 @australien last edited by paul53

                              @australien sagte: rote Fehler mit

                              Schau in die Konfiguration der Javascript-Instanz: Das benötigte NPM-Modul ist "xml2js" - nicht "npm2js".

                              2023-05-09 14:26:00.027	warn	State "0_userdata.0.SolarFrontier.DC_Current" not found
                              

                              Der Datenpunkt existiert?

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                australien @paul53 last edited by

                                @paul53 said in Datenpunkt aus xml:

                                xml2js

                                komisch, war schon seit langer zeit so, egal, wurde geändert, aber geändert hat sich nicht viel.

                                Robert
                                
                                v6.3.5
                                3250
                                
                                Log-Größe: 149.4 MB
                                Zeit
                                	
                                Nachricht
                                javascript.0
                                	2023-05-09 14:54:00.110	warn	at processTicksAndRejections (node:internal/process/task_queues:82:21)
                                javascript.0
                                	2023-05-09 14:54:00.110	warn	at endReadableNT (node:internal/streams/readable:1359:12)
                                javascript.0
                                	2023-05-09 14:54:00.110	warn	at IncomingMessage.emit (node:domain:489:12)
                                javascript.0
                                	2023-05-09 14:54:00.109	warn	at IncomingMessage.emit (node:events:525:35)
                                javascript.0
                                	2023-05-09 14:54:00.109	warn	at Object.onceWrapper (node:events:627:28)
                                javascript.0
                                	2023-05-09 14:54:00.109	warn	at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:1076:12)
                                javascript.0
                                	2023-05-09 14:54:00.108	warn	at Request.emit (node:domain:489:12)
                                javascript.0
                                	2023-05-09 14:54:00.108	warn	at Request.emit (node:events:513:28)
                                javascript.0
                                	2023-05-09 14:54:00.108	warn	at Request.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:1154:10)
                                javascript.0
                                	2023-05-09 14:54:00.108	warn	at Request.emit (node:domain:489:12)
                                javascript.0
                                	2023-05-09 14:54:00.107	warn	at Request.emit (node:events:513:28)
                                javascript.0
                                	2023-05-09 14:54:00.107	warn	at Request.self.callback (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:185:22)
                                javascript.0
                                	2023-05-09 14:54:00.107	warn	at Request._callback (/opt/iobroker/node_modules/iobroker.javascript/lib/request.js:27:17)
                                javascript.0
                                	2023-05-09 14:54:00.107	warn	at script.js.common.PV:11:20
                                javascript.0
                                	2023-05-09 14:54:00.106	warn	at exports.parseString (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xml2js/lib/parser.js:373:19)
                                javascript.0
                                	2023-05-09 14:54:00.106	warn	at Parser.parseString (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xml2js/lib/parser.js:5:59)
                                javascript.0
                                	2023-05-09 14:54:00.106	warn	at Parser.exports.Parser.Parser.parseString (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xml2js/lib/parser.js:327:31)
                                javascript.0
                                	2023-05-09 14:54:00.105	warn	at SAXParser.write (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sax/lib/sax.js:1436:13)
                                javascript.0
                                	2023-05-09 14:54:00.105	warn	at closeTag (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sax/lib/sax.js:889:7)
                                javascript.0
                                	2023-05-09 14:54:00.105	warn	at emitNode (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sax/lib/sax.js:629:5)
                                javascript.0
                                	2023-05-09 14:54:00.105	warn	at emit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sax/lib/sax.js:624:35)
                                javascript.0
                                	2023-05-09 14:54:00.104	warn	at SAXParser.onclosetag (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xml2js/lib/parser.js:266:26)
                                javascript.0
                                	2023-05-09 14:54:00.104	warn	at Parser.emit (node:domain:489:12)
                                javascript.0
                                	2023-05-09 14:54:00.104	warn	at Parser.emit (node:events:513:28)
                                javascript.0
                                	2023-05-09 14:54:00.103	warn	at Parser.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xml2js/lib/parser.js:308:18)
                                javascript.0
                                	2023-05-09 14:54:00.103	warn	at script.js.common.PV:22:22
                                javascript.0
                                	2023-05-09 14:54:00.102	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1719:20)
                                javascript.0
                                	2023-05-09 14:54:00.083	warn	State "0_userdata.0.SolarFrontier.DC_Current" not found
                                javascript.0
                                	2023-05-09 14:53:11.605	info	State value to set for "0_userdata.0.NSPanel.1.Berry_Driver.currentVersion" has to be type "number" but received type "string"
                                javascript.0
                                	2023-05-09 14:53:11.564	warn	at processImmediate (node:internal/timers:447:9)
                                javascript.0
                                	2023-05-09 14:53:11.564	warn	at runNextTicks (node:internal/process/task_queues:60:5)
                                javascript.0
                                	2023-05-09 14:53:11.563	warn	at fulfilled (script.js.NSPanel.Panel1_110423_4_0_5_5:5:58)
                                javascript.0
                                	2023-05-09 14:53:11.563	warn	at Object.next (script.js.NSPanel.Panel1_110423_4_0_5_5:14:53)
                                javascript.0
                                	2023-05-09 14:53:11.563	warn	at step (script.js.NSPanel.Panel1_110423_4_0_5_5:33:23)
                                javascript.0
                                	2023-05-09 14:53:11.562	warn	at script.js.NSPanel.Panel1_110423_4_0_5_5:2789:46
                                javascript.0
                                	2023-05-09 14:53:11.562	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:81:16
                                javascript.0
                                	2023-05-09 14:53:11.561	warn	at new Promise (<anonymous>)
                                javascript.0
                                	2023-05-09 14:53:11.561	warn	at /opt/iobroker/node_modules/iobroker.javascript/lib/tools.js:82:16
                                javascript.0
                                	2023-05-09 14:53:11.560	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1719:20)
                                javascript.0
                                	2023-05-09 14:53:11.552	warn	You are assigning a string to the state "0_userdata.0.NSPanel.1.Berry_Driver.currentVersion" which expects a number. Please fix your code to use a number or change the state type to string. This warning might become an error in future versions.
                                javascript.0
                                	2023-05-09 14:53:10.404	info	script.js.NSPanel.Panel1_110423_4_0_5_5: Installed TFT Firmware: 50 / v4.0.5
                                javascript.0
                                	2023-05-09 14:53:10.403	info	script.js.NSPanel.Panel1_110423_4_0_5_5: Desired TFT Firmware: 50 / v4.0.5
                                javascript.0
                                	2023-05-09 14:53:09.047	info	script.js.NSPanel.Panel1_110423_4_0_5_5: registered 28 subscriptions, 7 schedules, 0 messages, 0 logs and 0 file subscriptions
                                javascript.0
                                	2023-05-09 14:53:08.986	info	script.js.NSPanel.Panel1_110423_4_0_5_5: weather alias for accuweather.0. already exists
                                javascript.0
                                	2023-05-09 14:53:08.971	info	script.js.NSPanel.Panel1_110423_4_0_5_5: setObjects enabled - create Alias Channels possible
                                javascript.0
                                	2023-05-09 14:53:08.865	info	script.js.NSPanel.Panel1_110423_4_0_5_5: source code did not change, using cached compilation result...
                                javascript.0
                                	2023-05-09 14:53:06.719	info	script.js.NSPanel.Panel1_110423_4_0_5_5: compiling TypeScript source...
                                javascript.0
                                	2023-05-09 14:53:06.719	info	script.js.NSPanel.Fahrplan_to_NSPanel: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                                javascript.0
                                	2023-05-09 14:53:06.718	info	script.js.NSPanel.Fahrplan_to_NSPanel: Datenpunkte vorhanden
                                javascript.0
                                	2023-05-09 14:53:06.718	info	script.js.NSPanel.Fahrplan_to_NSPanel: Datenpunkte vorhanden
                                javascript.0
                                	2023-05-09 14:53:06.717	info	script.js.NSPanel.Fahrplan_to_NSPanel: Datenpunkte vorhanden
                                javascript.0
                                	2023-05-09 14:53:06.717	info	script.js.NSPanel.Fahrplan_to_NSPanel: Datenpunkte vorhanden
                                javascript.0
                                	2023-05-09 14:53:06.717	info	script.js.NSPanel.Fahrplan_to_NSPanel: Datenpunkte vorhanden
                                javascript.0
                                	2023-05-09 14:53:06.716	info	script.js.NSPanel.Fahrplan_to_NSPanel: Datenpunkte vorhanden
                                javascript.0
                                	2023-05-09 14:53:06.701	info	script.js.NSPanel.Fahrplan_to_NSPanel: source code did not change, using cached compilation result...
                                javascript.0
                                	2023-05-09 14:53:06.567	info	script.js.NSPanel.Fahrplan_to_NSPanel: compiling TypeScript source...
                                javascript.0
                                	2023-05-09 14:53:06.567	info	script.js.common.eNetz: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                                javascript.0
                                	2023-05-09 14:53:06.553	info	Start javascript script.js.common.eNetz
                                javascript.0
                                	2023-05-09 14:53:06.552	info	script.js.common.Octo: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                                javascript.0
                                	2023-05-09 14:53:06.538	info	Start javascript script.js.common.Octo
                                javascript.0
                                	2023-05-09 14:53:06.519	error	at Script.runInContext (node:vm:141:12)
                                javascript.0
                                	2023-05-09 14:53:06.518	error	at script.js.common.SmartMeter_json:26:3
                                javascript.0
                                	2023-05-09 14:53:06.518	error	at script.js.common.SmartMeter_json:14:22
                                javascript.0
                                	2023-05-09 14:53:06.517	error	script.js.common.SmartMeter_json: TypeError: Cannot read properties of null (reading 'eNetz')
                                javascript.0
                                	2023-05-09 14:53:06.513	info	script.js.common.SmartMeter_json: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                                javascript.0
                                	2023-05-09 14:53:06.507	warn	at script.js.common.SmartMeter_json:26:3
                                javascript.0
                                	2023-05-09 14:53:06.506	warn	at script.js.common.SmartMeter_json:2:14
                                javascript.0
                                	2023-05-09 14:53:06.493	warn	getState "mqtt.1.SmartHome.SmartMeter.tele.SENSOR" not found (3)
                                javascript.0
                                	2023-05-09 14:53:06.480	info	Start javascript script.js.common.SmartMeter_json
                                javascript.0
                                	2023-05-09 14:53:06.479	info	script.js.common.Velux_Sensor: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                                javascript.0
                                	2023-05-09 14:53:06.466	info	Start javascript script.js.common.Velux_Sensor
                                javascript.0
                                	2023-05-09 14:53:06.465	info	script.js.common.Sonos: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                                javascript.0
                                	2023-05-09 14:53:06.428	info	Start javascript script.js.common.Sonos
                                javascript.0
                                	2023-05-09 14:53:06.427	info	script.js.common.Test_Wasch_Vent: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                                javascript.0
                                	2023-05-09 14:53:06.414	info	Start javascript script.js.common.Test_Wasch_Vent
                                javascript.0
                                	2023-05-09 14:53:06.414	info	script.js.common.Zugverspätung: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
                                javascript.0
                                	2023-05-09 14:53:06.389	info	Start javascript script.js.common.Zugverspätung
                                javascript.0
                                	2023-05-09 14:53:06.388	info	script.js.common.PV: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
                                javascript.0
                                	2023-05-09 14:53:06.308	info	Start javascript script.js.common.PV
                                javascript.0
                                	2023-05-09 14:53:06.307	info	script.js.common.Müll: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
                                javascript.0
                                	2023-05-09 14:53:06.227	info	Start javascript script.js.common.Müll
                                javascript.0
                                	2023-05-09 14:53:06.224	info	script.js.common.Anwesenheitskontrolle: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                                javascript.0
                                	2023-05-09 14:53:06.149	info	Start javascript script.js.common.Anwesenheitskontrolle
                                javascript.0
                                	2023-05-09 14:53:05.784	info	script.js.global.icon_mapping: source code did not change, using cached compilation result...
                                javascript.0
                                	2023-05-09 14:53:05.091	info	script.js.global.icon_mapping: compiling TypeScript source...
                                javascript.0
                                	2023-05-09 14:53:04.485	info	received all states
                                javascript.0
                                	2023-05-09 14:53:01.457	info	received all objects
                                javascript.0
                                	2023-05-09 14:52:54.319	info	requesting all objects
                                javascript.0
                                	2023-05-09 14:52:54.317	info	requesting all states
                                javascript.0
                                	2023-05-09 14:52:48.849	error	Cannot install npm packet: frequest-promise-native
                                javascript.0
                                	2023-05-09 14:52:48.848	error	Cannot install frequest-promise-native: 1
                                javascript.0
                                	2023-05-09 14:52:48.817	error	npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2023-05-09T12_52_45_336Z-debug-0.log
                                javascript.0
                                	2023-05-09 14:52:48.805	error	404 'frequest-promise-native@*' is not in this registry. npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.
                                javascript.0
                                	2023-05-09 14:52:48.800	error	404 npm ERR!
                                javascript.0
                                	2023-05-09 14:52:48.798	error	Not Found - GET https://registry.npmjs.org/frequest-promise-native - Not found npm ERR!
                                javascript.0
                                	2023-05-09 14:52:48.797	error	npm ERR! 404
                                javascript.0
                                	2023-05-09 14:52:48.785	error	E404
                                javascript.0
                                	2023-05-09 14:52:48.783	error	npm ERR! code
                                javascript.0
                                	2023-05-09 14:52:43.907	info	npm install frequest-promise-native --omit=dev (System call)
                                javascript.0
                                	2023-05-09 14:52:43.906	error	Cannot install frequest-promise-native: 1
                                javascript.0
                                	2023-05-09 14:52:43.882	error	npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2023-05-09T12_52_40_485Z-debug-0.log
                                javascript.0
                                	2023-05-09 14:52:43.880	error	
                                javascript.0
                                	2023-05-09 14:52:43.877	error	npm ERR! 404 tarball, folder, http url, or git url.
                                javascript.0
                                	2023-05-09 14:52:43.873	error	404 npm ERR! 404 'frequest-promise-native@*' is not in this registry. npm ERR! 404 npm ERR! 404 Note that you can also install from a
                                javascript.0
                                	2023-05-09 14:52:43.871	error	ERR! 404 Not Found - GET https://registry.npmjs.org/frequest-promise-native - Not found npm ERR!
                                javascript.0
                                	2023-05-09 14:52:43.870	error	npm
                                javascript.0
                                	2023-05-09 14:52:43.863	error	ERR! code E404
                                javascript.0
                                	2023-05-09 14:52:43.860	error	npm
                                javascript.0
                                	2023-05-09 14:52:38.790	info	npm install frequest-promise-native --omit=dev (System call)
                                javascript.0
                                	2023-05-09 14:52:38.788	error	Cannot install frequest-promise-native: 1
                                javascript.0
                                	2023-05-09 14:52:38.757	error	npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2023-05-09T12_52_35_306Z-debug-0.log
                                javascript.0
                                	2023-05-09 14:52:38.754	error	
                                javascript.0
                                	2023-05-09 14:52:38.748	error	npm ERR! 404 'frequest-promise-native@*' is not in this registry.npm ERR! 404 npm ERR! 404 Note that you can also install from anpm ERR! 404 tarball, folder, http url, or git url.
                                javascript.0
                                	2023-05-09 14:52:38.746	error	ERR! 404 Not Found - GET https://registry.npmjs.org/frequest-promise-native - Not foundnpm ERR! 404
                                javascript.0
                                	2023-05-09 14:52:38.744	error	npm
                                javascript.0
                                	2023-05-09 14:52:38.735	error	code E404
                                javascript.0
                                	2023-05-09 14:52:38.731	error	ERR!
                                javascript.0
                                	2023-05-09 14:52:38.729	error	
                                javascript.0
                                	2023-05-09 14:52:38.727	error	npm
                                javascript.0
                                	2023-05-09 14:52:33.797	info	npm install frequest-promise-native --omit=dev (System call)
                                javascript.0
                                	2023-05-09 14:52:33.731	info	starting. Version 6.1.4 in /opt/iobroker/node_modules/iobroker.javascript, node: v18.15.0, js-controller: 4.0.24
                                
                                
                                

                                fab9267d-f2c1-4b45-9532-76206c3d26c9-grafik.png

                                paul53 1 Reply Last reply Reply Quote 0
                                • paul53
                                  paul53 @australien last edited by paul53

                                  @australien sagte: Not Found - GET https://registry.npmjs.org/frequest-promise-native

                                  Wozu dient das NPM-Modul. Du benötigst es?

                                  Folgende Warnungen sollten bereinigt werden:

                                  getState "mqtt.1.SmartHome.SmartMeter.tele.SENSOR" not found (3)
                                  You are assigning a string to the state "0_userdata.0.NSPanel.1.Berry_Driver.currentVersion" which expects a number
                                  State "0_userdata.0.SolarFrontier.DC_Current" not found
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  448
                                  Online

                                  31.9k
                                  Users

                                  80.1k
                                  Topics

                                  1.3m
                                  Posts

                                  4
                                  39
                                  1019
                                  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