Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flow stops when clicking Inject node #15

Closed
colinl opened this issue Feb 9, 2023 · 1 comment
Closed

Flow stops when clicking Inject node #15

colinl opened this issue Feb 9, 2023 · 1 comment

Comments

@colinl
Copy link

colinl commented Feb 9, 2023

With the attached flow, the MQTT passthrough and 5 second automatic Inject work as expected.
However, if the Inject button is clicked the target machine stops (the MQTT passthrough stops).
Clicking Reconnect to xsbug springs it back into life.

Target is a Wemos D1 Mini configured as ESP8266, esp/nodemcu, running the plugin installed from github #0ee07c58f52a52f67ea138922036805eae751371.

[
    {
        "id": "f92bb64b93bfc46e",
        "type": "tab",
        "label": "mcu test",
        "disabled": false,
        "info": "",
        "env": [],
        "_mcu": {
            "mcu": true
        }
    },
    {
        "id": "a74a29ab51318a3a",
        "type": "inject",
        "z": "f92bb64b93bfc46e",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "5",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "_mcu": {
            "mcu": true
        },
        "x": 170,
        "y": 140,
        "wires": [
            [
                "9db682e1f6a487a8",
                "f14b4b75a7ce1df3"
            ]
        ]
    },
    {
        "id": "9db682e1f6a487a8",
        "type": "debug",
        "z": "f92bb64b93bfc46e",
        "name": "debug 80",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "_mcu": {
            "mcu": true
        },
        "x": 370,
        "y": 200,
        "wires": []
    },
    {
        "id": "70920b18af6624ae",
        "type": "mqtt in",
        "z": "f92bb64b93bfc46e",
        "name": "",
        "topic": "tydwr/pi006/#",
        "qos": "0",
        "datatype": "auto-detect",
        "broker": "75fb29423f8a0770",
        "nl": false,
        "rap": true,
        "rh": 0,
        "inputs": 0,
        "_mcu": {
            "mcu": true
        },
        "x": 150,
        "y": 300,
        "wires": [
            [
                "f14b4b75a7ce1df3"
            ]
        ]
    },
    {
        "id": "6d9adcf8cdc36b27",
        "type": "debug",
        "z": "f92bb64b93bfc46e",
        "name": "debug 81",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "_mcu": {
            "mcu": true
        },
        "x": 440,
        "y": 300,
        "wires": []
    },
    {
        "id": "f14b4b75a7ce1df3",
        "type": "mqtt out",
        "z": "f92bb64b93bfc46e",
        "name": "",
        "topic": "test/mcu",
        "qos": "",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "75fb29423f8a0770",
        "_mcu": {
            "mcu": true
        },
        "x": 400,
        "y": 100,
        "wires": []
    },
    {
        "id": "75fb29423f8a0770",
        "type": "mqtt-broker",
        "name": "Owl2 for mcu",
        "broker": "192.168.11.83",
        "port": "1883",
        "clientid": "",
        "autoConnect": true,
        "usetls": false,
        "protocolVersion": "4",
        "keepalive": "60",
        "cleansession": true,
        "birthTopic": "",
        "birthQos": "0",
        "birthPayload": "",
        "birthMsg": {},
        "closeTopic": "",
        "closeQos": "0",
        "closePayload": "",
        "closeMsg": {},
        "willTopic": "",
        "willQos": "0",
        "willPayload": "",
        "willMsg": {},
        "userProps": "",
        "sessionExpiry": "",
        "_mcu": {
            "mcu": false
        }
    }
]
@colinl
Copy link
Author

colinl commented Feb 14, 2023

Fixed in git version.

@colinl colinl closed this as completed Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant