Files
node-red-contrib-mi-devices/flows-overview.json

478 lines
9.9 KiB
JSON

[
{
"id": "d6af659e.672c78",
"type": "tab",
"label": "Mi Devices Overview",
"disabled": false,
"info": ""
},
{
"id": "8b46a76a.3750f8",
"type": "xiaomi-gateway in",
"z": "d6af659e.672c78",
"name": "",
"gateway": "",
"ip": "",
"x": 100,
"y": 260,
"wires": [
[
"c6c7895f.ca9ed",
"fff96479.f72ff8",
"896173ae.aff0c",
"55f81bbe.cdf944",
"e3bc2a33.7bc178",
"6b4e0181.7aac38"
]
]
},
{
"id": "c6c7895f.ca9ed",
"type": "xiaomi-ht",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"sid": "",
"x": 420,
"y": 120,
"wires": [
[
"a196a200.9d0ca8"
]
]
},
{
"id": "fff96479.f72ff8",
"type": "xiaomi-magnet",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"sid": "",
"x": 440,
"y": 180,
"wires": [
[
"a196a200.9d0ca8"
]
]
},
{
"id": "896173ae.aff0c",
"type": "xiaomi-motion",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"sid": "",
"motionmsg": "",
"nomotionmsg": "",
"output": "0",
"x": 440,
"y": 240,
"wires": [
[
"a196a200.9d0ca8"
]
]
},
{
"id": "55f81bbe.cdf944",
"type": "xiaomi-switch",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"sid": "",
"outmsg": "{{click}}",
"outmsgdbcl": "{{double_click}}",
"output": "0",
"x": 440,
"y": 300,
"wires": [
[
"a196a200.9d0ca8"
]
]
},
{
"id": "e3bc2a33.7bc178",
"type": "xiaomi-gateway",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"x": 440,
"y": 360,
"wires": [
[
"a196a200.9d0ca8"
]
]
},
{
"id": "6b4e0181.7aac38",
"type": "xiaomi-plug",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"sid": "",
"onmsg": "",
"offmsg": "",
"output": "0",
"x": 430,
"y": 420,
"wires": [
[
"a196a200.9d0ca8"
]
]
},
{
"id": "a196a200.9d0ca8",
"type": "debug",
"z": "d6af659e.672c78",
"name": "",
"active": true,
"console": "false",
"complete": "true",
"x": 790,
"y": 280,
"wires": []
},
{
"id": "fced461e.36cda",
"type": "xiaomi-ht",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"sid": "",
"x": 480,
"y": 580,
"wires": [
[
"f2d6b99.0cc43c8"
]
]
},
{
"id": "5f9390f2.5a3798",
"type": "xiaomi-magnet",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"sid": "",
"x": 500,
"y": 640,
"wires": [
[
"f2d6b99.0cc43c8"
]
]
},
{
"id": "727ea237.226064",
"type": "xiaomi-motion",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"sid": "",
"motionmsg": "",
"nomotionmsg": "",
"output": "0",
"x": 500,
"y": 700,
"wires": [
[
"f2d6b99.0cc43c8"
]
]
},
{
"id": "9b7afab9.3b9d28",
"type": "xiaomi-switch",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"sid": "",
"outmsg": "{{click}}",
"outmsgdbcl": "{{double_click}}",
"output": "0",
"x": 500,
"y": 760,
"wires": [
[
"f2d6b99.0cc43c8",
"87e3d24d.dca938",
"17f55e85.67fa39"
]
]
},
{
"id": "56b84611.e528d",
"type": "xiaomi-gateway",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"x": 500,
"y": 820,
"wires": [
[
"f2d6b99.0cc43c8",
"63506419.25ea9c",
"802789b5.325168",
"f5d2d9a.c0cfaa8",
"714e9c81.a6814c"
]
]
},
{
"id": "f56c4e2.98543b",
"type": "inject",
"z": "d6af659e.672c78",
"name": "",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"x": 100,
"y": 700,
"wires": [
[
"fced461e.36cda",
"5f9390f2.5a3798",
"727ea237.226064",
"9b7afab9.3b9d28",
"56b84611.e528d",
"cde54564.5db488",
"2e035ef8.13ee12",
"6e073d99.348974",
"5d917375.467da4"
]
]
},
{
"id": "cde54564.5db488",
"type": "xiaomi-plug",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"sid": "",
"onmsg": "",
"offmsg": "",
"output": "0",
"x": 490,
"y": 880,
"wires": [
[
"f2d6b99.0cc43c8",
"6dde3295.cc1f94",
"bc27b766.47eb"
]
]
},
{
"id": "2e035ef8.13ee12",
"type": "xiaomi-plug-wifi",
"z": "d6af659e.672c78",
"name": "",
"ip": "",
"onmsg": "",
"offmsg": "",
"output": "0",
"x": 500,
"y": 940,
"wires": [
[]
]
},
{
"id": "f2d6b99.0cc43c8",
"type": "xiaomi-actions read",
"z": "d6af659e.672c78",
"name": "",
"x": 810,
"y": 580,
"wires": [
[
"39eb644e.a67c94"
]
]
},
{
"id": "63506419.25ea9c",
"type": "xiaomi-actions get_id_list",
"z": "d6af659e.672c78",
"name": "",
"x": 820,
"y": 800,
"wires": [
[
"39eb644e.a67c94"
]
]
},
{
"id": "802789b5.325168",
"type": "xiaomi-actions gateway_light",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"brightness": 100,
"hexRgbColor": "#ffffff",
"color": {
"red": 255,
"green": 255,
"blue": 255
},
"x": 820,
"y": 840,
"wires": [
[
"39eb644e.a67c94"
]
]
},
{
"id": "f5d2d9a.c0cfaa8",
"type": "xiaomi-actions gateway_sound",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"mid": "",
"volume": "",
"x": 830,
"y": 880,
"wires": [
[
"39eb644e.a67c94"
]
]
},
{
"id": "714e9c81.a6814c",
"type": "xiaomi-actions gateway_stop_sound",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"x": 830,
"y": 920,
"wires": [
[
"39eb644e.a67c94"
]
]
},
{
"id": "6dde3295.cc1f94",
"type": "xiaomi-actions on",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"x": 820,
"y": 980,
"wires": [
[
"39eb644e.a67c94"
]
]
},
{
"id": "bc27b766.47eb",
"type": "xiaomi-actions off",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"x": 820,
"y": 1020,
"wires": [
[
"39eb644e.a67c94"
]
]
},
{
"id": "87e3d24d.dca938",
"type": "xiaomi-actions click",
"z": "d6af659e.672c78",
"name": "",
"x": 810,
"y": 680,
"wires": [
[
"39eb644e.a67c94"
]
]
},
{
"id": "17f55e85.67fa39",
"type": "xiaomi-actions double_click",
"z": "d6af659e.672c78",
"name": "",
"x": 830,
"y": 720,
"wires": [
[
"39eb644e.a67c94"
]
]
},
{
"id": "39eb644e.a67c94",
"type": "xiaomi-gateway out",
"z": "d6af659e.672c78",
"name": "",
"gateway": "",
"ip": "",
"x": 1200,
"y": 780,
"wires": []
},
{
"id": "6e073d99.348974",
"type": "xiaomi-actions on",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"x": 280,
"y": 920,
"wires": [
[
"2e035ef8.13ee12"
]
]
},
{
"id": "5d917375.467da4",
"type": "xiaomi-actions off",
"z": "d6af659e.672c78",
"gateway": "",
"name": "",
"x": 280,
"y": 960,
"wires": [
[
"2e035ef8.13ee12"
]
]
},
{
"id": "bd81cdbf.1964",
"type": "comment",
"z": "d6af659e.672c78",
"name": "Filter incoming",
"info": "",
"x": 420,
"y": 40,
"wires": []
},
{
"id": "99d83097.bf0968",
"type": "comment",
"z": "d6af659e.672c78",
"name": "Outgoing",
"info": "",
"x": 420,
"y": 500,
"wires": []
}
]