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. Node-Red
  5. Auslesen Daten Stromzähler

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

Auslesen Daten Stromzähler

Scheduled Pinned Locked Moved Node-Red
24 Posts 3 Posters 1.8k Views 3 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.
  • mickymM mickym

    @marco121990 sagte in Auslesen Daten Stromzähler:

    Ja genau, dass ist das Problem - dass der Eigenschaftsname leer ist

    f191dc6c-757d-49fb-9b37-49bffe903c9a-image.png

    M Offline
    M Offline
    marco121990
    wrote on last edited by
    #21

    @mickym

    Das wird von tasmota anscheinend schon nicht übergeben oder?

    23:15:54.844 MQT: tele/tasmota_Stromzaehler/STATE = {"Time":"2023-04-24T23:15:54","Uptime":"1T00:46:50","UptimeSec":89210,"Heap":18,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"TP-Link","BSSId":"54:AF:97:D9:63:50","Channel":11,"Mode":"11n","RSSI":54,"Signal":-73,"LinkCount":1,"Downtime":"0T00:00:03"}}
    23:15:54.852 MQT: tele/tasmota_Stromzaehler/SENSOR = {"Time":"2023-04-24T23:15:54","":{"Total_in":21817.33,"Total_out":7.12,"Power_curr":514}}
    
    mickymM 1 Reply Last reply
    0
    • M marco121990

      @mickym

      Das wird von tasmota anscheinend schon nicht übergeben oder?

      23:15:54.844 MQT: tele/tasmota_Stromzaehler/STATE = {"Time":"2023-04-24T23:15:54","Uptime":"1T00:46:50","UptimeSec":89210,"Heap":18,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"TP-Link","BSSId":"54:AF:97:D9:63:50","Channel":11,"Mode":"11n","RSSI":54,"Signal":-73,"LinkCount":1,"Downtime":"0T00:00:03"}}
      23:15:54.852 MQT: tele/tasmota_Stromzaehler/SENSOR = {"Time":"2023-04-24T23:15:54","":{"Total_in":21817.33,"Total_out":7.12,"Power_curr":514}}
      
      mickymM Offline
      mickymM Offline
      mickym
      Most Active
      wrote on last edited by mickym
      #22

      @marco121990 Genau, das ist das Problem. ;) Du siehst beim State schaut es OK aus, aber ich habe eine Umgehungslösung.

      Ich glaube dass Du im Tasmota noch irgendwas einstellen musst, aber zumindest kann man das Objekt teilen

      Nimm den oberen Flow - der ist einfacher.

      Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

      M 1 Reply Last reply
      0
      • mickymM mickym

        @marco121990 Genau, das ist das Problem. ;) Du siehst beim State schaut es OK aus, aber ich habe eine Umgehungslösung.

        Ich glaube dass Du im Tasmota noch irgendwas einstellen musst, aber zumindest kann man das Objekt teilen

        Nimm den oberen Flow - der ist einfacher.

        M Offline
        M Offline
        marco121990
        wrote on last edited by
        #23

        @mickym

        Vielen Dank für deine Hilfe. Werde ich morgen nach der Arbeit mal testen.

        mickymM 1 Reply Last reply
        0
        • M marco121990

          @mickym

          Vielen Dank für deine Hilfe. Werde ich morgen nach der Arbeit mal testen.

          mickymM Offline
          mickymM Offline
          mickym
          Most Active
          wrote on last edited by mickym
          #24

          @marco121990 Wie gesagt bei steht bei den Sensor States als Eigenschaft ANALOG - das ist jedenfalls nicht normal.

          Mit JSONATA gehts auch. - Aber normal ist das halt nicht:

          55c8a9b2-a10d-4a43-9235-46e0c800633f-image.png

          [
             {
                 "id": "b4f8b97ff6ce20fd",
                 "type": "inject",
                 "z": "7e6af0015415146d",
                 "name": "",
                 "props": [
                     {
                         "p": "payload"
                     }
                 ],
                 "repeat": "",
                 "crontab": "",
                 "once": false,
                 "onceDelay": 0.1,
                 "topic": "",
                 "payload": "{\"Time\":\"2023-04-24T22:40:54\",\"\":{\"Total_in\":21816.99,\"Total_out\":7.12,\"Power_curr\":506}}",
                 "payloadType": "json",
                 "x": 170,
                 "y": 2520,
                 "wires": [
                     [
                         "727362f830c74cec",
                         "c44c1270e188d977",
                         "e75f702c254d372e"
                     ]
                 ]
             },
             {
                 "id": "65baf6533fb7d8a5",
                 "type": "debug",
                 "z": "7e6af0015415146d",
                 "name": "Einzelwerte",
                 "active": true,
                 "tosidebar": true,
                 "console": false,
                 "tostatus": false,
                 "complete": "payload",
                 "targetType": "msg",
                 "statusVal": "",
                 "statusType": "auto",
                 "x": 630,
                 "y": 2520,
                 "wires": []
             },
             {
                 "id": "727362f830c74cec",
                 "type": "change",
                 "z": "7e6af0015415146d",
                 "name": "",
                 "rules": [
                     {
                         "t": "set",
                         "p": "payload",
                         "pt": "msg",
                         "to": "payload.\"\".Total_in",
                         "tot": "jsonata"
                     }
                 ],
                 "action": "",
                 "property": "",
                 "from": "",
                 "to": "",
                 "reg": false,
                 "x": 410,
                 "y": 2480,
                 "wires": [
                     [
                         "65baf6533fb7d8a5"
                     ]
                 ]
             },
             {
                 "id": "c44c1270e188d977",
                 "type": "change",
                 "z": "7e6af0015415146d",
                 "name": "",
                 "rules": [
                     {
                         "t": "set",
                         "p": "payload",
                         "pt": "msg",
                         "to": "payload.\"\".Total_out",
                         "tot": "jsonata"
                     }
                 ],
                 "action": "",
                 "property": "",
                 "from": "",
                 "to": "",
                 "reg": false,
                 "x": 410,
                 "y": 2520,
                 "wires": [
                     [
                         "65baf6533fb7d8a5"
                     ]
                 ]
             },
             {
                 "id": "e75f702c254d372e",
                 "type": "change",
                 "z": "7e6af0015415146d",
                 "name": "",
                 "rules": [
                     {
                         "t": "set",
                         "p": "payload",
                         "pt": "msg",
                         "to": "payload.\"\".Power_curr",
                         "tot": "jsonata"
                     }
                 ],
                 "action": "",
                 "property": "",
                 "from": "",
                 "to": "",
                 "reg": false,
                 "x": 410,
                 "y": 2560,
                 "wires": [
                     [
                         "65baf6533fb7d8a5"
                     ]
                 ]
             }
          ]
          

          Vielleicht musst Du dem Stromzähler ein topic oder Namen geben - keine Ahnung - jedenfalls ist das in Tasmota schon schief.

          Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

          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

          656

          Online

          32.6k

          Users

          82.3k

          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