Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. English
    3. Visualization
    4. Variable resistant to shutdown iobroker ?

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Variable resistant to shutdown iobroker ?

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

      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?

      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @mguc last edited by

        @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 1 Reply Last reply Reply Quote 0
        • M
          mguc @Homoran last edited by

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

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

          Support us

          ioBroker
          Community Adapters
          Donate

          754
          Online

          31.8k
          Users

          80.0k
          Topics

          1.3m
          Posts

          2
          3
          387
          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