Help fix a broken node?

#1

Hi,

I'm trying to use this node:

It looks like the project was going well enough but has been abandoned.

I installed it following the instructions on the github link. But it kind of broke my node-red install. Specifically, it deleted every connection line on every tab of my deployment. I deleted all my tabs and imported from a backup and everything still works.

The following nodes were added to my installation:

image

The only node I can drag to the tab is the "neviweb gateway" node. The others, nothing happens when I try to drag them in, they just don't appear. So here is the flow:

[
    {
        "id": "edc924a8.359d08",
        "type": "inject",
        "z": "2fce32f2.b86ece",
        "name": "Home Mode",
        "topic": "0",
        "payload": "",
        "payloadType": "date",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 270,
        "y": 120,
        "wires": [
            [
                "c3fee2c9.c3829"
            ]
        ]
    },
    {
        "id": "32aabd15.04aee2",
        "type": "inject",
        "z": "2fce32f2.b86ece",
        "name": "Away Mode",
        "topic": "2",
        "payload": "",
        "payloadType": "date",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 270,
        "y": 180,
        "wires": [
            [
                "c3fee2c9.c3829"
            ]
        ]
    },
    {
        "id": "c3fee2c9.c3829",
        "type": "change",
        "z": "2fce32f2.b86ece",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "gateway",
                "pt": "msg",
                "to": "11243",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 550,
        "y": 140,
        "wires": [
            [
                "id"
            ]
        ]
    },
    {
        "id": "id",
        "type": "neviweb-gateway",
        "z": "2fce32f2.b86ece",
        "name": "",
        "account": "f862a862.af3dd8",
        "mode": "SET",
        "info": "payload",
        "x": 810,
        "y": 140,
        "wires": [
            [
                "a11a8fd6.076ff"
            ],
            [
                "4064ca0.8313238"
            ]
        ]
    },
    {
        "id": "a11a8fd6.076ff",
        "type": "debug",
        "z": "2fce32f2.b86ece",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "x": 1070,
        "y": 100,
        "wires": []
    },
    {
        "id": "4064ca0.8313238",
        "type": "debug",
        "z": "2fce32f2.b86ece",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "payload",
        "x": 1070,
        "y": 240,
        "wires": []
    },
    {
        "id": "f862a862.af3dd8",
        "type": "neviweb-account",
        "z": "",
        "url": "https://neviweb.com/api/",
        "name": "MT"
    }
]

This works! I can put the neviweb gateway in "Home" or "Away" modes reliably by injecting the 0 or 2 as the msg.topic

I would really like the other nodes to work. Any clues where things are going wrong in the github repo?

0 Likes