Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Zahlvariable erhöhen

    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

    Zahlvariable erhöhen

    This topic has been deleted. Only users with topic management privileges can see it.
    • paul53
      paul53 @lars148 last edited by

      @lars148 sagte: Das ist die Variable

      Bitte für Objekte vom Typ "state" den Begriff "Datenpunkt" verwenden, da sonst leicht eine Verwechslung mit Skript-Variablen möglich ist.

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

        @lars148 sagte in Zahlvariable erhöhen:

        Das ist die Variable mit der ich arbeiten will

        Das ist keine Variable sondern ein Datenpunkt.
        Variable befinden sich innerhalb von Skripten.
        Der Wert des Datenpunktes überlebt auch einen Neustart des Skriptes

        L 1 Reply Last reply Reply Quote 0
        • L
          lars148 @Homoran last edited by

          @homoran Danke für den Hinweis und ja Sie soll auch einen Neustart überleben.
          Ich hab mir das ungefähr so gedacht:

          4fde8761-773e-411a-a652-5b5c3df6f0ba-grafik.png
          Nur wie ändere das?

          Homoran paul53 2 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @lars148 last edited by

            @lars148 sagte in Zahlvariable erhöhen:

            Nur wie ändere das?

            @paul53 hat es doch gepostet

            L 1 Reply Last reply Reply Quote 0
            • L
              lars148 @Homoran last edited by

              @homoran sorry stand auf der Leitung

              läuft.

              Danke
              Lars

              1 Reply Last reply Reply Quote 0
              • paul53
                paul53 @lars148 last edited by

                @lars148 sagte: Nur wie ändere das?

                Bild_2022-07-18_215635041.png

                L 1 Reply Last reply Reply Quote 0
                • L
                  lars148 @paul53 last edited by

                  @paul53 483a704e-aabd-4785-92bc-c42092e9df29-grafik.png

                  paul53 1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 @lars148 last edited by

                    @lars148

                    Siehe meinen Post davor.

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      lars148 @paul53 last edited by

                      @paul53 ja gesehen und ist schlanker.
                      super.
                      Vielen Dank

                      Lars

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

                        @lars148 sagte in Zahlvariable erhöhen:

                        ist schlanker.

                        nicht nur das.
                        ich würde die Variable beim Skriptstart nicht mit 0 befüllen, sondern mit dem zuletzt geschriebenen Wert.
                        Sonst verlierst du deine Reihe falls das Skript aus irgendeinem Grund neu startet

                        L 1 Reply Last reply Reply Quote 0
                        • L
                          lars148 @Homoran last edited by

                          @homoran
                          richtig deshalb schon bei mir geändert

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          493
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          3
                          15
                          544
                          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