Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. JavaScript
  5. Javascript 0_userdata.0.xxx.als veränderbare Variable.01

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    851

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Javascript 0_userdata.0.xxx.als veränderbare Variable.01

Scheduled Pinned Locked Moved JavaScript
22 Posts 4 Posters 3.0k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Stefan W

    Das hatte ich auch schon versucht, da kommt dann immer "null" als Ergebnis.

    Blockly2.PNG

    Ergebnis.PNG

    paul53P Offline
    paul53P Offline
    paul53
    wrote on last edited by paul53
    #13

    @stefan-w sagte: da kommt dann immer "null" als Ergebnis.

    Die Datenpunkt-ID passt zu einem vorhandenen Datenpunkt, der auch einen Wert hat? Evtl. führende "0" beim Monat?

    Log passt nicht zum Skript: Im Skript "2022.3"; im Log "3.2022".

    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Stefan W
      wrote on last edited by
      #14

      Hatte das geändert, da ich Monat und Jahr vertauscht hatte.

      Blockly3.PNG

      Ergebnis1.PNG

      Variable1.PNG

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Stefan W
        wrote on last edited by
        #15

        Vielen lieben Dank. So geht es jetzt. :blush:

        Blockly4.PNG

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Stefan W
          wrote on last edited by
          #16

          Hallöchen,

          ich schon wieder :face_with_rolling_eyes:

          Kann mir einer sagen, warum ich aus diesem Link einen Wert erhalte

          0_userdata.0.Verbrauchswerte.Zaehlerstaende.Strom.Haus.
          

          23:31:54.387 info javascript.0 (1085) script.js.Energie.Haus.Verbrauch: 10618

          und aus diesem nicht

          0_userdata.0.Verbrauchswerte.Zaehlerstaende.Wasser.aussen.
          

          23:31:54.387 info javascript.0 (1085) script.js.Energie.Haus.Verbrauch: null

          Ich verstehe das nicht, warum der eine geht und der andere nicht :dizzy_face:

          Viele Grüße
          Stefan

          crunchipC 1 Reply Last reply
          0
          • S Stefan W

            Hallöchen,

            ich schon wieder :face_with_rolling_eyes:

            Kann mir einer sagen, warum ich aus diesem Link einen Wert erhalte

            0_userdata.0.Verbrauchswerte.Zaehlerstaende.Strom.Haus.
            

            23:31:54.387 info javascript.0 (1085) script.js.Energie.Haus.Verbrauch: 10618

            und aus diesem nicht

            0_userdata.0.Verbrauchswerte.Zaehlerstaende.Wasser.aussen.
            

            23:31:54.387 info javascript.0 (1085) script.js.Energie.Haus.Verbrauch: null

            Ich verstehe das nicht, warum der eine geht und der andere nicht :dizzy_face:

            Viele Grüße
            Stefan

            crunchipC Away
            crunchipC Away
            crunchip
            Forum Testing Most Active
            wrote on last edited by
            #17

            @stefan-w sagte in Javascript 0_userdata.0.xxx.als veränderbare Variable.01:

            warum der eine geht und der andere nicht

            freche Antwort: weil Wasser und nicht Strom:grin:

            umgestiegen von Proxmox auf Unraid

            S 1 Reply Last reply
            0
            • crunchipC crunchip

              @stefan-w sagte in Javascript 0_userdata.0.xxx.als veränderbare Variable.01:

              warum der eine geht und der andere nicht

              freche Antwort: weil Wasser und nicht Strom:grin:

              S Offline
              S Offline
              Stefan W
              wrote on last edited by
              #18

              @crunchip :stuck_out_tongue_winking_eye:

              crunchipC 1 Reply Last reply
              0
              • S Stefan W

                @crunchip :stuck_out_tongue_winking_eye:

                crunchipC Away
                crunchipC Away
                crunchip
                Forum Testing Most Active
                wrote on last edited by
                #19

                @stefan-w vergleich doch einfach die Datenpunkte

                umgestiegen von Proxmox auf Unraid

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Stefan W
                  wrote on last edited by
                  #20

                  Ich habe den Pfad aus Objekte kopiert, das kann nicht falsch sein.

                  crunchipC 1 Reply Last reply
                  0
                  • S Stefan W

                    Ich habe den Pfad aus Objekte kopiert, das kann nicht falsch sein.

                    crunchipC Away
                    crunchipC Away
                    crunchip
                    Forum Testing Most Active
                    wrote on last edited by
                    #21

                    @stefan-w den Datenpunkt selbst, nicht den Pfad

                    umgestiegen von Proxmox auf Unraid

                    S 1 Reply Last reply
                    0
                    • crunchipC crunchip

                      @stefan-w den Datenpunkt selbst, nicht den Pfad

                      S Offline
                      S Offline
                      Stefan W
                      wrote on last edited by
                      #22

                      @crunchip wie meinst du das?

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      605

                      Online

                      32.6k

                      Users

                      82.1k

                      Topics

                      1.3m

                      Posts
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Home
                      • Recent
                      • Tags
                      • Unread 0
                      • Categories
                      • Unreplied
                      • Popular
                      • GitHub
                      • Docu
                      • Hilfe