Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Hilfe mit JSON-Auswertung

    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

    Hilfe mit JSON-Auswertung

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

      Hallo zusammen,

      Ich bin ein JSON-Dummy und brauche mal eure Hilfe. Ich habe dieses JSON hier:

      {
        "mon": [
          {
            "start": "06:00",
            "end": "22:00",
            "mode": "normal",
            "position": 0
          }
        ],
        "tue": [
          {
            "start": "06:00",
            "end": "22:00",
            "mode": "normal",
            "position": 0
          }
        ],
        "wed": [
          {
            "start": "06:00",
            "end": "22:00",
            "mode": "normal",
            "position": 0
          }
        ],
        "thu": [
          {
            "start": "06:00",
            "end": "22:00",
            "mode": "normal",
            "position": 0
          }
        ],
        "fri": [
          {
            "start": "06:00",
            "end": "22:00",
            "mode": "normal",
            "position": 0
          }
        ],
        "sat": [
          {
            "start": "07:00",
            "end": "22:00",
            "mode": "normal",
            "position": 0
          }
        ],
        "sun": [
          {
            "start": "07:00",
            "end": "22:00",
            "mode": "normal",
            "position": 0
          }
        ]
      }
      

      Ich möchte wissen, ob die aktuelle Zeit innerhalb von start/end für den aktuellen Tag liegt. Das geht vermutlich ganz einfach, aber ich habe leider keine Ahnung von JSON-Verarbeitung...

      Kann mir da jemand helfen? Danke schon mal im Voraus.

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

        @guitardoc sagte: ob die aktuelle Zeit innerhalb von start/end für den aktuellen Tag liegt.

        Blockly_temp.JPG

        G 1 Reply Last reply Reply Quote 1
        • G
          guitardoc @paul53 last edited by

          @paul53 Ich wusste, dass es ganz einfach ist... 🙂 Danke für die Hilfe!

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

          Support us

          ioBroker
          Community Adapters
          Donate

          752
          Online

          31.9k
          Users

          80.2k
          Topics

          1.3m
          Posts

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