Skip to content
  • Home
  • 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
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. English
  3. ioBroker general
  4. Automatic Instance Generation

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Automatic Instance Generation

Scheduled Pinned Locked Moved ioBroker general
5 Posts 3 Posters 843 Views 3 Watching
  • 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.
  • Jack 3J Offline
    Jack 3J Offline
    Jack 3
    wrote on last edited by
    #1

    I would like to be able to automatically generate an instance (or at most with 1 or 2 clicks) when I connect a new TCP device with a predetermined and known IP adress. Does anybody have any tips for this? I tried using the JavaScript adapter but I couldn't find any node modules which had this functionality. Thanks in advance.

    mcm1957M 1 Reply Last reply
    0
    • Jack 3J Jack 3

      I would like to be able to automatically generate an instance (or at most with 1 or 2 clicks) when I connect a new TCP device with a predetermined and known IP adress. Does anybody have any tips for this? I tried using the JavaScript adapter but I couldn't find any node modules which had this functionality. Thanks in advance.

      mcm1957M Online
      mcm1957M Online
      mcm1957
      wrote on last edited by
      #2

      @jack-3
      Which adapter do you refer to ? Normally only very few instances are created per adapter.

      Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
      Support Repositoryverwaltung.

      Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

      LESEN - gute Forenbeitrage

      1 Reply Last reply
      0
      • Jack 3J Offline
        Jack 3J Offline
        Jack 3
        wrote on last edited by
        #3

        @mcm1957 I mean the modbus adapter, the main point that I want to be able to do this for is so that I can update all of the instances at once if I need to make changes instead of having to manually go through each of the instances.

        OliverIOO mcm1957M 2 Replies Last reply
        0
        • Jack 3J Jack 3

          @mcm1957 I mean the modbus adapter, the main point that I want to be able to do this for is so that I can update all of the instances at once if I need to make changes instead of having to manually go through each of the instances.

          OliverIOO Offline
          OliverIOO Offline
          OliverIO
          wrote on last edited by OliverIO
          #4

          @jack-3

          If you want to change the instance configuration of an adapter you can change the object data of the datapoint

          system.adapter.<adaptername>.<instancenumber>

          You can find the configuration in this object in the native attribute
          To see this datapoint you have to enable the expert mode.
          I do not recommend to create or delete an instance programaticaly

          Meine Adapter und Widgets
          TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
          Links im Profil

          1 Reply Last reply
          0
          • Jack 3J Jack 3

            @mcm1957 I mean the modbus adapter, the main point that I want to be able to do this for is so that I can update all of the instances at once if I need to make changes instead of having to manually go through each of the instances.

            mcm1957M Online
            mcm1957M Online
            mcm1957
            wrote on last edited by
            #5

            @jack-3 said in Automatic Instance Generation:

            @mcm1957 I mean the modbus adapter, the main point that I want to be able to do this for is so that I can update all of the instances at once if I need to make changes instead of having to manually go through each of the instances.

            Why do you have multiple instances of modbus? Client or Server? I do not see the use case.

            And what MODBUS config needs to be changed at multiple instances?

            Anyway.
            As toll you can change the config of an existing instance by readibg and writing the native Part of the instance object

            Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
            Support Repositoryverwaltung.

            Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

            LESEN - gute Forenbeitrage

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


            Support us

            ioBroker
            Community Adapters
            Donate

            713

            Online

            32.5k

            Users

            81.7k

            Topics

            1.3m

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

            • Don't have an account? Register

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