node-red-contrib-homebridge-automation 0.1.12-beta.40 → 0.1.12-beta.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/package.json +1 -1
- package/src/hbConfigNode.js +2 -4
- package/src/hbConfigNode.test.js +2179 -0
- package/test/node-red/.flows.json.backup +78 -2
- package/test/node-red/flows.json +76 -0
|
@@ -7,6 +7,14 @@
|
|
|
7
7
|
"info": "",
|
|
8
8
|
"env": []
|
|
9
9
|
},
|
|
10
|
+
{
|
|
11
|
+
"id": "ddaa42d2292b69e2",
|
|
12
|
+
"type": "tab",
|
|
13
|
+
"label": "Flow 2",
|
|
14
|
+
"disabled": false,
|
|
15
|
+
"info": "",
|
|
16
|
+
"env": []
|
|
17
|
+
},
|
|
10
18
|
{
|
|
11
19
|
"id": "557aec8e8c47e61e",
|
|
12
20
|
"type": "hb-conf",
|
|
@@ -61,7 +69,7 @@
|
|
|
61
69
|
"vt": "str"
|
|
62
70
|
}
|
|
63
71
|
],
|
|
64
|
-
"repeat": "",
|
|
72
|
+
"repeat": "60",
|
|
65
73
|
"crontab": "",
|
|
66
74
|
"once": true,
|
|
67
75
|
"onceDelay": "60",
|
|
@@ -672,7 +680,7 @@
|
|
|
672
680
|
"vt": "str"
|
|
673
681
|
}
|
|
674
682
|
],
|
|
675
|
-
"repeat": "",
|
|
683
|
+
"repeat": "60",
|
|
676
684
|
"crontab": "",
|
|
677
685
|
"once": true,
|
|
678
686
|
"onceDelay": "60",
|
|
@@ -759,5 +767,73 @@
|
|
|
759
767
|
"x": 1190,
|
|
760
768
|
"y": 280,
|
|
761
769
|
"wires": []
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"id": "834248faa510b756",
|
|
773
|
+
"type": "hb-event",
|
|
774
|
+
"z": "ddaa42d2292b69e2",
|
|
775
|
+
"name": "Backyard",
|
|
776
|
+
"Homebridge": "homebridge",
|
|
777
|
+
"Manufacturer": "Eufy",
|
|
778
|
+
"Service": "MotionSensor",
|
|
779
|
+
"device": "homebridge0E:89:A7:DA:D3:21EufyBackyard00000085",
|
|
780
|
+
"conf": "557aec8e8c47e61e",
|
|
781
|
+
"sendInitialState": false,
|
|
782
|
+
"x": 100,
|
|
783
|
+
"y": 140,
|
|
784
|
+
"wires": [
|
|
785
|
+
[]
|
|
786
|
+
]
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"id": "55f84c7bfb7c121e",
|
|
790
|
+
"type": "hb-control",
|
|
791
|
+
"z": "ddaa42d2292b69e2",
|
|
792
|
+
"name": "Backyard",
|
|
793
|
+
"Homebridge": "homebridge",
|
|
794
|
+
"Manufacturer": "Eufy",
|
|
795
|
+
"Service": "CameraRTPStreamManagement",
|
|
796
|
+
"device": "homebridge0E:89:A7:DA:D3:21EufyBackyard00000110",
|
|
797
|
+
"conf": "557aec8e8c47e61e",
|
|
798
|
+
"outputs": 0,
|
|
799
|
+
"x": 680,
|
|
800
|
+
"y": 140,
|
|
801
|
+
"wires": []
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"id": "a5a864e72e6e8864",
|
|
805
|
+
"type": "hb-event",
|
|
806
|
+
"z": "ddaa42d2292b69e2",
|
|
807
|
+
"name": "Patio Room",
|
|
808
|
+
"Homebridge": "homebridge",
|
|
809
|
+
"Manufacturer": "Hunter Fan",
|
|
810
|
+
"Service": "Lightbulb",
|
|
811
|
+
"device": "homebridge0E:F4:E9:FC:AD:D1Hunter FanPatio Room00000043",
|
|
812
|
+
"conf": "557aec8e8c47e61e",
|
|
813
|
+
"sendInitialState": true,
|
|
814
|
+
"x": 190,
|
|
815
|
+
"y": 280,
|
|
816
|
+
"wires": [
|
|
817
|
+
[
|
|
818
|
+
"81f4056eb30cf459"
|
|
819
|
+
]
|
|
820
|
+
]
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"id": "81f4056eb30cf459",
|
|
824
|
+
"type": "debug",
|
|
825
|
+
"z": "ddaa42d2292b69e2",
|
|
826
|
+
"name": "debug 8",
|
|
827
|
+
"active": true,
|
|
828
|
+
"tosidebar": true,
|
|
829
|
+
"console": false,
|
|
830
|
+
"tostatus": true,
|
|
831
|
+
"complete": "payload",
|
|
832
|
+
"targetType": "msg",
|
|
833
|
+
"statusVal": "payload",
|
|
834
|
+
"statusType": "auto",
|
|
835
|
+
"x": 540,
|
|
836
|
+
"y": 300,
|
|
837
|
+
"wires": []
|
|
762
838
|
}
|
|
763
839
|
]
|
package/test/node-red/flows.json
CHANGED
|
@@ -7,6 +7,14 @@
|
|
|
7
7
|
"info": "",
|
|
8
8
|
"env": []
|
|
9
9
|
},
|
|
10
|
+
{
|
|
11
|
+
"id": "ddaa42d2292b69e2",
|
|
12
|
+
"type": "tab",
|
|
13
|
+
"label": "Flow 2",
|
|
14
|
+
"disabled": false,
|
|
15
|
+
"info": "",
|
|
16
|
+
"env": []
|
|
17
|
+
},
|
|
10
18
|
{
|
|
11
19
|
"id": "557aec8e8c47e61e",
|
|
12
20
|
"type": "hb-conf",
|
|
@@ -759,5 +767,73 @@
|
|
|
759
767
|
"x": 1190,
|
|
760
768
|
"y": 280,
|
|
761
769
|
"wires": []
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"id": "834248faa510b756",
|
|
773
|
+
"type": "hb-event",
|
|
774
|
+
"z": "ddaa42d2292b69e2",
|
|
775
|
+
"name": "Backyard",
|
|
776
|
+
"Homebridge": "homebridge",
|
|
777
|
+
"Manufacturer": "Eufy",
|
|
778
|
+
"Service": "MotionSensor",
|
|
779
|
+
"device": "homebridge0E:89:A7:DA:D3:21EufyBackyard00000085",
|
|
780
|
+
"conf": "557aec8e8c47e61e",
|
|
781
|
+
"sendInitialState": false,
|
|
782
|
+
"x": 100,
|
|
783
|
+
"y": 140,
|
|
784
|
+
"wires": [
|
|
785
|
+
[]
|
|
786
|
+
]
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"id": "55f84c7bfb7c121e",
|
|
790
|
+
"type": "hb-control",
|
|
791
|
+
"z": "ddaa42d2292b69e2",
|
|
792
|
+
"name": "Backyard",
|
|
793
|
+
"Homebridge": "homebridge",
|
|
794
|
+
"Manufacturer": "Eufy",
|
|
795
|
+
"Service": "CameraRTPStreamManagement",
|
|
796
|
+
"device": "homebridge0E:89:A7:DA:D3:21EufyBackyard00000110",
|
|
797
|
+
"conf": "557aec8e8c47e61e",
|
|
798
|
+
"outputs": 0,
|
|
799
|
+
"x": 680,
|
|
800
|
+
"y": 140,
|
|
801
|
+
"wires": []
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"id": "a5a864e72e6e8864",
|
|
805
|
+
"type": "hb-event",
|
|
806
|
+
"z": "ddaa42d2292b69e2",
|
|
807
|
+
"name": "Master",
|
|
808
|
+
"Homebridge": "homebridge",
|
|
809
|
+
"Manufacturer": "Tasmota",
|
|
810
|
+
"Service": "Lightbulb",
|
|
811
|
+
"device": "homebridge1C:22:3D:E3:CF:34TasmotaMaster00000043",
|
|
812
|
+
"conf": "557aec8e8c47e61e",
|
|
813
|
+
"sendInitialState": true,
|
|
814
|
+
"x": 170,
|
|
815
|
+
"y": 280,
|
|
816
|
+
"wires": [
|
|
817
|
+
[
|
|
818
|
+
"81f4056eb30cf459"
|
|
819
|
+
]
|
|
820
|
+
]
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"id": "81f4056eb30cf459",
|
|
824
|
+
"type": "debug",
|
|
825
|
+
"z": "ddaa42d2292b69e2",
|
|
826
|
+
"name": "debug 8",
|
|
827
|
+
"active": true,
|
|
828
|
+
"tosidebar": true,
|
|
829
|
+
"console": false,
|
|
830
|
+
"tostatus": true,
|
|
831
|
+
"complete": "payload",
|
|
832
|
+
"targetType": "msg",
|
|
833
|
+
"statusVal": "payload",
|
|
834
|
+
"statusType": "auto",
|
|
835
|
+
"x": 540,
|
|
836
|
+
"y": 300,
|
|
837
|
+
"wires": []
|
|
762
838
|
}
|
|
763
839
|
]
|