Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [solved] Simples Skript als Tageszähler

    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

    [solved] Simples Skript als Tageszähler

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

      Hallo zusammen,

      ich möchte einen simplen Tageszähler aufbauen und habe es folgendermaßen in Blockly versucht (siehe Anhang).

      Die dazu angelegt Variable "day_counter_01" zählt allerdings nicht hoch sondern geht nur auf "true".

      Wie bzw. wo muss ich die Variable als Zähler konfigurieren?

      Ich habe mehrfach gelesen, dass man Datenpunkte dazu anlegen muss, finde aber keine Anleitung dazu.

      Kann mir jemand einen Tipp geben?

      Danke!

      Grüße

      Josh
      5929_blockly04.jpg

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

        @macjoshua:

        Datenpunkte dazu anlegen muss, finde aber keine Anleitung dazu. `
        Nach http://www.iobroker.net/docu/?page_id=5495&lang=de#6hinzufuegen unter javascript.0 einen Datenpunkt vom Datenpunkttyp "Zahl" anlegen.

        1 Reply Last reply Reply Quote 0
        • M
          macjoshua last edited by

          Danke, dass habe ich mittels Anleitung jetzt soweit hin bekommen. Leider kann ich das neue Objekt nicht in die obige "Erhöhe um…" Funktion einfügen.

          Gibt es eine andere Lösung?

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

            @macjoshua:

            Gibt es eine andere Lösung? `
            493_blockly_daycounter.jpg

            1 Reply Last reply Reply Quote 0
            • M
              macjoshua last edited by

              Funktioniert! Danke, jetzt habe ich viel gelernt! 🙂

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

              Support us

              ioBroker
              Community Adapters
              Donate

              790
              Online

              31.7k
              Users

              79.8k
              Topics

              1.3m
              Posts

              2
              5
              781
              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