Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. Adapter Konfiguration - NPM Modul laden

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Adapter Konfiguration - NPM Modul laden

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Marcolotti last edited by

      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

      1 Reply Last reply Reply Quote 0
      • AlCalzone
        AlCalzone Developer last edited by

        korrekt wäre

        var modul = require("npmmodul");
        

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

        var modul = require("npmmodul").irgendwas;
        
        1 Reply Last reply Reply Quote 0
        • Bluefox
          Bluefox last edited by

          @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 Reply Quote 0
          • M
            Marcolotti last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            758
            Online

            31.7k
            Users

            79.8k
            Topics

            1.3m
            Posts

            3
            4
            720
            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