Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. English
  3. ioBroker general
  4. What is the best way to keep custom constants/vars in iob?

NEWS

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

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

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

What is the best way to keep custom constants/vars in iob?

Geplant Angeheftet Gesperrt Verschoben ioBroker general
10 Beiträge 6 Kommentatoren 1.2k Aufrufe 6 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • PutnikP Offline
    PutnikP Offline
    Putnik
    schrieb am zuletzt editiert von
    #1

    What is the best practice to set and keep some custom values for general and specific use in js or elsewhere?

    For example
    if I need to define general light down time "22:00", where should I place it? In Object tree, if yes, where?
    Or similar case - power of ventilation: "70%" ... ?

    It would be good, that these values could be accessible from any place.

    geschildG 2 Antworten Letzte Antwort
    0
    • PutnikP Putnik

      What is the best practice to set and keep some custom values for general and specific use in js or elsewhere?

      For example
      if I need to define general light down time "22:00", where should I place it? In Object tree, if yes, where?
      Or similar case - power of ventilation: "70%" ... ?

      It would be good, that these values could be accessible from any place.

      geschildG Online
      geschildG Online
      geschild
      schrieb am zuletzt editiert von
      #2

      @putnik Im Ordner "userdata_0".

      1 Antwort Letzte Antwort
      0
      • mickymM Online
        mickymM Online
        mickym
        Most Active
        schrieb am zuletzt editiert von mickym
        #3

        In Object tree, if yes, where?

        0_userdata.0

        Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

        PutnikP 1 Antwort Letzte Antwort
        1
        • mickymM mickym

          In Object tree, if yes, where?

          0_userdata.0

          PutnikP Offline
          PutnikP Offline
          Putnik
          schrieb am zuletzt editiert von Putnik
          #4

          @mickym
          Thank all of you, who answered!

          Could you clarify, what does "_0" mean in "userdata_0"?

          DJMarc75D 1 Antwort Letzte Antwort
          0
          • PutnikP Putnik

            @mickym
            Thank all of you, who answered!

            Could you clarify, what does "_0" mean in "userdata_0"?

            DJMarc75D Online
            DJMarc75D Online
            DJMarc75
            schrieb am zuletzt editiert von DJMarc75
            #5

            @putnik sagte in What is the best way to keep custom constants/vars in iob?:

            Could you clarify, what does "_0" mean in "userdata_0"?

            maybe it was a mistake:

            0_userdata.0
            

            is the right folder like @mickym commented

            Lehrling seit 1975 !!!
            Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
            https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

            A 1 Antwort Letzte Antwort
            0
            • DJMarc75D DJMarc75

              @putnik sagte in What is the best way to keep custom constants/vars in iob?:

              Could you clarify, what does "_0" mean in "userdata_0"?

              maybe it was a mistake:

              0_userdata.0
              

              is the right folder like @mickym commented

              A Online
              A Online
              Ahnungsbefreit
              schrieb am zuletzt editiert von
              #6

              @djmarc75 said in What is the best way to keep custom constants/vars in iob?:

              0_userdata.0

              is the right folder like @mickym commented

              ...and the leading "0_" ist just to ensure this folder always appears on top of the list in the "objects" tab

              Wenn meine Antwort hilfreich war, dürft Ihr das gerne durch einen "Upvote" (der kleine "^" unten rechts) zum Ausdruck bringen.

              PutnikP 1 Antwort Letzte Antwort
              1
              • A Ahnungsbefreit

                @djmarc75 said in What is the best way to keep custom constants/vars in iob?:

                0_userdata.0

                is the right folder like @mickym commented

                ...and the leading "0_" ist just to ensure this folder always appears on top of the list in the "objects" tab

                PutnikP Offline
                PutnikP Offline
                Putnik
                schrieb am zuletzt editiert von
                #7

                @ahnungsbefreit
                THX!!!
                :slightly_smiling_face:

                1 Antwort Letzte Antwort
                0
                • PutnikP Putnik

                  What is the best practice to set and keep some custom values for general and specific use in js or elsewhere?

                  For example
                  if I need to define general light down time "22:00", where should I place it? In Object tree, if yes, where?
                  Or similar case - power of ventilation: "70%" ... ?

                  It would be good, that these values could be accessible from any place.

                  geschildG Online
                  geschildG Online
                  geschild
                  schrieb am zuletzt editiert von geschild
                  #8

                  @putnik Ich bitte den Tippfehler zu entschuldigen. Sorry.:disappointed_relieved:

                  1 Antwort Letzte Antwort
                  0
                  • mcm1957M Online
                    mcm1957M Online
                    mcm1957
                    schrieb am zuletzt editiert von
                    #9

                    @geschild said in What is the best way to keep custom constants/vars in iob?:

                    @putnik Ich bitte den Tippfehler zu entschuldigen. Sorry.:disappointed_relieved:

                    Please use english wording at english section.
                    Thanks for helping!

                    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

                    geschildG 1 Antwort Letzte Antwort
                    0
                    • mcm1957M mcm1957

                      @geschild said in What is the best way to keep custom constants/vars in iob?:

                      @putnik Ich bitte den Tippfehler zu entschuldigen. Sorry.:disappointed_relieved:

                      Please use english wording at english section.
                      Thanks for helping!

                      geschildG Online
                      geschildG Online
                      geschild
                      schrieb am zuletzt editiert von
                      #10

                      @mcm57 I apologize for the typo. (Translated with google)

                      1 Antwort Letzte Antwort
                      0
                      Antworten
                      • In einem neuen Thema antworten
                      Anmelden zum Antworten
                      • Älteste zuerst
                      • Neuste zuerst
                      • Meiste Stimmen


                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      603

                      Online

                      32.4k

                      Benutzer

                      81.4k

                      Themen

                      1.3m

                      Beiträge
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Anmelden

                      • Du hast noch kein Konto? Registrieren

                      • Anmelden oder registrieren, um zu suchen
                      • Erster Beitrag
                        Letzter Beitrag
                      0
                      • Home
                      • Aktuell
                      • Tags
                      • Ungelesen 0
                      • Kategorien
                      • Unreplied
                      • Beliebt
                      • GitHub
                      • Docu
                      • Hilfe