Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. Tasmota Status per HTTP get

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Tasmota Status per HTTP get

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      csh-de last edited by

      Hallo,

      wenn ich im Browser zb: http://192.168.178.142/cm?cmnd=status 10 eingebe kommt:

      {"StatusSNS":{"Time":"2023-09-16T15:15:57","ENERGY":{"TotalStartTime":"2023-08-05T18:04:21","Total":25.429,"Yesterday":0.000,"Today":0.037,"Power":89,"ApparentPower":89,"ReactivePower":0,"Factor":1.00,"Voltage":249,"Current":0.358}}}
      

      ich schaffe es aber nicht in Red Node abzurufen.

      [
          {
              "id": "9a43fef011b0ad4f",
              "type": "tab",
              "label": "Flow 1",
              "disabled": false,
              "info": "",
              "env": []
          },
          {
              "id": "fc04f069131f9d7c",
              "type": "inject",
              "z": "9a43fef011b0ad4f",
              "name": "",
              "props": [
                  {
                      "p": "payload"
                  }
              ],
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "topic": "",
              "payload": "{\"cmnd\":\"status%2010\"}",
              "payloadType": "json",
              "x": 220,
              "y": 240,
              "wires": [
                  [
                      "2d7ed60db535f6cc"
                  ]
              ]
          },
          {
              "id": "2d7ed60db535f6cc",
              "type": "http request",
              "z": "9a43fef011b0ad4f",
              "name": "TasmotaSteckdose",
              "method": "GET",
              "ret": "txt",
              "paytoqs": "query",
              "url": "http://192.168.178.142/cm?",
              "tls": "",
              "persist": false,
              "proxy": "",
              "insecureHTTPParser": false,
              "authType": "",
              "senderr": false,
              "headers": [],
              "x": 470,
              "y": 240,
              "wires": [
                  [
                      "369334a92691a70f"
                  ]
              ]
          },
          {
              "id": "369334a92691a70f",
              "type": "debug",
              "z": "9a43fef011b0ad4f",
              "name": "debug 87",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "false",
              "statusVal": "",
              "statusType": "auto",
              "x": 680,
              "y": 240,
              "wires": []
          }
      ]
      

      Wenn ich es so mache kommt die Antwort für http://192.168.178.142/cm?cmnd=status als würde er das %2010 nicht mit anhängen, wo könnte der Fehler sein?

      C 1 Reply Last reply Reply Quote 0
      • C
        csh-de @csh-de last edited by

        @csh-de

        Fehler erkannt... {"cmnd":"status 10"} muss es sein... also so:

        [
            {
                "id": "9a43fef011b0ad4f",
                "type": "tab",
                "label": "Flow 1",
                "disabled": false,
                "info": "",
                "env": []
            },
            {
                "id": "fc04f069131f9d7c",
                "type": "inject",
                "z": "9a43fef011b0ad4f",
                "name": "",
                "props": [
                    {
                        "p": "payload"
                    }
                ],
                "repeat": "",
                "crontab": "",
                "once": false,
                "onceDelay": 0.1,
                "topic": "",
                "payload": "{\"cmnd\":\"status 10\"}",
                "payloadType": "json",
                "x": 210,
                "y": 240,
                "wires": [
                    [
                        "2d7ed60db535f6cc"
                    ]
                ]
            },
            {
                "id": "2d7ed60db535f6cc",
                "type": "http request",
                "z": "9a43fef011b0ad4f",
                "name": "TasmotaSteckdose",
                "method": "GET",
                "ret": "txt",
                "paytoqs": "query",
                "url": "http://192.168.178.142/cm?",
                "tls": "",
                "persist": false,
                "proxy": "",
                "insecureHTTPParser": false,
                "authType": "",
                "senderr": false,
                "headers": [],
                "x": 470,
                "y": 240,
                "wires": [
                    [
                        "369334a92691a70f"
                    ]
                ]
            },
            {
                "id": "369334a92691a70f",
                "type": "debug",
                "z": "9a43fef011b0ad4f",
                "name": "debug 87",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "false",
                "statusVal": "",
                "statusType": "auto",
                "x": 680,
                "y": 240,
                "wires": []
            }
        ]
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Support us

        ioBroker
        Community Adapters
        Donate

        1.1k
        Online

        31.7k
        Users

        79.7k
        Topics

        1.3m
        Posts

        1
        2
        2202
        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