Skip to content

Image ‐ 图像

Monkey • D • Code edited this page Sep 12, 2023 · 1 revision
[
    {
        "id": "d85a1799ed2048df",
        "type": "tab",
        "label": "Image",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "324aba0efed1b609",
        "type": "ha-mqtt-image",
        "z": "d85a1799ed2048df",
        "server": "2a52200708303a64",
        "device": "42d6f2a7a999a723",
        "name": "URL图片",
        "config": "",
        "x": 540,
        "y": 180,
        "wires": []
    },
    {
        "id": "76f934864ae81afa",
        "type": "inject",
        "z": "d85a1799ed2048df",
        "name": "",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "https://pic.netbian.com/uploads/allimg/220510/230359-16521950393a5a.jpg",
        "payloadType": "str",
        "x": 230,
        "y": 180,
        "wires": [
            [
                "324aba0efed1b609"
            ]
        ]
    },
    {
        "id": "f016c20dc1dc33ab",
        "type": "ha-mqtt-image",
        "z": "d85a1799ed2048df",
        "server": "2a52200708303a64",
        "device": "42d6f2a7a999a723",
        "name": "File图片",
        "config": "{\"content_type\":\"image/jpg\"}",
        "x": 540,
        "y": 300,
        "wires": []
    },
    {
        "id": "7f2596a51fc4df9c",
        "type": "http request",
        "z": "d85a1799ed2048df",
        "name": "",
        "method": "GET",
        "ret": "bin",
        "paytoqs": "ignore",
        "url": "https://pic.netbian.com/uploads/allimg/220510/230359-16521950393a5a.jpg",
        "tls": "",
        "persist": false,
        "proxy": "",
        "insecureHTTPParser": false,
        "authType": "",
        "senderr": false,
        "headers": [],
        "x": 360,
        "y": 300,
        "wires": [
            [
                "f016c20dc1dc33ab"
            ]
        ]
    },
    {
        "id": "470e1569ca6e0c2c",
        "type": "inject",
        "z": "d85a1799ed2048df",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 170,
        "y": 300,
        "wires": [
            [
                "7f2596a51fc4df9c"
            ]
        ]
    },
    {
        "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": ""
    }
]