- 积分
- 705
- 金钱
- 602
- 威望
- 0
- 贡献
- 0
- HASS币
- 30
高级会员
- 积分
- 705
- 金钱
- 602
- HASS币
- 30
|
楼主 |
发表于 2023-11-25 15:22:04
|
显示全部楼层
[
{
"id": "78dad95d259df720",
"type": "api-current-state",
"z": "813dddb186e5f923",
"name": "",
"server": "5692cf9f.28c91",
"version": 3,
"outputs": 1,
"halt_if": "",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "media_player.xiaomi_rmaxv1_c769_play_control",
"state_type": "str",
"blockInputOverrides": false,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "data",
"propertyType": "msg",
"value": "",
"valueType": "entity"
}
],
"for": 0,
"forType": "num",
"forUnits": "minutes",
"override_topic": false,
"state_location": "payload",
"override_payload": "msg",
"entity_location": "data",
"override_data": "msg",
"x": 480,
"y": 50,
"wires": [
[
"b856f7401470458b"
]
]
},
{
"id": "8e7b67e56a60189e",
"type": "inject",
"z": "813dddb186e5f923",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 150,
"y": 50,
"wires": [
[
"78dad95d259df720"
]
]
},
{
"id": "b856f7401470458b",
"type": "change",
"z": "813dddb186e5f923",
"name": "",
"rules": [
{
"t": "move",
"p": "data.attributes.capture",
"pt": "msg",
"to": "url",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 880,
"y": 50,
"wires": [
[
"c5fda8d359e6e848",
"ef8c69aa4469b26a"
]
]
},
{
"id": "7f93ba224a6f14de",
"type": "image",
"z": "813dddb186e5f923",
"name": "",
"width": "1024",
"data": "payload",
"dataType": "msg",
"thumbnail": false,
"active": true,
"pass": false,
"outputs": 0,
"x": 170,
"y": 100,
"wires": []
},
{
"id": "c5fda8d359e6e848",
"type": "http request",
"z": "813dddb186e5f923",
"name": "",
"method": "GET",
"ret": "bin",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 1140,
"y": 50,
"wires": [
[
"7f93ba224a6f14de",
"ef8c69aa4469b26a"
]
]
},
{
"id": "ef8c69aa4469b26a",
"type": "debug",
"z": "813dddb186e5f923",
"name": "debug 48",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 810,
"y": 100,
"wires": []
},
{
"id": "5692cf9f.28c91",
"type": "server",
"name": "Home Assistant",
"version": 5,
"addon": true,
"rejectUnauthorizedCerts": true,
"ha_boolean": "y|yes|true|on|home|open",
"connectionDelay": true,
"cacheJson": true,
"heartbeat": false,
"heartbeatInterval": 30,
"areaSelector": "friendlyName",
"deviceSelector": "friendlyName",
"entitySelector": "friendlyName",
"statusSeparator": "at: ",
"statusYear": "hidden",
"statusMonth": "short",
"statusDay": "numeric",
"statusHourCycle": "h23",
"statusTimeFormat": "h:m",
"enableGlobalContextStore": true
}
]
|
|