Navigation

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

    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

    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 39
    • Posts 213
    • Best 11
    • Groups 2

    George_Best

    @George_Best

    14
    Reputation
    92
    Profile views
    213
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    George_Best Follow
    Pro Starter

    Best posts made by George_Best

    • RE: Wemos D1 mini an IoBroker

      Hi,

      das ist gar nicht mal so schwer.

      1.) Ich empfehle ESP

      1.1) ESP "Standard" oder

      1.2) ESP Mega (Verwende ich, hat wesentlich mehr Funktionen)

      2.) Ich verwende "MQTT Broker/Client"

      Zu 1.2)

      a) https://github.com/letscontrolit/ESPEasy/releases

      b) Z. B. "ESPEasy_mega-20180822.zip" runterladen. Achtung der Ultraschall-Sensor HC-SR04 funktioniert mit diese Release nicht. Siehe Issue #1575 (https://github.com/letscontrolit/ESPEasy/issues/1575)

      c) entpacke die .zip auf deinem Rechner

      d) schließe des Wemos via USB an deinem Rechner an

      c) führe die DAtei "FlashESP8266.exe" aus

      d) wähle das Image, dass du auf dem Wemos haben willst. Hierzu musst du wissen wieviel Flash-Memory dein Wemos hat. Normalerweise 4096MB => also z. B. ESP_Easy_mega-20180516_normal_ESP8266_4096.bin

      e) den COM-Port wählen

      f) die Flash-Prozedur ehrfürchtig beobachten - sie sollte mit einer Meldung den Erfolg melden

      g) nun sollte der Wemos ein eigenes WLAN (ESP_0) aufbauen

      h) damit verbindest du dich mit deinem PC (Smartphone o. Tablet würde auch gehen) - Passwort: configesp

      i) dann öffnest du Chrome, Safari, I-Net Explorer oder Netscape

      j) die Seite des WEmos sollte automatisch erscheinen (falls nicht, tippe 192.168.4.1 in die URL ein)

      k) unter Config änderst gibst du nun dein HEim-WLAN samt Passwort ein.

      l) starte den Wemos neu

      m) schaue in deine Router- oder Access-Point (oder Fritzbox) unter welche IP der Wemos nun im Heim-WLAN angemeldet ist

      n) gib diese IP in deinen Browser ein

      o) mache mit 2.) weiter

      zu 2.)

      a) installiere den "MQTT Broker/Client"

      b) ich habe jetzt keine Lust mehr das näher zu beschreiben - es gibt hier im Forum exzellente Beiträge darüber

      zu 1.2)

      p) im Reiter "Controller" legst du nun einen "OpenHAB MQTT" Controller an

      q) unter Controller IP, Controller Port, User und Password gibst du die Daten aus 2.) an.

      r) unter Devices kannst du nun anlegen was du möchtest

      s) jetzt machst du weiter wie im Beitrag viewtopic.php?f=35&t=5460#p55622 beschrieben

      ACHTUNG! Wichtig ist bei MQTT.fx der Suscribe-Befehl mit "#" abschicken. Damit werden alle vorhanden Objekte automatisch in ioBroker angelegt.

      posted in Hardware
      G
      George_Best
    • Erfassung mechanischer Wasserzähler (induktiver Sensor + ESP8266 )

      Hallo zusammen,

      anbei meine Umsetzung einer elektronischen Erfassung eines mechanischen Wasserzählers ohne Impulsausgang o.ä..

      Inspiriert haben mich die Beiträge von ruhr70, Schubi und starfish. Ohne deren Beiträge wäre die Umsetzung nicht möglich gewesen.

      Ziel des Projekts:

      • Erfassung der Messung des Wasserzählers und Übermittlung an ioBroker.

      • Ermittlung des täglichen Wasserverbrauchs

      (- Warnung bei Rohrbruch => noch nicht umgesetzt)

      Einkaufsliste:

      • 1x induktiver Näherungsschalter Endschalter PNP - NC, TTL kompatibel, LJ12A3 https://www.ebay.de/itm/232176583655

      • 1x WeMos D1 MINI - ESP8266 ESP12 NodeMcu Dev-Kit WiFi Modul Board Arduino https://www.ebay.de/itm/252745698566

      • 1x DIN-Hutschiene, geschlitzt http://www.mercateo.com/p/108EL-467(2d) … 500mm.html

      • 1x Stahlwinkel

      • 1x 1 kOhm Widerstand

      • 3x 220 Ohm Widerstand

      • 1x 100nF Entstör-Kondensator

      • 1x Lochrasterplatine 45x39 mm (https://www.pollin.de/p/punktrasterpla … ck-442529)

      ****Umsetzung:

      Hardware:****

      Die Positionierung des Näherungsschalters habe ich mittels zweier Hutschienen (geschlitzt) umgesetzt. Das erlaubt eine sehr genaue Positionierung in X- und Y-Richtung. Das Ganze habe ich dann mit einem Stahl-Winkel an der Wand befestigt. Die Positionierung in Z-Richtung erfolgt über das Gewinde bzw. Muttern am Sensor selbst.

      Der induktive Näherungsschalter wird mit der 5V Versorgung (braun) und GND (blau) des Wemos versorgt. Der Ausgang des Sensor wird mittels Spannungsteiler an den Eingang D3 des ESPs verbunden. Ursprünglich hatte ich für den Spannungsteiler 1k:2k Ohm berechnet. Aus irgendwelchen Gründen (Bier?!) habe ich jedoch 1k:660 Ohm verwendet. Seltsamerweise funktioniert dies besser als der berechnete Spannungsteiler.

      Bei Tests habe ich festgestellt, dass der Zähler am ESP ständig Impulse gezählt hat. Dank meines 30-Jahren alten Oszis war die Ursache schnell gefunden - Störeinflüße auf die umgeschirmten Leitung. Ein Enstörkondensator (100nF) zwischen Eingang und Masse hat hier schnell Abhilfe geschaffen.

      Im Schaltplan im Anhang ist ein optischer Sensor dargestellt. Ich habel leider in der Bauteilbibliothek keinen anderen gefunden und selber erstellen wollte ich nicht.

      Zunächst habe ich es auf einem Breadboard getestet und später auf eine kleine Platine gelötet. Ok…. ordentliches Platinenlayout und Leiterbahnen ist etwas anderes...

      Die ganze Geschichte versorge ich dank des USB-Anschlusses mit einem herkömmlichen Smartphone-USB-Ladegerät.

      Zusätzlich habe ich noch zwei LEDs mit zwei GPIOs des ESP verbunden und in ioBroker entsprechende Datenpunkte angelegt. Warum? Weil es funktionert...

      Software:

      • ioBroker 😉

      • ESPEasy für den ESP8266 => Installation bzw. Flash gemäß https://www.letscontrolit.com/wiki/inde … are_Upload

      Nach dem erfolgreichen Flashen und Einrichtung des Wemos mit ESPEasy habe ich die Eingänge enstprechende konfiguiert. Den Eingang D3 habe ich als "Counter" parametriert. Unter Config sind die Daten des mqtt-Adapters eingetragen. Ich kann ihr nur auf den hervorragenden Thread viewtopic.php?f=35&t=5460 verweisen. Hier wird detailiert beschrieben wie der Adapter und ESPEasy einzurichten sind.

      Danach erscheint auch schon der "Counter" als Datenpunkt in den Objekten.

      Die Datenpunkte des Counters speichere ich via SQL und berechne mir hieraus auch den täglichen Verbrauch.

      ! ````
      sendTo('sql.0', 'query', 'SELECT id, (from_unixtime((ts / 1000))) AS time, val FROM ioBroker.ts_number WHERE (ioBroker.ts_number.id = 28) ORDER BY (from_unixtime((ts / 1000))) DESC LIMIT 2', function (result) {
      if (result.error) {
      console.error(result.error);
      } else {
      //show result;
      //console.log('Rows: ' + JSON.stringify(result.result));
      //console.log(result.result[0].time)
      //console.log(result.result[0].val)
      //console.log(result.result[1].time)
      //console.log(result.result[1].val)
      var Differenz = (result.result[0].val) - (result.result[1].val);
      console.log("Verbraucher letzter Tag: " + Differenz +" l");
      setState("javascript.0.WaterCount_Daily_DELTA"/WaterCount_Daily_DELTA/, Differenz);
      }
      });

      Die ganze Geschichte funktioniert nun schon eine Woche ohne Probleme. Ein Abgleich mit dem manuellen Zähler hat ergeben, dass der Counter auf den Liter genau zählt.
      [3428_befestigung_1.jpg](/assets/uploads/files/3428_befestigung_1.jpg)
      [3428_befestigung_2.jpg](/assets/uploads/files/3428_befestigung_2.jpg)
      [3428_befestigung_3.jpg](/assets/uploads/files/3428_befestigung_3.jpg)
      [3428_befestigung_4.jpg](/assets/uploads/files/3428_befestigung_4.jpg)
      [3428_befestigung_5.jpg](/assets/uploads/files/3428_befestigung_5.jpg)
      [3428_platine_oben.jpg](/assets/uploads/files/3428_platine_oben.jpg)
      [3428_platine_unten.jpg](/assets/uploads/files/3428_platine_unten.jpg)
      [3428_schematic_steckplatine.png](/assets/uploads/files/3428_schematic_steckplatine.png)
      [3428_schematic_schaltplan.png](/assets/uploads/files/3428_schematic_schaltplan.png)
      posted in Praktische Anwendungen (Showcase)
      G
      George_Best
    • IR Kommandos an ioBroker senden

      Guten Abend,

      ich habe nun ein Lösung um mit meiner Logitech Harmony 350 beliebige ioBroker-Devices zu steuern.

      Problem: Meine Frau weigert sich mit Google Home zu sprechen. Ich hätte das "Google-Teil" so "programmiert", dass es meine Frau absichtlich nie richtig versteht.
      Trotzdem möchte man bequem vom Sofa aus z.B. den Küchenradio ausschalten.

      Lösung: Der bereits vorhandenen Logitech Harmony 350 wird ein neues device und entsprechende Dummy-Befehle angelernt. Diese Befehle nimmt ein IR-Sensor auf, welcher wiederum an einem ESP8266 hängt. Der ESP sendet via MQTT diesen Befehl an ioBroker, wo letztendlich ein Script auf den IR-Befehl reagiert und das Küchenradio ausschaltet.

      Einkaufsliste:

      • Logitech Harmony 350 (bereits vorhanden; ca.40 €)
      • ESP8266 (3,50 €)
      • IR-Sensor TSOP4838 (1,50€)

      Ich habe den IR Sensor an einem bereits im TV-Lowboard vorhandenen ES8266 geklemmt. Dort überwacht er die Temperatur im inneren.
      Anbei findet ihr den Schaltplan, Script, ESPEasy Configuration.

      on({id: 'mqtt.0.TVBoard_IR_Temp.IR'/*TVBoard IR Temp/IR*/, change: "any"}, function (obj) {
        var value = obj.state.val;
        var oldValue = obj.oldState.val;
        console.log(getState("mqtt.0.TVBoard_IR_Temp.IR").val);
        if (getState("mqtt.0.TVBoard_IR_Temp.IR").val == 28941) {
            setState("frontier_silicon.0.device.power"/*Power*/, false);
            console.log("Radio aus");
        }
      })
      

      Temp_IR.png Temp_IR_Platine.png Temp_IR_SteckPlatine.png 2021-03-30 19_30_50-Untitled Sketch.fzz - Fritzing - [Steckplatinenansicht].png 2021-03-30 19_31_11-TVBoard_IR_Temp.png 2021-03-30 19_31_25-javascript - ioBroker.png

      posted in Praktische Anwendungen (Showcase)
      G
      George_Best
    • RE: Script für einen SpeedTest über speedtest.net

      @guergen Perfekt!
      Hab dafür gevoted https://github.com/sindresorhus/speed-test/issues/62

      posted in Skripten / Logik
      G
      George_Best
    • RE: Probleme mit SayIt

      @david-g said in Probleme mit SayIt:

      @george_best

      Installier mal die aktuellste Version über git.
      Das Problem soll wohl behoben sein.
      Hab es selber noch nicht getestet, da ich auf Amazon Polly umgestiegen bin.

      Perfekt! Dank - genau das hat geholfen (Version 1.12.3 (2021-06-25)) 👍 😊 👏

      posted in Cloud Dienste
      G
      George_Best
    • RE: Erfassung mechanischer Wasserzähler (induktiver Sensor + ESP8266 )

      @George_Best said in Erfassung mechanischer Wasserzähler (induktiver Sensor + ESP8266 ):

      /assets/uploads/files/3428_schematic_schaltplan.png

      3428_schematic_steckplatine.png 3428_schematic_schaltplan.png

      posted in Praktische Anwendungen (Showcase)
      G
      George_Best
    • RE: Fehlermeldung Vis

      Ich habe es nun wie folgt gelöst:

      1. .vis-Projekte exportiert

      2. .vis-Adapter gelöscht

      3. "/opt/iobroker/iobroker-data/files/vis.0 via Konsole gelöscht

      4. reboot

      5. .vis-Adapter neuinstalliert

      5. vis-Projekte import.

      ==> hat geklappt.

      posted in Visualisierung
      G
      George_Best
    • RE: Adapter für Internetradios (Silvercrest, Grundig SONO, Aldi, Lidl etc.)

      @claus1993 sagte in Adapter für Internetradios (Silvercrest, Grundig SONO, Aldi, Lidl etc.):

      @George_Best
      versuche gerade deinen Blockly bei mir zu installieren.
      Was ich noch nicht ganz verstehe sind die Trigger die ich zum Schalten benötige. Soweit ich verstanden habe reagiert dein Blockly auf deine Datenpunkte im ioBroker.
      Welche Datenpunkte hast du den hierfür im ioBroker angelegt?

      Meinst du das Blockly mit dem ich den Radio via GoogleHome steuere? Der Trigger ist eine Änderung des IFTTT-Objekts.

      posted in ioBroker Allgemein
      G
      George_Best
    • RE: [Gelöst] SQL-Adapter - doppelte Einträge

      Vielen, vielen herzlichen Dank an die schnelle und sehr kompetente Unterstützung von @apollon77 via gitHub. Mit seiner Hilfe konnte ich das Problem sehr schnell lösen.
      https://github.com/ioBroker/ioBroker.sql/issues/90

      Aus irgendwelchen, nicht mehr nachvollziehbaren Gründen waren die Primary-Keys in der MySQL-DB nicht richtig angelegt.
      Primary-Key IST: ts
      Primary-Key SOLL: id + ts

      Die Lösung war in phpMyAdmin in der Tabelle ioBroker.ts_number unter "Indizes" die Reihen "id" und "ts" hinzuzufügen.

      posted in ioBroker Allgemein
      G
      George_Best
    • RE: [Frage] Mein geplantes Setup - okay so?

      Anstelle des Raspis könntes du über einen Intel NUC nachdenken. Ich bin nach einem Jahr ioBroker auf einem Raspi und unzähligen Abstürzen auf einen NUC umgestiegen. Läuft seit über 2 Jahren problemlos - Snapshots und Backups mit Proxmox sind mit drei Klicks konfiguriert...

      posted in ioBroker Allgemein
      G
      George_Best

    Latest posts made by George_Best

    • Statistic Adapter - Berechnung für vorhandene Werte

      Hallo zusammen,

      ich schreibe bei einigen Datenpunkten schon sehr lange die Werte in SQL Adapter weg.
      Leider habe ich nicht überall den Statistics-Adapter aktiviert.

      Ist es möglich, dass der Statistic-Adapter auch mit "historischen" bzw. bereits vorhandenen Daten rechnet? z.B. Durchschnittwerte, aber auch Delta-Werte?

      Schöne Grüße!

      posted in ioBroker Allgemein
      G
      George_Best
    • RE: Update js-controller - "nodejs is NOT correctly installed"

      @thomas-braun

      jonny@ioBroker-V2:~$ iob upgrade vis-materialdesign@0.5.9
      Adapter "vis-materialdesign" is not in the repository and cannot be updated.
      
      

      Der ist (vermutlich) von hier: https://github.com/Scrounger/ioBroker.vis-materialdesign/blob/master/README.md

      posted in Installation
      G
      George_Best
    • RE: Update js-controller - "nodejs is NOT correctly installed"

      @thomas-braun
      Das sieht es jetzt prinzipiell besser aus...

      Errors in npm tree:
      npm ERR! code ELSPROBLEMS
      npm ERR! invalid: iobroker.vis-materialdesign@0.2.62 /opt/iobroker/node_modules/iobroker.vis-materialdesign
      npm ERR! invalid: socksv5@0.0.6 /opt/iobroker/node_modules/socksv5
      npm ERR! invalid: xmlbuilder@0.4.2 /opt/iobroker/node_modules/xmlbuilder
      npm ERR! missing: cli@0.4.x, required by ipv6@3.1.1
      npm ERR! missing: cliff@0.1.x, required by ipv6@3.1.1
      
      npm ERR! A complete log of this run can be found in: /home/jonny/.npm/_logs/2023-11-03T15_35_17_056Z-debug-0.log
      
      *** ioBroker-Installation ***
      
      ioBroker Status
      iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Core adapters versions
      js-controller:  5.0.12
      admin:          6.12.0
      javascript:     7.1.4
      
      npm ERR! code ELSPROBLEMS
      npm ERR! invalid: iobroker.vis-materialdesign@0.2.62 /opt/iobroker/node_modules/iobroker.vis-materialdesign
      
      npm ERR! A complete log of this run can be found in: /home/jonny/.npm/_logs/2023-11-03T15_35_25_269Z-debug-0.log
      Adapters from github:   1
      
      

      Aber den iobroker.vis-materialdesign kann ich nicht entfernen, da scheinbar 50% meiner Vis darauf basieren.

      posted in Installation
      G
      George_Best
    • RE: Update js-controller - "nodejs is NOT correctly installed"

      Was für ein Kampf 😧
      Aber letztendlich doch erfolgreich - JS-Controller wurde erfolgreich geupdated.

      @Thomas-Braun Vielen, vielen Dank für deine Hilfe und deine unendliche Geduld 😊

      posted in Installation
      G
      George_Best
    • RE: Update js-controller - "nodejs is NOT correctly installed"

      sehr seltsam... Beim 2.

      sudo -H -u iobroker npm install iobroker.js-controller
      

      wurde der js-controller nun installiert...

      posted in Installation
      G
      George_Best
    • RE: Update js-controller - "nodejs is NOT correctly installed"

      @thomas-braun Ich versuch mich mal nun wieder nach oben zu hangeln..

      sudo -H -u iobroker npm install iobroker.js-controller
      
      

      sagt nun:

      npm WARN skipping integrity check for git dependency ssh://git@github.com/DrozmotiX/ioBroker.esphome.git
      npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
      npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
      npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
      npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
      npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
      npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
      npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
      npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
      npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN deprecated xmldom@0.1.16: Deprecated due to CVE-2021-21366 resolved in 0.5.0
      npm ERR! code 6
      npm ERR! path /opt/iobroker/node_modules/iobroker.vis-google-fonts
      npm ERR! command failed
      npm ERR! command sh -c node main.js --install
      
      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-03T12_24_45_263Z-debug-0.log
      
      mikeal created this issue in request/request

      open Request’s Past, Present and Future #3142

      mikeal created this issue in request/request

      open Request’s Past, Present and Future #3142

      posted in Installation
      G
      George_Best
    • RE: Update js-controller - "nodejs is NOT correctly installed"

      @thomas-braun sagte in Update js-controller - "nodejs is NOT correctly installed":

      Dann die .list-Datei mit den Backports löschen. Liegt vermutlich in /etc/apt/sources.list.d
      Und die .list-Datei zum Speedtest muss auch auf bullseye statt stretch lauten.

      da liegt nur:

      nodesource.list
      ookla_speedtest-cli.list
      
      

      In der sources.list sind diese Einträge drin:

      deb http://deb.debian.org/debian bullseye-backports main
      deb-src http://deb.debian.org/debian bullseye-backports main
      
      

      Soll ich diese Einträge aus der sources.list rausnehmen?

      posted in Installation
      G
      George_Best
    • RE: Update js-controller - "nodejs is NOT correctly installed"

      @thomas-braun

      jonny@ioBroker-V2:/etc/apt/sources.list.d$ sudo apt update
      OK:1 http://deb.debian.org/debian bullseye InRelease
      OK:2 http://deb.debian.org/debian bullseye-updates InRelease
      OK:3 http://deb.debian.org/debian bullseye-backports InRelease
      OK:4 http://deb.debian.org/debian-security bullseye-security InRelease
      OK:5 https://deb.nodesource.com/node_18.x nodistro InRelease
      Paketlisten werden gelesen… Fertig
      Abhängigkeitsbaum wird aufgebaut… Fertig
      Statusinformationen werden eingelesen… Fertig
      Aktualisierung für 53 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
      
      
      jonny@ioBroker-V2:/etc/apt/sources.list.d$ sudo apt install libcurl4-gnutls-dev
      Paketlisten werden gelesen… Fertig
      Abhängigkeitsbaum wird aufgebaut… Fertig
      Statusinformationen werden eingelesen… Fertig
      Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
        aspell-de-alt bsdmainutils cpp-8 dh-python fdisk geoip-database irqbalance libasan5 libbind9-140 libbind9-161
        libdbus-glib-1-2 libdns-export1104 libdns1104 libdns1110 libdns162 libevent-2.1-6 libgeoip1 libgl1-mesa-glx
        libicu57 libio-stringy-perl libisc-export1100 libisc1100 libisc1105 libisc160 libisccc140 libisccc161
        libisccfg140 libisccfg163 libisl19 libjson-c3 libjsoncpp1 liblwres141 liblwres161 libmpdec2 libnftables0 libnuma1
        libonig4 libperl5.24 libprocps7 libpython3.5 libpython3.5-dev libpython3.5-minimal libpython3.5-stdlib
        libpython3.7 libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib libxt-dev python3-asn1crypto
        python3-entrypoints python3-jeepney python3-keyring python3-keyrings.alt python3-pyasn1 python3-pycryptodome
        python3-secretstorage python3-xdg python3.5 python3.5-dev python3.5-minimal python3.5-venv python3.7-minimal
        rename sgml-base tcpd usb.ids x11proto-input-dev x11proto-kb-dev xml-core
      Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
      Die folgenden zusätzlichen Pakete werden installiert:
        libcurl3-gnutls
      Vorgeschlagene Pakete:
        libcurl4-doc libgnutls28-dev libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev
      Die folgenden NEUEN Pakete werden installiert:
        libcurl4-gnutls-dev
      Die folgenden Pakete werden aktualisiert (Upgrade):
        libcurl3-gnutls
      1 aktualisiert, 1 neu installiert, 0 zu entfernen und 52 nicht aktualisiert.
      Es müssen 778 kB an Archiven heruntergeladen werden.
      Nach dieser Operation werden 1.619 kB Plattenplatz zusätzlich benutzt.
      Möchten Sie fortfahren? [J/n] j
      Holen:1 http://deb.debian.org/debian-security bullseye-security/main amd64 libcurl3-gnutls amd64 7.74.0-1.3+deb11u10 [344 kB]
      Holen:2 http://deb.debian.org/debian-security bullseye-security/main amd64 libcurl4-gnutls-dev amd64 7.74.0-1.3+deb11u10 [435 kB]
      Es wurden 778 kB in 0 s geholt (4.014 kB/s).
      Changelogs werden gelesen... Fertig
      (Lese Datenbank ... 64938 Dateien und Verzeichnisse sind derzeit installiert.)
      Vorbereitung zum Entpacken von .../libcurl3-gnutls_7.74.0-1.3+deb11u10_amd64.deb ...
      Entpacken von libcurl3-gnutls:amd64 (7.74.0-1.3+deb11u10) über (7.74.0-1.3+deb11u9) ...
      Vormals nicht ausgewähltes Paket libcurl4-gnutls-dev:amd64 wird gewählt.
      Vorbereitung zum Entpacken von .../libcurl4-gnutls-dev_7.74.0-1.3+deb11u10_amd64.deb ...
      Entpacken von libcurl4-gnutls-dev:amd64 (7.74.0-1.3+deb11u10) ...
      libcurl3-gnutls:amd64 (7.74.0-1.3+deb11u10) wird eingerichtet ...
      libcurl4-gnutls-dev:amd64 (7.74.0-1.3+deb11u10) wird eingerichtet ...
      Trigger für libc-bin (2.31-13+deb11u6) werden verarbeitet ...
      Trigger für man-db (2.9.4-2) werden verarbeitet ...
      
      
      posted in Installation
      G
      George_Best
    • RE: Update js-controller - "nodejs is NOT correctly installed"

      @thomas-braun
      sudo apt update:

      OK:1 http://deb.debian.org/debian bullseye InRelease
      Ign:2 http://security.debian.org/debian-security bullseye/updates InRelease
      OK:3 http://deb.debian.org/debian bullseye-updates InRelease
      Ign:4 http://security.debian.org/debian-security bullseyeupdates InRelease
      OK:5 http://deb.debian.org/debian bullseye-backports InRelease
      Fehl:6 http://security.debian.org/debian-security bullseye/updates Release
        404  Not Found [IP: 199.232.190.132 80]
      Fehl:7 http://security.debian.org/debian-security bullseyeupdates Release
        404  Not Found [IP: 199.232.190.132 80]
      OK:8 https://deb.nodesource.com/node_18.x nodistro InRelease
      Holen:9 https://packagecloud.io/ookla/speedtest-cli/debian stretch InRelease [24,5 kB]
      Fehl:9 https://packagecloud.io/ookla/speedtest-cli/debian stretch InRelease
        Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 8E61C2AB9A6D1557
      Paketlisten werden gelesen… Fertig
      E: Das Depot »http://security.debian.org/debian-security bullseye/updates Release« enthält keine Release-Datei.
      N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
      N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
      E: Das Depot »http://security.debian.org/debian-security bullseyeupdates Release« enthält keine Release-Datei.
      N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
      N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
      W: GPG-Fehler: https://packagecloud.io/ookla/speedtest-cli/debian stretch InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 8E61C2AB9A6D1557
      E: Das Depot »https://packagecloud.io/ookla/speedtest-cli/debian stretch InRelease« ist nicht signiert.
      N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
      N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite
      

      apt policy libcurl*

      libcurl4-openssl-dev:
        Installiert:           (keine)
        Installationskandidat: 7.74.0-1.3+deb11u9
        Versionstabelle:
           7.88.1-10+deb12u3~bpo11+1 100
              100 http://deb.debian.org/debian bullseye-backports/main amd64 Packages
           7.74.0-1.3+deb11u9 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
      libcurl3:
        Installiert:           (keine)
        Installationskandidat: (keine)
        Versionstabelle:
      libcurl4:
        Installiert:           7.74.0-1.3+deb11u9
        Installationskandidat: 7.74.0-1.3+deb11u9
        Versionstabelle:
           7.88.1-10+deb12u3~bpo11+1 100
              100 http://deb.debian.org/debian bullseye-backports/main amd64 Packages
       *** 7.74.0-1.3+deb11u9 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
              100 /var/lib/dpkg/status
      libcurl3-gnutls:
        Installiert:           7.74.0-1.3+deb11u9
        Installationskandidat: 7.74.0-1.3+deb11u9
        Versionstabelle:
           7.88.1-10+deb12u3~bpo11+1 100
              100 http://deb.debian.org/debian bullseye-backports/main amd64 Packages
       *** 7.74.0-1.3+deb11u9 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
              100 /var/lib/dpkg/status
      libcurl-ocaml:
        Installiert:           (keine)
        Installationskandidat: 0.9.1-1+b4
        Versionstabelle:
           0.9.1-1+b4 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
      libcurl3-openssl-dev:
        Installiert:           (keine)
        Installationskandidat: (keine)
        Versionstabelle:
      libcurl3-gnutls-dev:
        Installiert:           (keine)
        Installationskandidat: (keine)
        Versionstabelle:
      libcurl4-gnutls-dev:
        Installiert:           (keine)
        Installationskandidat: 7.74.0-1.3+deb11u9
        Versionstabelle:
           7.88.1-10+deb12u3~bpo11+1 100
              100 http://deb.debian.org/debian bullseye-backports/main amd64 Packages
           7.74.0-1.3+deb11u9 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
      libcurl-dev:
        Installiert:           (keine)
        Installationskandidat: (keine)
        Versionstabelle:
      libcurlpp0:
        Installiert:           (keine)
        Installationskandidat: 0.8.1-3
        Versionstabelle:
           0.8.1-3 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
      libcurl-ocaml-dev:
        Installiert:           (keine)
        Installationskandidat: 0.9.1-1+b4
        Versionstabelle:
           0.9.1-1+b4 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
      libcurl-ocaml-30vr0:
        Installiert:           (keine)
        Installationskandidat: (keine)
        Versionstabelle:
      libcurlpp-dev:
        Installiert:           (keine)
        Installationskandidat: 0.8.1-3
        Versionstabelle:
           0.8.1-3 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
      libcurl-ssl-dev:
        Installiert:           (keine)
        Installationskandidat: (keine)
        Versionstabelle:
      libcurl-ocaml-dev-30vr0:
        Installiert:           (keine)
        Installationskandidat: (keine)
        Versionstabelle:
      libcurl3-nss-dev:
        Installiert:           (keine)
        Installationskandidat: (keine)
        Versionstabelle:
      libcurl3-dev:
        Installiert:           (keine)
        Installationskandidat: (keine)
        Versionstabelle:
      libcurl4-dev:
        Installiert:           (keine)
        Installationskandidat: (keine)
        Versionstabelle:
      libcurl4-doc:
        Installiert:           (keine)
        Installationskandidat: 7.74.0-1.3+deb11u9
        Versionstabelle:
           7.88.1-10+deb12u3~bpo11+1 100
              100 http://deb.debian.org/debian bullseye-backports/main amd64 Packages
           7.74.0-1.3+deb11u9 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
      libcurl3-nss:
        Installiert:           (keine)
        Installationskandidat: 7.74.0-1.3+deb11u9
        Versionstabelle:
           7.88.1-10+deb12u3~bpo11+1 100
              100 http://deb.debian.org/debian bullseye-backports/main amd64 Packages
           7.74.0-1.3+deb11u9 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
      libcurl4-nss-dev:
        Installiert:           (keine)
        Installationskandidat: 7.74.0-1.3+deb11u9
        Versionstabelle:
           7.88.1-10+deb12u3~bpo11+1 100
              100 http://deb.debian.org/debian bullseye-backports/main amd64 Packages
           7.74.0-1.3+deb11u9 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
      
      
      posted in Installation
      G
      George_Best
    • RE: Update js-controller - "nodejs is NOT correctly installed"

      @thomas-braun
      iob fix:

      library: loaded
      Library version=2023-10-13
      
      ==========================================================================
      
          Welcome to the ioBroker installation fixer!
          Script version: 2023-10-13
      
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/5)
      ==========================================================================
      
      Ign:1 http://security.debian.org/debian-security bullseye/updates InRelease
      OK:2 http://deb.debian.org/debian bullseye InRelease
      Ign:3 http://security.debian.org/debian-security bullseyeupdates InRelease
      OK:4 http://deb.debian.org/debian bullseye-updates InRelease
      OK:5 http://deb.debian.org/debian bullseye-backports InRelease
      Fehl:6 http://security.debian.org/debian-security bullseye/updates Release
        404  Not Found [IP: 199.232.190.132 80]
      Fehl:7 http://security.debian.org/debian-security bullseyeupdates Release
        404  Not Found [IP: 199.232.190.132 80]
      OK:8 https://deb.nodesource.com/node_18.x nodistro InRelease
      Holen:9 https://packagecloud.io/ookla/speedtest-cli/debian stretch InRelease [24,5 kB]
      Fehl:9 https://packagecloud.io/ookla/speedtest-cli/debian stretch InRelease
        Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 8E61C2AB9A6D1557
      Paketlisten werden gelesen… Fertig
      E: Das Depot »http://security.debian.org/debian-security bullseye/updates Release« enthält keine Release-Datei.
      N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
      N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
      E: Das Depot »http://security.debian.org/debian-security bullseyeupdates Release« enthält keine Release-Datei.
      N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
      N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
      W: GPG-Fehler: https://packagecloud.io/ookla/speedtest-cli/debian stretch InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 8E61C2AB9A6D1557
      E: Das Depot »https://packagecloud.io/ookla/speedtest-cli/debian stretch InRelease« ist nicht signiert.
      N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
      N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
      
      ==========================================================================
          Checking ioBroker user and directory permissions (2/5)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Fixing directory permissions...
      
      ==========================================================================
          Check and cleanup npm temporary directories (3/5)
      ==========================================================================
      
      Done.
      
      ==========================================================================
          Database maintenance (4/5)
      ==========================================================================
      
      Checking for uncompressed JSONL databases... This might take a while!
      
      Compressing /opt/iobroker/iobroker-data/states.jsonl
      Compressing /opt/iobroker/iobroker-data/objects.jsonl
      Compressed 2 JSONL files. Done
      
      ==========================================================================
          Checking autostart (5/5)
      ==========================================================================
      
      Enabling autostart...
      Autostart enabled!
      
      ==========================================================================
      
          Your installation was fixed successfully
          Run iobroker start to start ioBroker again!
      
      ==========================================================================
      
      

      sudo -H -u iobroker npm install iobroker.js-controller

      npm WARN skipping integrity check for git dependency ssh://git@github.com/DrozmotiX/ioBroker.esphome.git
      npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
      npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
      npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
      npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
      npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
      npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
      npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
      npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
      npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN deprecated xmldom@0.1.16: Deprecated due to CVE-2021-21366 resolved in 0.5.0
      npm WARN cleanup Failed to remove some directories [
      npm WARN cleanup   [
      npm WARN cleanup     '/opt/iobroker/node_modules/raw-socket',
      npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/raw-socket'] {
      npm WARN cleanup       errno: -39,
      npm WARN cleanup       code: 'ENOTEMPTY',
      npm WARN cleanup       syscall: 'rmdir',
      npm WARN cleanup       path: '/opt/iobroker/node_modules/raw-socket'
      npm WARN cleanup     }
      npm WARN cleanup   ],
      npm WARN cleanup   [
      npm WARN cleanup     '/opt/iobroker/node_modules/raw-socket',
      npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/raw-socket'] {
      npm WARN cleanup       errno: -39,
      npm WARN cleanup       code: 'ENOTEMPTY',
      npm WARN cleanup       syscall: 'rmdir',
      npm WARN cleanup       path: '/opt/iobroker/node_modules/raw-socket'
      npm WARN cleanup     }
      npm WARN cleanup   ],
      npm WARN cleanup   [
      npm WARN cleanup     '/opt/iobroker/node_modules/node-snap7',
      npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/node-snap7'] {
      npm WARN cleanup       errno: -39,
      npm WARN cleanup       code: 'ENOTEMPTY',
      npm WARN cleanup       syscall: 'rmdir',
      npm WARN cleanup       path: '/opt/iobroker/node_modules/node-snap7'
      npm WARN cleanup     }
      npm WARN cleanup   ],
      npm WARN cleanup   [
      npm WARN cleanup     '/opt/iobroker/node_modules/pcap',
      npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/pcap'] {
      npm WARN cleanup       errno: -39,
      npm WARN cleanup       code: 'ENOTEMPTY',
      npm WARN cleanup       syscall: 'rmdir',
      npm WARN cleanup       path: '/opt/iobroker/node_modules/pcap'
      npm WARN cleanup     }
      npm WARN cleanup   ],
      npm WARN cleanup   [
      npm WARN cleanup     '/opt/iobroker/node_modules/node-snap7',
      npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/node-snap7'] {
      npm WARN cleanup       errno: -39,
      npm WARN cleanup       code: 'ENOTEMPTY',
      npm WARN cleanup       syscall: 'rmdir',
      npm WARN cleanup       path: '/opt/iobroker/node_modules/node-snap7'
      npm WARN cleanup     }
      npm WARN cleanup   ],
      npm WARN cleanup   [
      npm WARN cleanup     '/opt/iobroker/node_modules/pcap',
      npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/pcap'] {
      npm WARN cleanup       errno: -39,
      npm WARN cleanup       code: 'ENOTEMPTY',
      npm WARN cleanup       syscall: 'rmdir',
      npm WARN cleanup       path: '/opt/iobroker/node_modules/pcap'
      npm WARN cleanup     }
      npm WARN cleanup   ]
      npm WARN cleanup ]
      npm ERR! code 1
      npm ERR! path /opt/iobroker/node_modules/node-libcurl
      npm ERR! command failed
      npm ERR! command sh -c node-pre-gyp install --fallback-to-build
      npm ERR! Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/opt/iobroker/node_modules/node-libcurl/lib/binding --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1)
      npm ERR! node-pre-gyp info it worked if it ends with ok
      npm ERR! node-pre-gyp info using node-pre-gyp@1.0.5
      npm ERR! node-pre-gyp info using node@18.18.2 | linux | x64
      npm ERR! node-pre-gyp info check checked for "/opt/iobroker/node_modules/node-libcurl/lib/binding/node_libcurl.node" (not found)
      npm ERR! node-pre-gyp http GET https://github.com/JCMais/node-libcurl/releases/download/v2.3.4/node_libcurl-v2.3.4-node-v108-linux-x64-glibc.tar.gz
      npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/JCMais/node-libcurl/releases/download/v2.3.4/node_libcurl-v2.3.4-node-v108-linux-x64-glibc.tar.gz
      npm ERR! node-pre-gyp WARN Pre-built binaries not installable for node-libcurl@2.3.4 and node@18.18.2 (node-v108 ABI, glibc) (falling back to source compile with node-gyp)
      npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/JCMais/node-libcurl/releases/download/v2.3.4/node_libcurl-v2.3.4-node-v108-linux-x64-glibc.tar.gz
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@9.4.0
      npm ERR! gyp info using node@18.18.2 | linux | x64
      npm ERR! gyp info ok
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@9.4.0
      npm ERR! gyp info using node@18.18.2 | linux | x64
      npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
      npm ERR! gyp info spawn /usr/bin/python3
      npm ERR! gyp info spawn args [
      npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
      npm ERR! gyp info spawn args   'binding.gyp',
      npm ERR! gyp info spawn args   '-f',
      npm ERR! gyp info spawn args   'make',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-libcurl/build/config.gypi',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/18.18.2/include/node/common.gypi',
      npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
      npm ERR! gyp info spawn args   '-Dvisibility=default',
      npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.2',
      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.2/<(target_arch)/node.lib',
      npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/node-libcurl',
      npm ERR! gyp info spawn args   '-Dnode_engine=v8',
      npm ERR! gyp info spawn args   '--depth=.',
      npm ERR! gyp info spawn args   '--no-parallel',
      npm ERR! gyp info spawn args   '--generator-output',
      npm ERR! gyp info spawn args   'build',
      npm ERR! gyp info spawn args   '-Goutput_dir=.'
      npm ERR! gyp info spawn args ]
      npm ERR! Could not run curl-config, please make sure libcurl dev package is installed.
      npm ERR! Output: /bin/sh: 1: curl-config: not found
      npm ERR!
      npm ERR! gyp: Call to 'node /opt/iobroker/node_modules/node-libcurl/scripts/curl-config.js --prefix' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
      npm ERR! gyp ERR! configure error
      npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
      npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:325:16)
      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:517:28)
      npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:292:12)
      npm ERR! gyp ERR! System Linux 5.10.0-26-amd64
      npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/node-libcurl/lib/binding/node_libcurl.node" "--module_name=node_libcurl" "--module_path=/opt/iobroker/node_modules/node-libcurl/lib/binding" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v108"
      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/node-libcurl
      npm ERR! gyp ERR! node -v v18.18.2
      npm ERR! gyp ERR! node-gyp -v v9.4.0
      npm ERR! gyp ERR! not ok
      npm ERR! node-pre-gyp ERR! build error
      npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/opt/iobroker/node_modules/node-libcurl/lib/binding --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1)
      npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-libcurl/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
      npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:517:28)
      npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1098:16)
      npm ERR! node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:303:5)
      npm ERR! node-pre-gyp ERR! System Linux 5.10.0-26-amd64
      npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-libcurl/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
      npm ERR! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/node-libcurl
      npm ERR! node-pre-gyp ERR! node -v v18.18.2
      npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.5
      npm ERR! node-pre-gyp ERR! not ok
      
      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-03T11_01_57_465Z-debug-0.log
      
      
      mikeal created this issue in request/request

      open Request’s Past, Present and Future #3142

      mikeal created this issue in request/request

      open Request’s Past, Present and Future #3142

      posted in Installation
      G
      George_Best
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo