Skip to content

Udpate ‐ 更新

Monkey • D • Code edited this page Sep 12, 2023 · 1 revision
[
    {
        "id": "ebe1596747ed226f",
        "type": "tab",
        "label": "Update",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "1fbe587c7c9ae39b",
        "type": "ha-mqtt-update",
        "z": "ebe1596747ed226f",
        "server": "2a52200708303a64",
        "device": "42d6f2a7a999a723",
        "name": "Update",
        "config": "",
        "x": 380,
        "y": 160,
        "wires": [
            [
                "157239ce51f3dba9"
            ]
        ]
    },
    {
        "id": "ad09ccf023699b69",
        "type": "inject",
        "z": "ebe1596747ed226f",
        "name": "",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "{\"installed_version\":\"1.21.0\",\"latest_version\":\"1.22.0\",\"title\":\"Home Assistant\",\"release_url\":\"https://github.com/home-assistant/core/releases\",\"release_summary\":\"A new version of home assistant\",\"entity_picture\":\"https://www.home-assistant.io/images/favicon-192x192.png\"}",
        "payloadType": "json",
        "x": 150,
        "y": 160,
        "wires": [
            [
                "1fbe587c7c9ae39b"
            ]
        ]
    },
    {
        "id": "157239ce51f3dba9",
        "type": "debug",
        "z": "ebe1596747ed226f",
        "name": "debug 2",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 600,
        "y": 160,
        "wires": []
    },
    {
        "id": "2a52200708303a64",
        "type": "mqtt-broker",
        "name": "",
        "broker": "localhost",
        "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": ""
    },
    {
        "id": "42d6f2a7a999a723",
        "type": "ha-mqtt-device",
        "name": "测试设备",
        "config": ""
    }
]