Sending a msg.reset

Hi,
I'm trying to send a reset to a shiftregister node. The docs state that I need to send/set a msg.reset but it doesn't work.
Where's my error?
TIA

[
    {
        "id": "7fa393fdc39736c7",
        "type": "shift register",
        "z": "80a6d81ce6b76e0a",
        "name": "",
        "topic": "test",
        "outputs": 8,
        "output": "2",
        "init": false,
        "x": 360,
        "y": 1240,
        "wires": [
            [],
            [],
            [],
            [],
            [],
            [],
            [],
            []
        ]
    },
    {
        "id": "f26b0eb6f96d506d",
        "type": "inject",
        "z": "80a6d81ce6b76e0a",
        "name": "Pulse",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "true",
        "payloadType": "bool",
        "x": 120,
        "y": 1240,
        "wires": [
            [
                "7fa393fdc39736c7"
            ]
        ]
    },
    {
        "id": "b55c05e6ed4761e4",
        "type": "debug",
        "z": "80a6d81ce6b76e0a",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 350,
        "y": 1360,
        "wires": []
    },
    {
        "id": "63a6e055715373ef",
        "type": "inject",
        "z": "80a6d81ce6b76e0a",
        "name": "reset",
        "props": [
            {
                "p": "set",
                "v": "reset",
                "vt": "msg"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 120,
        "y": 1300,
        "wires": [
            [
                "7fa393fdc39736c7",
                "b55c05e6ed4761e4"
            ]
        ]
    }
]

You are sending msg.set not msg.reset

[{"id":"f26b0eb6f96d506d","type":"inject","z":"c791cbc0.84f648","name":"Pulse","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":160,"y":560,"wires":[["7fa393fdc39736c7"]]},{"id":"7fa393fdc39736c7","type":"shift register","z":"c791cbc0.84f648","name":"","topic":"test","outputs":8,"output":"2","init":false,"x":400,"y":560,"wires":[[],[],[],[],[],[],[],[]]},{"id":"63a6e055715373ef","type":"inject","z":"c791cbc0.84f648","name":"reset","props":[{"p":"reset","v":"true","vt":"bool"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":160,"y":620,"wires":[["7fa393fdc39736c7","b55c05e6ed4761e4"]]},{"id":"b55c05e6ed4761e4","type":"debug","z":"c791cbc0.84f648","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":390,"y":680,"wires":[]}]
1 Like

I see, said the blind.
Thank you!

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