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. Visualization
  4. Variable resistant to shutdown iobroker ?

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.3k

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

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

Variable resistant to shutdown iobroker ?

Scheduled Pinned Locked Moved Visualization
3 Posts 2 Posters 667 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
    mguc
    wrote on last edited by
    #1

    My problem looks like this:
    I want to create two variables whose values ​​I will set from e.g. vis. This means, for example, setting the time "from - to".
    I can create variables in the iobroker tree. It's not a problem.
    But how to ensure that the values ​​entered there do not reset to zero after restarting the computer?

    HomoranH 1 Reply Last reply
    0
    • M mguc

      My problem looks like this:
      I want to create two variables whose values ​​I will set from e.g. vis. This means, for example, setting the time "from - to".
      I can create variables in the iobroker tree. It's not a problem.
      But how to ensure that the values ​​entered there do not reset to zero after restarting the computer?

      HomoranH Do not disturb
      HomoranH Do not disturb
      Homoran
      Global Moderator Administrators
      wrote on last edited by
      #2

      @mguc sagte in Variable resistant to shutdown iobroker ?:

      I can create variables in the iobroker tree.

      sure that you mean variables? and not states?
      variables in scripts will forget their values if the script is stopped.

      Values of states will be kept "forever"

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      M 1 Reply Last reply
      0
      • HomoranH Homoran

        @mguc sagte in Variable resistant to shutdown iobroker ?:

        I can create variables in the iobroker tree.

        sure that you mean variables? and not states?
        variables in scripts will forget their values if the script is stopped.

        Values of states will be kept "forever"

        M Offline
        M Offline
        mguc
        wrote on last edited by
        #3

        @homoran
        It actually works. After restarting the server (tests), all manually set values ​​are the same.
        Thank you.
        test.jpg

        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

        680

        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