Issue reading Tasmota power sensor

Hey All.
I'm using the generic tasmota node to receive power consumption data from a CloudFree P2 power plug. However I'm getting an error message

On the tasmota console I see the values I'm looking for on the topic
"tele/dcPower/SENSOR"

However when this message is received by node red I get the following error.
"Invalid payload received for raw tasmota commands"

How can I set this up properly?
Thanks
Rich

[
    {
        "id": "d9f7b04c97a810b3",
        "type": "inject",
        "z": "e620cc7c9fe4ff1c",
        "name": "",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "5",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 110,
        "y": 220,
        "wires": [
            [
                "e2db2758b650aca1"
            ]
        ]
    },
    {
        "id": "e2db2758b650aca1",
        "type": "Tasmota Generic",
        "z": "e620cc7c9fe4ff1c",
        "broker": "f627f7eebdf01372",
        "device": "dcPower",
        "name": "",
        "outputs": 1,
        "uidisabler": false,
        "fullTopic": "",
        "cmndPrefix": "",
        "statPrefix": "",
        "telePrefix": "",
        "qos": 1,
        "retain": false,
        "subscribeToStat": false,
        "subscribeToTele": true,
        "x": 240,
        "y": 280,
        "wires": [
            [
                "3815599c2d0dba1f"
            ]
        ]
    },
    {
        "id": "3815599c2d0dba1f",
        "type": "json",
        "z": "e620cc7c9fe4ff1c",
        "name": "",
        "property": "payload",
        "action": "obj",
        "pretty": true,
        "x": 390,
        "y": 280,
        "wires": [
            [
                "fa0930c40c3f2b5a",
                "aa871b861d2bb4b2",
                "48ddf82f7ed81abe"
            ]
        ]
    },
    {
        "id": "fa0930c40c3f2b5a",
        "type": "change",
        "z": "e620cc7c9fe4ff1c",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.ENERGY.Power",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 562,
        "y": 245.000018119812,
        "wires": [
            [
                "212e028fa6b482e0",
                "25493f978533d871",
                "548840afeb91526b",
                "8dfb171d05ece8a0",
                "b6668680b4bb8827",
                "3f5d3c10f66b08d5"
            ]
        ]
    },
    {
        "id": "b6668680b4bb8827",
        "type": "debug",
        "z": "e620cc7c9fe4ff1c",
        "name": "debug 178",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 570,
        "y": 160,
        "wires": []
    },
    {
        "id": "f627f7eebdf01372",
        "type": "tasmota-mqtt-broker",
        "name": "",
        "broker": "192.168.1.154",
        "port": "1883",
        "clientid": "",
        "usetls": false,
        "keepalive": "60",
        "cleansession": true
    }
]

There seem to be two different "generic tasmota" nodes listed at flows.nodered.org.
There is a reported issue on github for one of them that it does not work on Node-red 3.1.

If you had a more conventional setup with Mosquitto (or even Aedes) I'd say use an Mqtt-in node to subscribe to tele/dcPower/SENSOR and show us the result.

Yep, this is what I wound up doing. Works great!

Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.