Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Entwicklung
  4. Adapter Konfiguration - NPM Modul laden

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.7k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

Adapter Konfiguration - NPM Modul laden

Adapter Konfiguration - NPM Modul laden

Scheduled Pinned Locked Moved Entwicklung
4 Posts 3 Posters 825 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marcolotti
    wrote on last edited by
    #1

    Hallo,

    ich frage heute mal ins Forum: Ich bin gerade am Discovery für SNMP dran und müsste in der Adapter Konfiguration auf ein npm Modul zugreifen. Leider bleibt er jedesmal genau an dieser Stelle hängen. var require = "(npmmodul");

    Gruß Marco

    CCU2-CuxD&Cul868MHz, 44xHM Geräte, 20xMAX Fenstersensoren.Acer Revo mit IoBroker, Tablet Captiva 9,7 SFHD. SMA SB2.5,STP7000TL20,SMA Energy Meter, Echo, Harmony, JeeLink868, Arduino 433MHz, MaxtoxCUL868,MilightEasyLED,Hue

    1 Reply Last reply
    0
    • AlCalzoneA Offline
      AlCalzoneA Offline
      AlCalzone
      Developer
      wrote on last edited by
      #2

      korrekt wäre

      var modul = require("npmmodul");
      

      oder manchmal (sollte dann in der Anleitung zum Modul stehen)

      var modul = require("npmmodul").irgendwas;
      

      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

      1 Reply Last reply
      0
      • BluefoxB Offline
        BluefoxB Offline
        Bluefox
        wrote on last edited by
        #3

        @Marcolotti:

        Hallo,

        ich frage heute mal ins Forum: Ich bin gerade am Discovery für SNMP dran und müsste in der Adapter Konfiguration auf ein npm Modul zugreifen. Leider bleibt er jedesmal genau an dieser Stelle hängen. var require = "(npmmodul");

        Gruß Marco `
        Was für ein Modul?

        Bis jetzt haben wir versucht so wenig wie möglich dependencies reinzuziehen.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Marcolotti
          wrote on last edited by
          #4

          Hallo,

          es geht um das net-snmp Modul. Wenn der Discovery-Adapter läuft, ist ja in der Regel noch nichts installiert. Das Modul wird aber benötigt um die MIB abzufragen. Oder ich muss die Funktion selbst nochmal schreiben.

          Bei der Adapterkonfiguration würde ich ebenso gern auf diese net-snmp zugreifen.

          Wie läuft das bei beiden Situationen?

          Gruß Marco

          CCU2-CuxD&Cul868MHz, 44xHM Geräte, 20xMAX Fenstersensoren.Acer Revo mit IoBroker, Tablet Captiva 9,7 SFHD. SMA SB2.5,STP7000TL20,SMA Energy Meter, Echo, Harmony, JeeLink868, Arduino 433MHz, MaxtoxCUL868,MilightEasyLED,Hue

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Support us

          ioBroker
          Community Adapters
          Donate

          255

          Online

          32.4k

          Users

          81.3k

          Topics

          1.3m

          Posts
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
          ioBroker Community 2014-2025
          logo
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Unread 0
          • Categories
          • Unreplied
          • Popular
          • GitHub
          • Docu
          • Hilfe