Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. Objekte benennen

    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

    Objekte benennen

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

      Hallo
      Ich habe ein Javascript erstellt welches die Vorraussage der Stündlichen
      PV Ertragswerte ausgiebt.
      Ich bin nun am überlegen wie ich die Objekte benenne.

      javascript.0 script.js.common.Read_Forecast_Solar: { "result": { "2019-04-01 06:51:00": 0, "2019-04-01 07:11:00": 40, "2019-04-01 07:30:00": 268, "2019-04-01 08:00:00": 564, "2019-04-01 09:00:00": 1440, "2019-04-01 10:00:00": 2412, "2019-04-01 11:00:00": 3228, "2019-04-01 12:00:00": 3420, "2019-04-01 13:00:00": 3520, "2019-04-01 14:00:00": 3244, "2019-04-01 15:00:00": 2576, "2019-04-01 16:00:00": 1788, "2019-04-01 17:00:00": 964, "2019-04-01 18:00:00": 324, "2019-04-01 19:03:00": 48, "2019-04-01 20:05:00": 0, "2019-04-02 06:48:00": 0, "2019-04-02 07:09:00": 36, "2019-04-02 07:30:00": 264, "2019-04-02 08:00:00": 540, "2019-04-02 09:00:00": 1352, "2019-04-02 10:00:00": 2248, "2019-04-02 11:00:00": 3000, "2019-04-02 12:00:00": 3436, "2019-04-02 13:00:00": 3552, "2019-04-02 14:00:00": 3276, "2019-04-02 15:00:00": 2644, "2019-04-02 16:00:00": 1852, "2019-04-02 17:00:00": 1004, "2019-04-02 18:00:00": 336, "2019-04-02 19:04:00": 48, "2019-04-02 20:07:00": 0 }, "message": { "code": 0, "type": "success", "text": "", "info": { "place": "31675 B\u00fcckeburg Cammer, Schaumburg, Niedersachsen, DE", "distance": 0, "pid": "z2pf9u49" }, "ratelimit": { "limit": 12, "remaining": 11 } } }
      

      Ein Objekt sieht dann so aus ```

      "2019-04-01 13:00:00": 3520
      

      Ewtl. So
      Heute 13
      Heute 14
      Heute 15
      und
      Morgen 13
      Morgen 14
      Morgen 15
      Wer hat andere Vorschläge?
      Gruß NetFritz

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

        cc6325a0-df59-4f2a-b369-77245f922e15-image.png

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

        Support us

        ioBroker
        Community Adapters
        Donate

        418
        Online

        31.9k
        Users

        80.1k
        Topics

        1.3m
        Posts

        2
        2
        184
        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