|
|
楼主 |
发表于 2026-9-15 14:41:35
|
显示全部楼层
本帖最后由 he674963336 于 2026-9-15 14:44 编辑
最后还是使用Xiaomi Miot,完成播放完后恢复到初始音量,避免播放音量过大
[
{
"id": "7d449c344928fd41",
"type": "tab",
"label": "音箱play增强",
"disabled": false,
"info": "",
"env": []
},
{
"id": "b38b806c881436e6",
"type": "change",
"z": "7d449c344928fd41",
"name": "初始音量设为flow变量",
"rules": [
{
"t": "move",
"p": "payload",
"pt": "msg",
"to": "start_volume",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1080,
"y": 140,
"wires": [
[
"e3373265655d58d7"
]
]
},
{
"id": "22e58c0a17bef20b",
"type": "change",
"z": "7d449c344928fd41",
"name": "音量获取",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "data.attributes.volume_level",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 880,
"y": 140,
"wires": [
[
"b38b806c881436e6"
]
]
},
{
"id": "0a29249b04af37fe",
"type": "function",
"z": "7d449c344928fd41",
"name": "function 3",
"func": "//获取初始音量\nlet temp_start_volume = flow.get('start_volume');\nmsg.payload = temp_start_volume; // 将读取到的值赋给 msg.payload\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1120,
"y": 500,
"wires": [
[
"c4e4087c483bbfca"
]
]
},
{
"id": "872892c72846e0a9",
"type": "trigger",
"z": "7d449c344928fd41",
"name": "",
"op1": "",
"op2": "0",
"op1type": "nul",
"op2type": "str",
"duration": "20",
"extend": false,
"overrideDelay": false,
"units": "s",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 940,
"y": 500,
"wires": [
[
"0a29249b04af37fe"
]
]
},
{
"id": "322d3423da1cb070",
"type": "trigger",
"z": "7d449c344928fd41",
"name": "",
"op1": "",
"op2": "0",
"op1type": "nul",
"op2type": "str",
"duration": "500",
"extend": true,
"overrideDelay": false,
"units": "ms",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 430,
"y": 460,
"wires": [
[
"5c7aad1a210d3fb8"
]
]
},
{
"id": "b3d4464c26f31338",
"type": "comment",
"z": "7d449c344928fd41",
"name": "node flow global 作用域",
"info": "作用域\t设置值\t读取值\nnode(节点级)\tnode.set(\"key\", value)\tnode.get(\"key\")\nflow(流程级)\tflow.set(\"key\", value)\tflow.get(\"key\")\nglobal(全局级)\tglobal.set(\"key\", value)\tglobal.get(\"key\")\n推荐始终使用 get() / set() 方法,这样代码更清晰、更健壮,也避免了与同名的节点或函数属性冲突。",
"x": 1120,
"y": 440,
"wires": []
},
{
"id": "28f9b0e0db1d5cae",
"type": "change",
"z": "7d449c344928fd41",
"name": "payload转移到 flow.temp",
"rules": [
{
"t": "move",
"p": "payload",
"pt": "msg",
"to": "temp_payload",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 550,
"y": 300,
"wires": [
[
"beb4082e4041b99d"
]
]
},
{
"id": "5c7aad1a210d3fb8",
"type": "function",
"z": "7d449c344928fd41",
"name": "flowl.temp 赋值给msg",
"func": "let temp=flow.get(\"temp_payload\");\nmsg.payload=temp;\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 680,
"y": 460,
"wires": [
[
"43e1970410c3758f"
]
]
},
{
"id": "b93b3f21c6dff9ef",
"type": "inject",
"z": "7d449c344928fd41",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"v": "0.7",
"vt": "num"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "今天天气",
"payloadType": "str",
"x": 160,
"y": 260,
"wires": [
[
"14e63a1a8888d16b"
]
]
},
{
"id": "dd0f6fe4d6cc4259",
"type": "comment",
"z": "7d449c344928fd41",
"name": "执行文本",
"info": "",
"x": 120,
"y": 200,
"wires": []
},
{
"id": "ed691d4483e101b8",
"type": "comment",
"z": "7d449c344928fd41",
"name": "需要传送2个参数",
"info": "需要传送2个参数\n\nglobalt.set_volume 用于设置音量\nmsg.payload 用于执行内容",
"x": 120,
"y": 120,
"wires": []
},
{
"id": "caa220d449abb3f9",
"type": "comment",
"z": "7d449c344928fd41",
"name": "设定声音大小",
"info": "",
"x": 910,
"y": 280,
"wires": []
},
{
"id": "e3373265655d58d7",
"type": "function",
"z": "7d449c344928fd41",
"name": "设定音量为global.set_volume",
"func": "//获取初始音量\nlet temp_set_volume = global.get('set_volume');\nmsg.payload = temp_set_volume; // 将读取到的值赋给 msg.payload\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 860,
"y": 240,
"wires": [
[
"b26743bf8bf1991c"
]
]
},
{
"id": "f880c306acd67907",
"type": "comment",
"z": "7d449c344928fd41",
"name": "音箱play增强",
"info": "",
"x": 90,
"y": 60,
"wires": []
},
{
"id": "36fcf569d7481831",
"type": "change",
"z": "7d449c344928fd41",
"name": "初始音量设为flow变量",
"rules": [
{
"t": "move",
"p": "payload",
"pt": "msg",
"to": "start_volume",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1120,
"y": 720,
"wires": [
[
"cd582671e44c0d19"
]
]
},
{
"id": "1cbc88da8ec9fc63",
"type": "change",
"z": "7d449c344928fd41",
"name": "音量获取",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "data.attributes.volume_level",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 920,
"y": 720,
"wires": [
[
"36fcf569d7481831"
]
]
},
{
"id": "c5c01d42d789dfea",
"type": "function",
"z": "7d449c344928fd41",
"name": "function 5",
"func": "//获取初始音量\nlet temp_start_volume = flow.get('start_volume');\nmsg.payload = temp_start_volume; // 将读取到的值赋给 msg.payload\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1160,
"y": 1080,
"wires": [
[
"5dd8f7a8a4831274"
]
]
},
{
"id": "964b227031e5c39e",
"type": "trigger",
"z": "7d449c344928fd41",
"name": "",
"op1": "",
"op2": "0",
"op1type": "nul",
"op2type": "str",
"duration": "20",
"extend": false,
"overrideDelay": false,
"units": "s",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 980,
"y": 1080,
"wires": [
[
"c5c01d42d789dfea"
]
]
},
{
"id": "74718bbb33e355f3",
"type": "trigger",
"z": "7d449c344928fd41",
"name": "",
"op1": "",
"op2": "0",
"op1type": "nul",
"op2type": "str",
"duration": "500",
"extend": true,
"overrideDelay": false,
"units": "ms",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 450,
"y": 1000,
"wires": [
[
"cbcafdfc27dba3c0"
]
]
},
{
"id": "2e7306662ccd9ba1",
"type": "comment",
"z": "7d449c344928fd41",
"name": "node flow global 作用域",
"info": "作用域\t设置值\t读取值\nnode(节点级)\tnode.set(\"key\", value)\tnode.get(\"key\")\nflow(流程级)\tflow.set(\"key\", value)\tflow.get(\"key\")\nglobal(全局级)\tglobal.set(\"key\", value)\tglobal.get(\"key\")\n推荐始终使用 get() / set() 方法,这样代码更清晰、更健壮,也避免了与同名的节点或函数属性冲突。",
"x": 1160,
"y": 1020,
"wires": []
},
{
"id": "df892a501304fe2c",
"type": "change",
"z": "7d449c344928fd41",
"name": "payload转移到 flow.temp",
"rules": [
{
"t": "move",
"p": "payload",
"pt": "msg",
"to": "temp_payload",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 860,
"wires": [
[
"6e6321fe17606b16"
]
]
},
{
"id": "cbcafdfc27dba3c0",
"type": "function",
"z": "7d449c344928fd41",
"name": "flowl.temp 赋值给msg",
"func": "let temp=flow.get(\"temp_payload\");\nmsg.payload=temp;\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 740,
"y": 1000,
"wires": [
[
"d364a13c4101eabf"
]
]
},
{
"id": "109801024981b025",
"type": "comment",
"z": "7d449c344928fd41",
"name": "播报文本",
"info": "",
"x": 100,
"y": 780,
"wires": []
},
{
"id": "a128f1b72914532d",
"type": "comment",
"z": "7d449c344928fd41",
"name": "设定声音大小",
"info": "",
"x": 970,
"y": 860,
"wires": []
},
{
"id": "cd582671e44c0d19",
"type": "function",
"z": "7d449c344928fd41",
"name": "设定音量为global.set_volume",
"func": "//获取初始音量\nlet temp_set_volume = global.get('set_volume');\nmsg.payload = temp_set_volume; // 将读取到的值赋给 msg.payload\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1000,
"y": 820,
"wires": [
[
"ca318184c3ed06bc"
]
]
},
{
"id": "0ee76b26f338a9b0",
"type": "comment",
"z": "7d449c344928fd41",
"name": "需要传送2个参数",
"info": "需要传送2个参数\n\nglobalt.set_volume 用于设置音量\nmsg.payload 用于执行内容",
"x": 100,
"y": 720,
"wires": []
},
{
"id": "012983a4a5610ea6",
"type": "change",
"z": "7d449c344928fd41",
"name": "音量获取",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "data.attributes.volume_level",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 640,
"y": 1320,
"wires": [
[
"a488c75bb4e80646"
]
]
},
{
"id": "f75af771d31c84b2",
"type": "inject",
"z": "7d449c344928fd41",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 210,
"y": 1320,
"wires": [
[
"3eb3cceb0bba90dc"
]
]
},
{
"id": "a488c75bb4e80646",
"type": "debug",
"z": "7d449c344928fd41",
"name": "debug 15",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 840,
"y": 1320,
"wires": []
},
{
"id": "4ace0e6d768d6e7a",
"type": "comment",
"z": "7d449c344928fd41",
"name": "检测音量有延迟,需网络同步过来",
"info": "",
"x": 150,
"y": 1260,
"wires": []
},
{
"id": "301d7d108a26319d",
"type": "link in",
"z": "7d449c344928fd41",
"name": "小爱音箱play增强 执行文本 in",
"links": [],
"x": 115,
"y": 360,
"wires": [
[
"28f9b0e0db1d5cae"
]
]
},
{
"id": "f05c303b5dba474e",
"type": "link in",
"z": "7d449c344928fd41",
"name": "小爱音箱play增强 播报 文本 in",
"links": [
"d11d90c8423523c5"
],
"x": 155,
"y": 840,
"wires": [
[
"df892a501304fe2c"
]
]
},
{
"id": "b26743bf8bf1991c",
"type": "api-call-service",
"z": "7d449c344928fd41",
"name": "设定播报音量",
"server": "84b5ec8e1a4c321b",
"version": 7,
"debugenabled": false,
"action": "media_player.volume_set",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"media_player.xiaomi_l05c_5377_play_control"
],
"labelId": [],
"data": "{ \"volume_level\": payload }",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "media_player",
"service": "volume_set",
"x": 1120,
"y": 240,
"wires": [
[
"322d3423da1cb070"
]
]
},
{
"id": "43e1970410c3758f",
"type": "api-call-service",
"z": "7d449c344928fd41",
"name": "执行内容",
"server": "84b5ec8e1a4c321b",
"version": 7,
"debugenabled": false,
"action": "text.set_value",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"text.xiaomi_l05c_5377_execute_text_directive"
],
"labelId": [],
"data": "{\"value\": payload}",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "text",
"service": "set_value",
"x": 720,
"y": 540,
"wires": [
[
"872892c72846e0a9"
]
]
},
{
"id": "c4e4087c483bbfca",
"type": "api-call-service",
"z": "7d449c344928fd41",
"name": "载入初始音量",
"server": "84b5ec8e1a4c321b",
"version": 7,
"debugenabled": false,
"action": "media_player.volume_set",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"media_player.xiaomi_l05c_5377_play_control"
],
"labelId": [],
"data": "{ \"volume_level\": payload }",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "media_player",
"service": "volume_set",
"x": 1220,
"y": 600,
"wires": [
[]
]
},
{
"id": "ca318184c3ed06bc",
"type": "api-call-service",
"z": "7d449c344928fd41",
"name": "设定播报音量",
"server": "84b5ec8e1a4c321b",
"version": 7,
"debugenabled": false,
"action": "media_player.volume_set",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"media_player.xiaomi_l05c_5377_play_control"
],
"labelId": [],
"data": "{ \"volume_level\": payload }",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "media_player",
"service": "volume_set",
"x": 1320,
"y": 840,
"wires": [
[
"74718bbb33e355f3"
]
]
},
{
"id": "5dd8f7a8a4831274",
"type": "api-call-service",
"z": "7d449c344928fd41",
"name": "载入初始音量",
"server": "84b5ec8e1a4c321b",
"version": 7,
"debugenabled": false,
"action": "media_player.volume_set",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"media_player.xiaomi_l05c_5377_play_control"
],
"labelId": [],
"data": "{ \"volume_level\": payload }",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "media_player",
"service": "volume_set",
"x": 1260,
"y": 1180,
"wires": [
[]
]
},
{
"id": "d364a13c4101eabf",
"type": "api-call-service",
"z": "7d449c344928fd41",
"name": "播放内容",
"server": "84b5ec8e1a4c321b",
"version": 7,
"debugenabled": false,
"action": "text.set_value",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"text.xiaomi_l05c_5377_play_text"
],
"labelId": [],
"data": "{\"value\":payload}",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "text",
"service": "set_value",
"x": 800,
"y": 1100,
"wires": [
[
"964b227031e5c39e"
]
]
},
{
"id": "beb4082e4041b99d",
"type": "api-current-state",
"z": "7d449c344928fd41",
"name": "小爱音响增强",
"server": "84b5ec8e1a4c321b",
"version": 3,
"outputs": 1,
"halt_if": "",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "media_player.xiaomi_l05c_5377_play_control",
"state_type": "str",
"blockInputOverrides": true,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "string",
"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": 700,
"y": 140,
"wires": [
[
"22e58c0a17bef20b"
]
]
},
{
"id": "6e6321fe17606b16",
"type": "api-current-state",
"z": "7d449c344928fd41",
"name": "小爱音响增强",
"server": "84b5ec8e1a4c321b",
"version": 3,
"outputs": 1,
"halt_if": "",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "media_player.xiaomi_l05c_5377_play_control",
"state_type": "str",
"blockInputOverrides": true,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "string",
"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": 740,
"y": 720,
"wires": [
[
"1cbc88da8ec9fc63"
]
]
},
{
"id": "3eb3cceb0bba90dc",
"type": "api-current-state",
"z": "7d449c344928fd41",
"name": "小爱音箱play增强",
"server": "84b5ec8e1a4c321b",
"version": 3,
"outputs": 1,
"halt_if": "",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "media_player.xiaomi_l05c_5377_play_control",
"state_type": "str",
"blockInputOverrides": true,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "string",
"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": 430,
"y": 1320,
"wires": [
[
"012983a4a5610ea6"
]
]
},
{
"id": "001eae50dee9741a",
"type": "inject",
"z": "7d449c344928fd41",
"name": "播报天气很好",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 310,
"y": 1640,
"wires": [
[
"a6bcae5c32e889af"
]
]
},
{
"id": "a6bcae5c32e889af",
"type": "api-call-service",
"z": "7d449c344928fd41",
"name": "音响增强 播报文本",
"server": "84b5ec8e1a4c321b",
"version": 7,
"debugenabled": false,
"action": "notify.send_message",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"notify.xiaomi_cn_586204887_l05c_play_text_a_5_3"
],
"labelId": [],
"data": "{\"message\":\"天气很好\"}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": false,
"domain": "notify",
"service": "send_message",
"mergecontext": "",
"x": 570,
"y": 1640,
"wires": [
[]
]
},
{
"id": "e94dacf6ec3dcbbf",
"type": "inject",
"z": "7d449c344928fd41",
"name": "播报动态消息",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "很好",
"payloadType": "str",
"x": 310,
"y": 1560,
"wires": [
[
"38e58a1ed2bbd2aa"
]
]
},
{
"id": "38e58a1ed2bbd2aa",
"type": "api-call-service",
"z": "7d449c344928fd41",
"name": "音响增强 播报文本",
"server": "84b5ec8e1a4c321b",
"version": 7,
"debugenabled": false,
"action": "notify.send_message",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"notify.xiaomi_cn_586204887_l05c_play_text_a_5_3"
],
"labelId": [],
"data": "{\"message\":\"{{payload}}\"}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": false,
"domain": "notify",
"service": "send_message",
"mergecontext": "",
"x": 580,
"y": 1560,
"wires": [
[]
]
},
{
"id": "b9cc1cd7079f9f7d",
"type": "comment",
"z": "7d449c344928fd41",
"name": "使用xiaomi home插件",
"info": "",
"x": 240,
"y": 1500,
"wires": []
},
{
"id": "b1ef9351fa59b94e",
"type": "inject",
"z": "7d449c344928fd41",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "0.7",
"payload": "天气",
"payloadType": "str",
"x": 300,
"y": 700,
"wires": [
[
"9075dab7e5300e02"
]
]
},
{
"id": "9075dab7e5300e02",
"type": "change",
"z": "7d449c344928fd41",
"name": "",
"rules": [
{
"t": "move",
"p": "topic",
"pt": "msg",
"to": "set_volume",
"tot": "global"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 700,
"wires": [
[
"df892a501304fe2c"
]
]
},
{
"id": "14e63a1a8888d16b",
"type": "change",
"z": "7d449c344928fd41",
"name": "",
"rules": [
{
"t": "move",
"p": "topic",
"pt": "msg",
"to": "set_volume",
"tot": "global"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 400,
"y": 180,
"wires": [
[
"28f9b0e0db1d5cae"
]
]
},
{
"id": "84b5ec8e1a4c321b",
"type": "server",
"name": "Home Assistant",
"version": 6,
"addon": false,
"rejectUnauthorizedCerts": true,
"ha_boolean": [
"y",
"yes",
"true",
"on",
"home",
"open"
],
"connectionDelay": false,
"cacheJson": true,
"heartbeat": false,
"heartbeatInterval": "30",
"areaSelector": "friendlyName",
"deviceSelector": "friendlyName",
"entitySelector": "friendlyName",
"statusSeparator": ": ",
"statusYear": "hidden",
"statusMonth": "short",
"statusDay": "numeric",
"statusHourCycle": "default",
"statusTimeFormat": "h:m",
"enableGlobalContextStore": false
},
{
"id": "016d100c6083c227",
"type": "global-config",
"env": [],
"modules": {
"node-red-contrib-home-assistant-websocket": "0.80.3"
}
}
] |
|