node-red-contrib-homebridge-automation 0.3.0-beta.2 → 0.3.0-beta.20
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 +2 -0
- package/package.json +7 -7
- package/src/HAP-NodeRed.html +18 -1
- package/src/hbConfigNode.js +19 -12
- package/src/hbConfigNode.test.js +2 -5
- package/src/hbControlNode.js +16 -5
- package/test/homebridge-automation-endpoints.json +7740 -7736
- package/test/homebridge-automation-hbDevices-v3.json +19 -19
- package/test/node-red/flows.json +599 -110
package/test/node-red/flows.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"id": "ddaa42d2292b69e2",
|
|
12
12
|
"type": "tab",
|
|
13
13
|
"label": "Flow 2",
|
|
14
|
-
"disabled":
|
|
14
|
+
"disabled": true,
|
|
15
15
|
"info": "",
|
|
16
16
|
"env": []
|
|
17
17
|
},
|
|
@@ -39,42 +39,20 @@
|
|
|
39
39
|
"info": "",
|
|
40
40
|
"env": []
|
|
41
41
|
},
|
|
42
|
+
{
|
|
43
|
+
"id": "92f59d974b9c8a86",
|
|
44
|
+
"type": "tab",
|
|
45
|
+
"label": "Camera Test",
|
|
46
|
+
"disabled": false,
|
|
47
|
+
"info": "",
|
|
48
|
+
"env": []
|
|
49
|
+
},
|
|
42
50
|
{
|
|
43
51
|
"id": "7e647d67.f33acc",
|
|
44
52
|
"type": "hb-conf",
|
|
45
53
|
"username": "031-45-154",
|
|
46
|
-
"macAddress": ""
|
|
47
|
-
|
|
48
|
-
{
|
|
49
|
-
"id": "df5dd49178c517fa",
|
|
50
|
-
"type": "mqtt-broker",
|
|
51
|
-
"name": "",
|
|
52
|
-
"broker": "mqtt.local",
|
|
53
|
-
"port": "1883",
|
|
54
|
-
"clientid": "",
|
|
55
|
-
"autoConnect": true,
|
|
56
|
-
"usetls": false,
|
|
57
|
-
"protocolVersion": "4",
|
|
58
|
-
"keepalive": "60",
|
|
59
|
-
"cleansession": true,
|
|
60
|
-
"autoUnsubscribe": true,
|
|
61
|
-
"birthTopic": "",
|
|
62
|
-
"birthQos": "0",
|
|
63
|
-
"birthRetain": "false",
|
|
64
|
-
"birthPayload": "",
|
|
65
|
-
"birthMsg": {},
|
|
66
|
-
"closeTopic": "",
|
|
67
|
-
"closeQos": "0",
|
|
68
|
-
"closeRetain": "false",
|
|
69
|
-
"closePayload": "",
|
|
70
|
-
"closeMsg": {},
|
|
71
|
-
"willTopic": "",
|
|
72
|
-
"willQos": "0",
|
|
73
|
-
"willRetain": "false",
|
|
74
|
-
"willPayload": "",
|
|
75
|
-
"willMsg": {},
|
|
76
|
-
"userProps": "",
|
|
77
|
-
"sessionExpiry": ""
|
|
54
|
+
"macAddress": "",
|
|
55
|
+
"debug": true
|
|
78
56
|
},
|
|
79
57
|
{
|
|
80
58
|
"id": "902c5887b6877df6",
|
|
@@ -2620,28 +2598,41 @@
|
|
|
2620
2598
|
]
|
|
2621
2599
|
},
|
|
2622
2600
|
{
|
|
2623
|
-
"id": "
|
|
2624
|
-
"type": "
|
|
2601
|
+
"id": "50af5bb963e4a186",
|
|
2602
|
+
"type": "hb-resume",
|
|
2625
2603
|
"z": "4138921fd7b9a926",
|
|
2626
|
-
"name": "",
|
|
2627
|
-
"
|
|
2628
|
-
"
|
|
2629
|
-
"
|
|
2630
|
-
"
|
|
2631
|
-
"
|
|
2632
|
-
"
|
|
2633
|
-
"
|
|
2634
|
-
"inputs": 0,
|
|
2635
|
-
"x": 130,
|
|
2636
|
-
"y": 180,
|
|
2604
|
+
"name": "Floor Lamp One",
|
|
2605
|
+
"Homebridge": "homebridge",
|
|
2606
|
+
"Manufacturer": "Signify Netherlands B.V.",
|
|
2607
|
+
"Service": "Lightbulb",
|
|
2608
|
+
"device": "homebridgeCC:22:3D:E3:CF:33Signify Netherlands B.V.Floor Lamp One00000043",
|
|
2609
|
+
"conf": "7e647d67.f33acc",
|
|
2610
|
+
"x": 500,
|
|
2611
|
+
"y": 80,
|
|
2637
2612
|
"wires": [
|
|
2638
2613
|
[
|
|
2639
|
-
"
|
|
2614
|
+
"8ba7a5a4aa28dc2f",
|
|
2615
|
+
"29580d01ef2e651d"
|
|
2640
2616
|
]
|
|
2641
2617
|
]
|
|
2642
2618
|
},
|
|
2643
2619
|
{
|
|
2644
|
-
"id": "
|
|
2620
|
+
"id": "8ba7a5a4aa28dc2f",
|
|
2621
|
+
"type": "hb-control",
|
|
2622
|
+
"z": "4138921fd7b9a926",
|
|
2623
|
+
"name": "Floor Lamp One",
|
|
2624
|
+
"Homebridge": "homebridge",
|
|
2625
|
+
"Manufacturer": "Signify Netherlands B.V.",
|
|
2626
|
+
"Service": "Lightbulb",
|
|
2627
|
+
"device": "homebridgeCC:22:3D:E3:CF:33Signify Netherlands B.V.Floor Lamp One00000043",
|
|
2628
|
+
"conf": "7e647d67.f33acc",
|
|
2629
|
+
"outputs": 0,
|
|
2630
|
+
"x": 720,
|
|
2631
|
+
"y": 80,
|
|
2632
|
+
"wires": []
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
"id": "29580d01ef2e651d",
|
|
2645
2636
|
"type": "debug",
|
|
2646
2637
|
"z": "4138921fd7b9a926",
|
|
2647
2638
|
"name": "debug 17",
|
|
@@ -2651,127 +2642,625 @@
|
|
|
2651
2642
|
"tostatus": true,
|
|
2652
2643
|
"complete": "payload",
|
|
2653
2644
|
"targetType": "msg",
|
|
2654
|
-
"statusVal": "
|
|
2655
|
-
"statusType": "
|
|
2645
|
+
"statusVal": "payload",
|
|
2646
|
+
"statusType": "auto",
|
|
2656
2647
|
"x": 720,
|
|
2657
2648
|
"y": 140,
|
|
2658
2649
|
"wires": []
|
|
2659
2650
|
},
|
|
2660
2651
|
{
|
|
2661
|
-
"id": "
|
|
2662
|
-
"type": "
|
|
2652
|
+
"id": "b3c8e4dcd5b62de4",
|
|
2653
|
+
"type": "inject",
|
|
2663
2654
|
"z": "4138921fd7b9a926",
|
|
2664
2655
|
"name": "",
|
|
2665
|
-
"
|
|
2666
|
-
"propertyType": "msg",
|
|
2667
|
-
"rules": [
|
|
2656
|
+
"props": [
|
|
2668
2657
|
{
|
|
2669
|
-
"
|
|
2670
|
-
"v": "SYStoMQTT",
|
|
2671
|
-
"vt": "str"
|
|
2658
|
+
"p": "payload"
|
|
2672
2659
|
},
|
|
2673
2660
|
{
|
|
2674
|
-
"
|
|
2675
|
-
"v": "version",
|
|
2661
|
+
"p": "topic",
|
|
2676
2662
|
"vt": "str"
|
|
2663
|
+
}
|
|
2664
|
+
],
|
|
2665
|
+
"repeat": "",
|
|
2666
|
+
"crontab": "",
|
|
2667
|
+
"once": false,
|
|
2668
|
+
"onceDelay": 0.1,
|
|
2669
|
+
"topic": "",
|
|
2670
|
+
"payload": "{\"On\": true}",
|
|
2671
|
+
"payloadType": "json",
|
|
2672
|
+
"x": 170,
|
|
2673
|
+
"y": 80,
|
|
2674
|
+
"wires": [
|
|
2675
|
+
[
|
|
2676
|
+
"50af5bb963e4a186"
|
|
2677
|
+
]
|
|
2678
|
+
]
|
|
2679
|
+
},
|
|
2680
|
+
{
|
|
2681
|
+
"id": "a74ef133a980c5f3",
|
|
2682
|
+
"type": "inject",
|
|
2683
|
+
"z": "4138921fd7b9a926",
|
|
2684
|
+
"name": "",
|
|
2685
|
+
"props": [
|
|
2686
|
+
{
|
|
2687
|
+
"p": "payload"
|
|
2677
2688
|
},
|
|
2678
2689
|
{
|
|
2679
|
-
"
|
|
2680
|
-
"v": "LWT",
|
|
2690
|
+
"p": "topic",
|
|
2681
2691
|
"vt": "str"
|
|
2692
|
+
}
|
|
2693
|
+
],
|
|
2694
|
+
"repeat": "",
|
|
2695
|
+
"crontab": "",
|
|
2696
|
+
"once": false,
|
|
2697
|
+
"onceDelay": 0.1,
|
|
2698
|
+
"topic": "",
|
|
2699
|
+
"payload": "{\"On\": false}",
|
|
2700
|
+
"payloadType": "json",
|
|
2701
|
+
"x": 170,
|
|
2702
|
+
"y": 140,
|
|
2703
|
+
"wires": [
|
|
2704
|
+
[
|
|
2705
|
+
"50af5bb963e4a186"
|
|
2706
|
+
]
|
|
2707
|
+
]
|
|
2708
|
+
},
|
|
2709
|
+
{
|
|
2710
|
+
"id": "1e6b8797f5279a1f",
|
|
2711
|
+
"type": "inject",
|
|
2712
|
+
"z": "4138921fd7b9a926",
|
|
2713
|
+
"name": "{\"Brightness\":40,\"On\":true,\"ColorTemperature\":242}",
|
|
2714
|
+
"props": [
|
|
2715
|
+
{
|
|
2716
|
+
"p": "payload"
|
|
2682
2717
|
},
|
|
2683
2718
|
{
|
|
2684
|
-
"
|
|
2719
|
+
"p": "topic",
|
|
2720
|
+
"vt": "str"
|
|
2685
2721
|
}
|
|
2686
2722
|
],
|
|
2687
|
-
"
|
|
2688
|
-
"
|
|
2689
|
-
"
|
|
2690
|
-
"
|
|
2691
|
-
"
|
|
2723
|
+
"repeat": "",
|
|
2724
|
+
"crontab": "",
|
|
2725
|
+
"once": false,
|
|
2726
|
+
"onceDelay": 0.1,
|
|
2727
|
+
"topic": "",
|
|
2728
|
+
"payload": "{\"Brightness\":40,\"On\":true,\"ColorTemperature\":242}",
|
|
2729
|
+
"payloadType": "json",
|
|
2730
|
+
"x": 290,
|
|
2731
|
+
"y": 260,
|
|
2692
2732
|
"wires": [
|
|
2693
2733
|
[
|
|
2694
|
-
"
|
|
2695
|
-
]
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2734
|
+
"50af5bb963e4a186"
|
|
2735
|
+
]
|
|
2736
|
+
]
|
|
2737
|
+
},
|
|
2738
|
+
{
|
|
2739
|
+
"id": "4bb2bae9fe4ffbbb",
|
|
2740
|
+
"type": "hb-status",
|
|
2741
|
+
"z": "4138921fd7b9a926",
|
|
2742
|
+
"name": "Floor Lamp One",
|
|
2743
|
+
"Homebridge": "homebridge",
|
|
2744
|
+
"Manufacturer": "Signify Netherlands B.V.",
|
|
2745
|
+
"Service": "Lightbulb",
|
|
2746
|
+
"device": "homebridgeCC:22:3D:E3:CF:33Signify Netherlands B.V.Floor Lamp One00000043",
|
|
2747
|
+
"conf": "7e647d67.f33acc",
|
|
2748
|
+
"x": 300,
|
|
2749
|
+
"y": 440,
|
|
2750
|
+
"wires": [
|
|
2700
2751
|
[
|
|
2701
|
-
"
|
|
2752
|
+
"96ad615138d1254e"
|
|
2702
2753
|
]
|
|
2703
2754
|
]
|
|
2704
2755
|
},
|
|
2705
2756
|
{
|
|
2706
|
-
"id": "
|
|
2757
|
+
"id": "96ad615138d1254e",
|
|
2707
2758
|
"type": "debug",
|
|
2708
2759
|
"z": "4138921fd7b9a926",
|
|
2709
2760
|
"name": "debug 18",
|
|
2710
|
-
"active":
|
|
2761
|
+
"active": true,
|
|
2711
2762
|
"tosidebar": true,
|
|
2712
2763
|
"console": false,
|
|
2713
2764
|
"tostatus": true,
|
|
2714
|
-
"complete": "
|
|
2715
|
-
"targetType": "
|
|
2716
|
-
"statusVal": "
|
|
2765
|
+
"complete": "payload",
|
|
2766
|
+
"targetType": "msg",
|
|
2767
|
+
"statusVal": "payload",
|
|
2717
2768
|
"statusType": "auto",
|
|
2718
|
-
"x":
|
|
2719
|
-
"y":
|
|
2769
|
+
"x": 520,
|
|
2770
|
+
"y": 400,
|
|
2720
2771
|
"wires": []
|
|
2721
2772
|
},
|
|
2722
2773
|
{
|
|
2723
|
-
"id": "
|
|
2724
|
-
"type": "
|
|
2774
|
+
"id": "7b085aa32101811e",
|
|
2775
|
+
"type": "hb-event",
|
|
2725
2776
|
"z": "4138921fd7b9a926",
|
|
2726
|
-
"name": "
|
|
2727
|
-
"
|
|
2728
|
-
"
|
|
2729
|
-
"
|
|
2730
|
-
"
|
|
2731
|
-
"
|
|
2732
|
-
"
|
|
2733
|
-
"
|
|
2734
|
-
"
|
|
2735
|
-
"
|
|
2777
|
+
"name": "Floor Lamp One",
|
|
2778
|
+
"Homebridge": "homebridge",
|
|
2779
|
+
"Manufacturer": "Signify Netherlands B.V.",
|
|
2780
|
+
"Service": "Lightbulb",
|
|
2781
|
+
"device": "homebridgeCC:22:3D:E3:CF:33Signify Netherlands B.V.Floor Lamp One00000043",
|
|
2782
|
+
"conf": "7e647d67.f33acc",
|
|
2783
|
+
"sendInitialState": true,
|
|
2784
|
+
"x": 300,
|
|
2785
|
+
"y": 360,
|
|
2786
|
+
"wires": [
|
|
2787
|
+
[
|
|
2788
|
+
"96ad615138d1254e"
|
|
2789
|
+
]
|
|
2790
|
+
]
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
"id": "247bb4b9017d5ed3",
|
|
2794
|
+
"type": "catch",
|
|
2795
|
+
"z": "4138921fd7b9a926",
|
|
2796
|
+
"name": "",
|
|
2797
|
+
"scope": null,
|
|
2798
|
+
"uncaught": false,
|
|
2799
|
+
"x": 280,
|
|
2800
|
+
"y": 520,
|
|
2736
2801
|
"wires": [
|
|
2737
2802
|
[
|
|
2738
|
-
"
|
|
2739
|
-
"45cb1d621afc9b52"
|
|
2803
|
+
"ecfe37f30b4b452f"
|
|
2740
2804
|
]
|
|
2741
2805
|
]
|
|
2742
2806
|
},
|
|
2743
2807
|
{
|
|
2744
|
-
"id": "
|
|
2808
|
+
"id": "ecfe37f30b4b452f",
|
|
2745
2809
|
"type": "debug",
|
|
2746
2810
|
"z": "4138921fd7b9a926",
|
|
2747
2811
|
"name": "debug 19",
|
|
2748
|
-
"active":
|
|
2812
|
+
"active": true,
|
|
2749
2813
|
"tosidebar": true,
|
|
2750
2814
|
"console": false,
|
|
2751
2815
|
"tostatus": true,
|
|
2752
2816
|
"complete": "payload",
|
|
2753
2817
|
"targetType": "msg",
|
|
2754
|
-
"statusVal": "
|
|
2755
|
-
"statusType": "
|
|
2756
|
-
"x":
|
|
2757
|
-
"y":
|
|
2818
|
+
"statusVal": "payload",
|
|
2819
|
+
"statusType": "auto",
|
|
2820
|
+
"x": 540,
|
|
2821
|
+
"y": 520,
|
|
2758
2822
|
"wires": []
|
|
2759
2823
|
},
|
|
2760
2824
|
{
|
|
2761
|
-
"id": "
|
|
2825
|
+
"id": "f775ab948cea1532",
|
|
2826
|
+
"type": "status",
|
|
2827
|
+
"z": "4138921fd7b9a926",
|
|
2828
|
+
"name": "",
|
|
2829
|
+
"scope": null,
|
|
2830
|
+
"x": 280,
|
|
2831
|
+
"y": 580,
|
|
2832
|
+
"wires": [
|
|
2833
|
+
[]
|
|
2834
|
+
]
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
"id": "dd3e9950ef4f1482",
|
|
2762
2838
|
"type": "debug",
|
|
2763
2839
|
"z": "4138921fd7b9a926",
|
|
2764
2840
|
"name": "debug 20",
|
|
2765
|
-
"active":
|
|
2841
|
+
"active": true,
|
|
2766
2842
|
"tosidebar": true,
|
|
2767
2843
|
"console": false,
|
|
2768
2844
|
"tostatus": true,
|
|
2769
|
-
"complete": "
|
|
2770
|
-
"targetType": "
|
|
2771
|
-
"statusVal": "
|
|
2772
|
-
"statusType": "
|
|
2773
|
-
"x":
|
|
2774
|
-
"y":
|
|
2845
|
+
"complete": "true",
|
|
2846
|
+
"targetType": "full",
|
|
2847
|
+
"statusVal": "payload",
|
|
2848
|
+
"statusType": "auto",
|
|
2849
|
+
"x": 540,
|
|
2850
|
+
"y": 580,
|
|
2775
2851
|
"wires": []
|
|
2852
|
+
},
|
|
2853
|
+
{
|
|
2854
|
+
"id": "64d1e3d573689b65",
|
|
2855
|
+
"type": "inject",
|
|
2856
|
+
"z": "4138921fd7b9a926",
|
|
2857
|
+
"name": "",
|
|
2858
|
+
"props": [
|
|
2859
|
+
{
|
|
2860
|
+
"p": "payload"
|
|
2861
|
+
},
|
|
2862
|
+
{
|
|
2863
|
+
"p": "topic",
|
|
2864
|
+
"vt": "str"
|
|
2865
|
+
}
|
|
2866
|
+
],
|
|
2867
|
+
"repeat": "",
|
|
2868
|
+
"crontab": "",
|
|
2869
|
+
"once": false,
|
|
2870
|
+
"onceDelay": 0.1,
|
|
2871
|
+
"topic": "",
|
|
2872
|
+
"payload": "{\"ColorTemperature\": false}",
|
|
2873
|
+
"payloadType": "json",
|
|
2874
|
+
"x": 150,
|
|
2875
|
+
"y": 200,
|
|
2876
|
+
"wires": [
|
|
2877
|
+
[
|
|
2878
|
+
"8ba7a5a4aa28dc2f"
|
|
2879
|
+
]
|
|
2880
|
+
]
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
"id": "6df154716efd4949",
|
|
2884
|
+
"type": "hb-event",
|
|
2885
|
+
"z": "92f59d974b9c8a86",
|
|
2886
|
+
"name": "North Sidewalk 6EED",
|
|
2887
|
+
"Homebridge": "ECI-T24F2",
|
|
2888
|
+
"Manufacturer": "HikVision",
|
|
2889
|
+
"Service": "MotionSensor",
|
|
2890
|
+
"device": "ECI-T24F28E:88:AB:7A:D0:54HikVisionNorth Sidewalk 6EED00000085",
|
|
2891
|
+
"conf": "7e647d67.f33acc",
|
|
2892
|
+
"sendInitialState": true,
|
|
2893
|
+
"x": 140,
|
|
2894
|
+
"y": 220,
|
|
2895
|
+
"wires": [
|
|
2896
|
+
[
|
|
2897
|
+
"d376945f7d6314f9",
|
|
2898
|
+
"943911317b27b4bc"
|
|
2899
|
+
]
|
|
2900
|
+
]
|
|
2901
|
+
},
|
|
2902
|
+
{
|
|
2903
|
+
"id": "d376945f7d6314f9",
|
|
2904
|
+
"type": "switch",
|
|
2905
|
+
"z": "92f59d974b9c8a86",
|
|
2906
|
+
"name": "",
|
|
2907
|
+
"property": "payload.MotionDetected",
|
|
2908
|
+
"propertyType": "msg",
|
|
2909
|
+
"rules": [
|
|
2910
|
+
{
|
|
2911
|
+
"t": "eq",
|
|
2912
|
+
"v": "1",
|
|
2913
|
+
"vt": "num"
|
|
2914
|
+
}
|
|
2915
|
+
],
|
|
2916
|
+
"checkall": "true",
|
|
2917
|
+
"repair": false,
|
|
2918
|
+
"outputs": 1,
|
|
2919
|
+
"x": 370,
|
|
2920
|
+
"y": 220,
|
|
2921
|
+
"wires": [
|
|
2922
|
+
[
|
|
2923
|
+
"af0d07b6f7fc7582"
|
|
2924
|
+
]
|
|
2925
|
+
]
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
"id": "af0d07b6f7fc7582",
|
|
2929
|
+
"type": "change",
|
|
2930
|
+
"z": "92f59d974b9c8a86",
|
|
2931
|
+
"name": "",
|
|
2932
|
+
"rules": [
|
|
2933
|
+
{
|
|
2934
|
+
"t": "set",
|
|
2935
|
+
"p": "payload",
|
|
2936
|
+
"pt": "msg",
|
|
2937
|
+
"to": "",
|
|
2938
|
+
"tot": "date"
|
|
2939
|
+
}
|
|
2940
|
+
],
|
|
2941
|
+
"action": "",
|
|
2942
|
+
"property": "",
|
|
2943
|
+
"from": "",
|
|
2944
|
+
"to": "",
|
|
2945
|
+
"reg": false,
|
|
2946
|
+
"x": 540,
|
|
2947
|
+
"y": 220,
|
|
2948
|
+
"wires": [
|
|
2949
|
+
[
|
|
2950
|
+
"769d2de2c6bd3544"
|
|
2951
|
+
]
|
|
2952
|
+
]
|
|
2953
|
+
},
|
|
2954
|
+
{
|
|
2955
|
+
"id": "769d2de2c6bd3544",
|
|
2956
|
+
"type": "hb-control",
|
|
2957
|
+
"z": "92f59d974b9c8a86",
|
|
2958
|
+
"name": "North Sidewalk 6EED",
|
|
2959
|
+
"Homebridge": "ECI-T24F2",
|
|
2960
|
+
"Manufacturer": "HikVision",
|
|
2961
|
+
"Service": "CameraRTPStreamManagement",
|
|
2962
|
+
"device": "ECI-T24F28E:88:AB:7A:D0:54HikVisionNorth Sidewalk 6EED00000110",
|
|
2963
|
+
"conf": "7e647d67.f33acc",
|
|
2964
|
+
"outputs": 1,
|
|
2965
|
+
"x": 760,
|
|
2966
|
+
"y": 220,
|
|
2967
|
+
"wires": [
|
|
2968
|
+
[
|
|
2969
|
+
"1c18c4d5c4cd94db"
|
|
2970
|
+
]
|
|
2971
|
+
]
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
"id": "1c18c4d5c4cd94db",
|
|
2975
|
+
"type": "debug",
|
|
2976
|
+
"z": "92f59d974b9c8a86",
|
|
2977
|
+
"name": "debug 21",
|
|
2978
|
+
"active": true,
|
|
2979
|
+
"tosidebar": true,
|
|
2980
|
+
"console": true,
|
|
2981
|
+
"tostatus": true,
|
|
2982
|
+
"complete": "payload",
|
|
2983
|
+
"targetType": "msg",
|
|
2984
|
+
"statusVal": "payload",
|
|
2985
|
+
"statusType": "auto",
|
|
2986
|
+
"x": 850,
|
|
2987
|
+
"y": 280,
|
|
2988
|
+
"wires": []
|
|
2989
|
+
},
|
|
2990
|
+
{
|
|
2991
|
+
"id": "0f20a38b99769b49",
|
|
2992
|
+
"type": "hb-event",
|
|
2993
|
+
"z": "92f59d974b9c8a86",
|
|
2994
|
+
"name": "Driveway 8E52",
|
|
2995
|
+
"Homebridge": "ECI-T24F2",
|
|
2996
|
+
"Manufacturer": "HikVision",
|
|
2997
|
+
"Service": "MotionSensor",
|
|
2998
|
+
"device": "ECI-T24F2CB:6F:94:DD:43:77HikVisionDriveway 8E5200000085",
|
|
2999
|
+
"conf": "7e647d67.f33acc",
|
|
3000
|
+
"sendInitialState": true,
|
|
3001
|
+
"x": 120,
|
|
3002
|
+
"y": 340,
|
|
3003
|
+
"wires": [
|
|
3004
|
+
[
|
|
3005
|
+
"6529d84b67c5459c",
|
|
3006
|
+
"943911317b27b4bc"
|
|
3007
|
+
]
|
|
3008
|
+
]
|
|
3009
|
+
},
|
|
3010
|
+
{
|
|
3011
|
+
"id": "6529d84b67c5459c",
|
|
3012
|
+
"type": "switch",
|
|
3013
|
+
"z": "92f59d974b9c8a86",
|
|
3014
|
+
"name": "",
|
|
3015
|
+
"property": "payload.MotionDetected",
|
|
3016
|
+
"propertyType": "msg",
|
|
3017
|
+
"rules": [
|
|
3018
|
+
{
|
|
3019
|
+
"t": "eq",
|
|
3020
|
+
"v": "1",
|
|
3021
|
+
"vt": "num"
|
|
3022
|
+
}
|
|
3023
|
+
],
|
|
3024
|
+
"checkall": "true",
|
|
3025
|
+
"repair": false,
|
|
3026
|
+
"outputs": 1,
|
|
3027
|
+
"x": 330,
|
|
3028
|
+
"y": 340,
|
|
3029
|
+
"wires": [
|
|
3030
|
+
[
|
|
3031
|
+
"339bbd909e720f6a"
|
|
3032
|
+
]
|
|
3033
|
+
]
|
|
3034
|
+
},
|
|
3035
|
+
{
|
|
3036
|
+
"id": "339bbd909e720f6a",
|
|
3037
|
+
"type": "change",
|
|
3038
|
+
"z": "92f59d974b9c8a86",
|
|
3039
|
+
"name": "",
|
|
3040
|
+
"rules": [
|
|
3041
|
+
{
|
|
3042
|
+
"t": "set",
|
|
3043
|
+
"p": "payload",
|
|
3044
|
+
"pt": "msg",
|
|
3045
|
+
"to": "",
|
|
3046
|
+
"tot": "date"
|
|
3047
|
+
}
|
|
3048
|
+
],
|
|
3049
|
+
"action": "",
|
|
3050
|
+
"property": "",
|
|
3051
|
+
"from": "",
|
|
3052
|
+
"to": "",
|
|
3053
|
+
"reg": false,
|
|
3054
|
+
"x": 540,
|
|
3055
|
+
"y": 340,
|
|
3056
|
+
"wires": [
|
|
3057
|
+
[
|
|
3058
|
+
"6376743020f33cad"
|
|
3059
|
+
]
|
|
3060
|
+
]
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
"id": "6376743020f33cad",
|
|
3064
|
+
"type": "hb-control",
|
|
3065
|
+
"z": "92f59d974b9c8a86",
|
|
3066
|
+
"name": "Driveway 8E52",
|
|
3067
|
+
"Homebridge": "ECI-T24F2",
|
|
3068
|
+
"Manufacturer": "HikVision",
|
|
3069
|
+
"Service": "CameraRTPStreamManagement",
|
|
3070
|
+
"device": "ECI-T24F2CB:6F:94:DD:43:77HikVisionDriveway 8E5200000110",
|
|
3071
|
+
"conf": "7e647d67.f33acc",
|
|
3072
|
+
"outputs": 1,
|
|
3073
|
+
"x": 740,
|
|
3074
|
+
"y": 340,
|
|
3075
|
+
"wires": [
|
|
3076
|
+
[
|
|
3077
|
+
"1c18c4d5c4cd94db"
|
|
3078
|
+
]
|
|
3079
|
+
]
|
|
3080
|
+
},
|
|
3081
|
+
{
|
|
3082
|
+
"id": "6ffdb50055b87417",
|
|
3083
|
+
"type": "inject",
|
|
3084
|
+
"z": "92f59d974b9c8a86",
|
|
3085
|
+
"name": "",
|
|
3086
|
+
"props": [
|
|
3087
|
+
{
|
|
3088
|
+
"p": "payload"
|
|
3089
|
+
},
|
|
3090
|
+
{
|
|
3091
|
+
"p": "topic",
|
|
3092
|
+
"vt": "str"
|
|
3093
|
+
}
|
|
3094
|
+
],
|
|
3095
|
+
"repeat": "",
|
|
3096
|
+
"crontab": "",
|
|
3097
|
+
"once": false,
|
|
3098
|
+
"onceDelay": 0.1,
|
|
3099
|
+
"topic": "",
|
|
3100
|
+
"payload": "{ \"MotionDetected\": 1 }",
|
|
3101
|
+
"payloadType": "json",
|
|
3102
|
+
"x": 180,
|
|
3103
|
+
"y": 500,
|
|
3104
|
+
"wires": [
|
|
3105
|
+
[
|
|
3106
|
+
"6529d84b67c5459c"
|
|
3107
|
+
]
|
|
3108
|
+
]
|
|
3109
|
+
},
|
|
3110
|
+
{
|
|
3111
|
+
"id": "943911317b27b4bc",
|
|
3112
|
+
"type": "debug",
|
|
3113
|
+
"z": "92f59d974b9c8a86",
|
|
3114
|
+
"name": "debug 22",
|
|
3115
|
+
"active": true,
|
|
3116
|
+
"tosidebar": true,
|
|
3117
|
+
"console": true,
|
|
3118
|
+
"tostatus": true,
|
|
3119
|
+
"complete": "payload",
|
|
3120
|
+
"targetType": "msg",
|
|
3121
|
+
"statusVal": "payload",
|
|
3122
|
+
"statusType": "auto",
|
|
3123
|
+
"x": 710,
|
|
3124
|
+
"y": 500,
|
|
3125
|
+
"wires": []
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
"id": "ce6f12b351ca78bc",
|
|
3129
|
+
"type": "inject",
|
|
3130
|
+
"z": "92f59d974b9c8a86",
|
|
3131
|
+
"name": "",
|
|
3132
|
+
"props": [
|
|
3133
|
+
{
|
|
3134
|
+
"p": "payload"
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
"p": "topic",
|
|
3138
|
+
"vt": "str"
|
|
3139
|
+
}
|
|
3140
|
+
],
|
|
3141
|
+
"repeat": "",
|
|
3142
|
+
"crontab": "",
|
|
3143
|
+
"once": false,
|
|
3144
|
+
"onceDelay": 0.1,
|
|
3145
|
+
"topic": "",
|
|
3146
|
+
"payload": "{ \"MotionDetected\": 1 }",
|
|
3147
|
+
"payloadType": "json",
|
|
3148
|
+
"x": 160,
|
|
3149
|
+
"y": 60,
|
|
3150
|
+
"wires": [
|
|
3151
|
+
[
|
|
3152
|
+
"d376945f7d6314f9"
|
|
3153
|
+
]
|
|
3154
|
+
]
|
|
3155
|
+
},
|
|
3156
|
+
{
|
|
3157
|
+
"id": "448a23fd99b4e52a",
|
|
3158
|
+
"type": "hb-event",
|
|
3159
|
+
"z": "92f59d974b9c8a86",
|
|
3160
|
+
"name": "Side door",
|
|
3161
|
+
"Homebridge": "homebridge",
|
|
3162
|
+
"Manufacturer": "Eufy",
|
|
3163
|
+
"Service": "MotionSensor",
|
|
3164
|
+
"device": "homebridge0E:89:A7:DA:D3:21EufySide door00000085",
|
|
3165
|
+
"conf": "7e647d67.f33acc",
|
|
3166
|
+
"sendInitialState": true,
|
|
3167
|
+
"x": 100,
|
|
3168
|
+
"y": 420,
|
|
3169
|
+
"wires": [
|
|
3170
|
+
[
|
|
3171
|
+
"943911317b27b4bc",
|
|
3172
|
+
"5b0570544efae122"
|
|
3173
|
+
]
|
|
3174
|
+
]
|
|
3175
|
+
},
|
|
3176
|
+
{
|
|
3177
|
+
"id": "5b0570544efae122",
|
|
3178
|
+
"type": "switch",
|
|
3179
|
+
"z": "92f59d974b9c8a86",
|
|
3180
|
+
"name": "",
|
|
3181
|
+
"property": "payload.MotionDetected",
|
|
3182
|
+
"propertyType": "msg",
|
|
3183
|
+
"rules": [
|
|
3184
|
+
{
|
|
3185
|
+
"t": "eq",
|
|
3186
|
+
"v": "1",
|
|
3187
|
+
"vt": "num"
|
|
3188
|
+
}
|
|
3189
|
+
],
|
|
3190
|
+
"checkall": "true",
|
|
3191
|
+
"repair": false,
|
|
3192
|
+
"outputs": 1,
|
|
3193
|
+
"x": 330,
|
|
3194
|
+
"y": 420,
|
|
3195
|
+
"wires": [
|
|
3196
|
+
[
|
|
3197
|
+
"7840c24c88d831cc"
|
|
3198
|
+
]
|
|
3199
|
+
]
|
|
3200
|
+
},
|
|
3201
|
+
{
|
|
3202
|
+
"id": "7840c24c88d831cc",
|
|
3203
|
+
"type": "change",
|
|
3204
|
+
"z": "92f59d974b9c8a86",
|
|
3205
|
+
"name": "",
|
|
3206
|
+
"rules": [
|
|
3207
|
+
{
|
|
3208
|
+
"t": "set",
|
|
3209
|
+
"p": "payload",
|
|
3210
|
+
"pt": "msg",
|
|
3211
|
+
"to": "",
|
|
3212
|
+
"tot": "date"
|
|
3213
|
+
}
|
|
3214
|
+
],
|
|
3215
|
+
"action": "",
|
|
3216
|
+
"property": "",
|
|
3217
|
+
"from": "",
|
|
3218
|
+
"to": "",
|
|
3219
|
+
"reg": false,
|
|
3220
|
+
"x": 540,
|
|
3221
|
+
"y": 420,
|
|
3222
|
+
"wires": [
|
|
3223
|
+
[
|
|
3224
|
+
"389516e4379cfcc8"
|
|
3225
|
+
]
|
|
3226
|
+
]
|
|
3227
|
+
},
|
|
3228
|
+
{
|
|
3229
|
+
"id": "389516e4379cfcc8",
|
|
3230
|
+
"type": "hb-control",
|
|
3231
|
+
"z": "92f59d974b9c8a86",
|
|
3232
|
+
"name": "Side door",
|
|
3233
|
+
"Homebridge": "homebridge",
|
|
3234
|
+
"Manufacturer": "Eufy",
|
|
3235
|
+
"Service": "CameraRTPStreamManagement",
|
|
3236
|
+
"device": "homebridge0E:89:A7:DA:D3:21EufySide door00000110",
|
|
3237
|
+
"conf": "7e647d67.f33acc",
|
|
3238
|
+
"outputs": 1,
|
|
3239
|
+
"x": 720,
|
|
3240
|
+
"y": 420,
|
|
3241
|
+
"wires": [
|
|
3242
|
+
[
|
|
3243
|
+
"1c18c4d5c4cd94db"
|
|
3244
|
+
]
|
|
3245
|
+
]
|
|
3246
|
+
},
|
|
3247
|
+
{
|
|
3248
|
+
"id": "2802a70d3cd5570b",
|
|
3249
|
+
"type": "hb-event",
|
|
3250
|
+
"z": "92f59d974b9c8a86",
|
|
3251
|
+
"name": "Canoe 5036",
|
|
3252
|
+
"Homebridge": "ECI-T24F2",
|
|
3253
|
+
"Manufacturer": "HikVision",
|
|
3254
|
+
"Service": "MotionSensor",
|
|
3255
|
+
"device": "ECI-T24F25C:EE:FE:4D:64:B4HikVisionCanoe 503600000085",
|
|
3256
|
+
"conf": "7e647d67.f33acc",
|
|
3257
|
+
"sendInitialState": true,
|
|
3258
|
+
"x": 130,
|
|
3259
|
+
"y": 600,
|
|
3260
|
+
"wires": [
|
|
3261
|
+
[
|
|
3262
|
+
"943911317b27b4bc"
|
|
3263
|
+
]
|
|
3264
|
+
]
|
|
2776
3265
|
}
|
|
2777
3266
|
]
|