node-red-contrib-homebridge-automation 0.3.0-beta.2 → 0.3.0-beta.4
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.
|
@@ -269,24 +269,6 @@
|
|
|
269
269
|
"service": "Lightbulb",
|
|
270
270
|
"manufacturer": "Tasmota"
|
|
271
271
|
},
|
|
272
|
-
{
|
|
273
|
-
"name": "DEVICE Sidedoor",
|
|
274
|
-
"fullName": "DEVICE Sidedoor - Camera Rtp Stream Management",
|
|
275
|
-
"sortName": "DEVICE Sidedoor:CameraRTPStreamManagement",
|
|
276
|
-
"uniqueId": "homebridge0E:89:A7:DA:D3:21Default-ManufacturerDEVICE Sidedoor00000110",
|
|
277
|
-
"homebridge": "homebridge",
|
|
278
|
-
"service": "CameraRTPStreamManagement",
|
|
279
|
-
"manufacturer": "Default-Manufacturer"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"name": "DEVICE Sidedoor",
|
|
283
|
-
"fullName": "DEVICE Sidedoor - Motion Sensor",
|
|
284
|
-
"sortName": "DEVICE Sidedoor:MotionSensor",
|
|
285
|
-
"uniqueId": "homebridge0E:89:A7:DA:D3:21Default-ManufacturerDEVICE Sidedoor00000085",
|
|
286
|
-
"homebridge": "homebridge",
|
|
287
|
-
"service": "MotionSensor",
|
|
288
|
-
"manufacturer": "Default-Manufacturer"
|
|
289
|
-
},
|
|
290
272
|
{
|
|
291
273
|
"name": "Dining Room Chandelier",
|
|
292
274
|
"fullName": "Dining Room Chandelier - Lightbulb",
|
|
@@ -818,6 +800,15 @@
|
|
|
818
800
|
"service": "Battery",
|
|
819
801
|
"manufacturer": "SONOFF"
|
|
820
802
|
},
|
|
803
|
+
{
|
|
804
|
+
"name": "Side door",
|
|
805
|
+
"fullName": "Side door - Camera Rtp Stream Management",
|
|
806
|
+
"sortName": "Side door:CameraRTPStreamManagement",
|
|
807
|
+
"uniqueId": "homebridge0E:89:A7:DA:D3:21EufySide door00000110",
|
|
808
|
+
"homebridge": "homebridge",
|
|
809
|
+
"service": "CameraRTPStreamManagement",
|
|
810
|
+
"manufacturer": "Eufy"
|
|
811
|
+
},
|
|
821
812
|
{
|
|
822
813
|
"name": "Side Door",
|
|
823
814
|
"fullName": "Side Door - Contact Sensor",
|
|
@@ -827,6 +818,15 @@
|
|
|
827
818
|
"service": "ContactSensor",
|
|
828
819
|
"manufacturer": "SONOFF"
|
|
829
820
|
},
|
|
821
|
+
{
|
|
822
|
+
"name": "Side door",
|
|
823
|
+
"fullName": "Side door - Motion Sensor",
|
|
824
|
+
"sortName": "Side door:MotionSensor",
|
|
825
|
+
"uniqueId": "homebridge0E:89:A7:DA:D3:21EufySide door00000085",
|
|
826
|
+
"homebridge": "homebridge",
|
|
827
|
+
"service": "MotionSensor",
|
|
828
|
+
"manufacturer": "Eufy"
|
|
829
|
+
},
|
|
830
830
|
{
|
|
831
831
|
"name": "Small Fridge",
|
|
832
832
|
"fullName": "Small Fridge - Temperature Sensor",
|
|
@@ -962,4 +962,4 @@
|
|
|
962
962
|
"service": "Outlet",
|
|
963
963
|
"manufacturer": "Tasmota"
|
|
964
964
|
}
|
|
965
|
-
]
|
|
965
|
+
]
|
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,6 +39,14 @@
|
|
|
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",
|
|
@@ -2773,5 +2781,279 @@
|
|
|
2773
2781
|
"x": 720,
|
|
2774
2782
|
"y": 200,
|
|
2775
2783
|
"wires": []
|
|
2784
|
+
},
|
|
2785
|
+
{
|
|
2786
|
+
"id": "6df154716efd4949",
|
|
2787
|
+
"type": "hb-event",
|
|
2788
|
+
"z": "92f59d974b9c8a86",
|
|
2789
|
+
"name": "Side door",
|
|
2790
|
+
"Homebridge": "homebridge",
|
|
2791
|
+
"Manufacturer": "Eufy",
|
|
2792
|
+
"Service": "MotionSensor",
|
|
2793
|
+
"device": "homebridge0E:89:A7:DA:D3:21EufySide door00000085",
|
|
2794
|
+
"conf": "7e647d67.f33acc",
|
|
2795
|
+
"sendInitialState": true,
|
|
2796
|
+
"x": 100,
|
|
2797
|
+
"y": 220,
|
|
2798
|
+
"wires": [
|
|
2799
|
+
[
|
|
2800
|
+
"d376945f7d6314f9",
|
|
2801
|
+
"943911317b27b4bc"
|
|
2802
|
+
]
|
|
2803
|
+
]
|
|
2804
|
+
},
|
|
2805
|
+
{
|
|
2806
|
+
"id": "d376945f7d6314f9",
|
|
2807
|
+
"type": "switch",
|
|
2808
|
+
"z": "92f59d974b9c8a86",
|
|
2809
|
+
"name": "",
|
|
2810
|
+
"property": "payload.MotionDetected",
|
|
2811
|
+
"propertyType": "msg",
|
|
2812
|
+
"rules": [
|
|
2813
|
+
{
|
|
2814
|
+
"t": "eq",
|
|
2815
|
+
"v": "1",
|
|
2816
|
+
"vt": "num"
|
|
2817
|
+
}
|
|
2818
|
+
],
|
|
2819
|
+
"checkall": "true",
|
|
2820
|
+
"repair": false,
|
|
2821
|
+
"outputs": 1,
|
|
2822
|
+
"x": 270,
|
|
2823
|
+
"y": 220,
|
|
2824
|
+
"wires": [
|
|
2825
|
+
[
|
|
2826
|
+
"af0d07b6f7fc7582"
|
|
2827
|
+
]
|
|
2828
|
+
]
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
"id": "af0d07b6f7fc7582",
|
|
2832
|
+
"type": "change",
|
|
2833
|
+
"z": "92f59d974b9c8a86",
|
|
2834
|
+
"name": "",
|
|
2835
|
+
"rules": [
|
|
2836
|
+
{
|
|
2837
|
+
"t": "set",
|
|
2838
|
+
"p": "payload",
|
|
2839
|
+
"pt": "msg",
|
|
2840
|
+
"to": "",
|
|
2841
|
+
"tot": "date"
|
|
2842
|
+
}
|
|
2843
|
+
],
|
|
2844
|
+
"action": "",
|
|
2845
|
+
"property": "",
|
|
2846
|
+
"from": "",
|
|
2847
|
+
"to": "",
|
|
2848
|
+
"reg": false,
|
|
2849
|
+
"x": 460,
|
|
2850
|
+
"y": 220,
|
|
2851
|
+
"wires": [
|
|
2852
|
+
[
|
|
2853
|
+
"769d2de2c6bd3544"
|
|
2854
|
+
]
|
|
2855
|
+
]
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"id": "769d2de2c6bd3544",
|
|
2859
|
+
"type": "hb-control",
|
|
2860
|
+
"z": "92f59d974b9c8a86",
|
|
2861
|
+
"name": "Side door",
|
|
2862
|
+
"Homebridge": "homebridge",
|
|
2863
|
+
"Manufacturer": "Eufy",
|
|
2864
|
+
"Service": "CameraRTPStreamManagement",
|
|
2865
|
+
"device": "homebridge0E:89:A7:DA:D3:21EufySide door00000110",
|
|
2866
|
+
"conf": "7e647d67.f33acc",
|
|
2867
|
+
"outputs": 1,
|
|
2868
|
+
"x": 660,
|
|
2869
|
+
"y": 220,
|
|
2870
|
+
"wires": [
|
|
2871
|
+
[
|
|
2872
|
+
"1c18c4d5c4cd94db"
|
|
2873
|
+
]
|
|
2874
|
+
]
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
"id": "1c18c4d5c4cd94db",
|
|
2878
|
+
"type": "debug",
|
|
2879
|
+
"z": "92f59d974b9c8a86",
|
|
2880
|
+
"name": "debug 21",
|
|
2881
|
+
"active": true,
|
|
2882
|
+
"tosidebar": true,
|
|
2883
|
+
"console": false,
|
|
2884
|
+
"tostatus": true,
|
|
2885
|
+
"complete": "payload",
|
|
2886
|
+
"targetType": "msg",
|
|
2887
|
+
"statusVal": "payload",
|
|
2888
|
+
"statusType": "auto",
|
|
2889
|
+
"x": 840,
|
|
2890
|
+
"y": 280,
|
|
2891
|
+
"wires": []
|
|
2892
|
+
},
|
|
2893
|
+
{
|
|
2894
|
+
"id": "0f20a38b99769b49",
|
|
2895
|
+
"type": "hb-event",
|
|
2896
|
+
"z": "92f59d974b9c8a86",
|
|
2897
|
+
"name": "Driveway 8E52",
|
|
2898
|
+
"Homebridge": "ECI-T24F2",
|
|
2899
|
+
"Manufacturer": "HikVision",
|
|
2900
|
+
"Service": "MotionSensor",
|
|
2901
|
+
"device": "ECI-T24F2CB:6F:94:DD:43:77HikVisionDriveway 8E5200000085",
|
|
2902
|
+
"conf": "7e647d67.f33acc",
|
|
2903
|
+
"sendInitialState": true,
|
|
2904
|
+
"x": 120,
|
|
2905
|
+
"y": 340,
|
|
2906
|
+
"wires": [
|
|
2907
|
+
[
|
|
2908
|
+
"6529d84b67c5459c",
|
|
2909
|
+
"943911317b27b4bc"
|
|
2910
|
+
]
|
|
2911
|
+
]
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"id": "6529d84b67c5459c",
|
|
2915
|
+
"type": "switch",
|
|
2916
|
+
"z": "92f59d974b9c8a86",
|
|
2917
|
+
"name": "",
|
|
2918
|
+
"property": "payload.MotionDetected",
|
|
2919
|
+
"propertyType": "msg",
|
|
2920
|
+
"rules": [
|
|
2921
|
+
{
|
|
2922
|
+
"t": "eq",
|
|
2923
|
+
"v": "1",
|
|
2924
|
+
"vt": "num"
|
|
2925
|
+
}
|
|
2926
|
+
],
|
|
2927
|
+
"checkall": "true",
|
|
2928
|
+
"repair": false,
|
|
2929
|
+
"outputs": 1,
|
|
2930
|
+
"x": 270,
|
|
2931
|
+
"y": 340,
|
|
2932
|
+
"wires": [
|
|
2933
|
+
[
|
|
2934
|
+
"339bbd909e720f6a"
|
|
2935
|
+
]
|
|
2936
|
+
]
|
|
2937
|
+
},
|
|
2938
|
+
{
|
|
2939
|
+
"id": "339bbd909e720f6a",
|
|
2940
|
+
"type": "change",
|
|
2941
|
+
"z": "92f59d974b9c8a86",
|
|
2942
|
+
"name": "",
|
|
2943
|
+
"rules": [
|
|
2944
|
+
{
|
|
2945
|
+
"t": "set",
|
|
2946
|
+
"p": "payload",
|
|
2947
|
+
"pt": "msg",
|
|
2948
|
+
"to": "",
|
|
2949
|
+
"tot": "date"
|
|
2950
|
+
}
|
|
2951
|
+
],
|
|
2952
|
+
"action": "",
|
|
2953
|
+
"property": "",
|
|
2954
|
+
"from": "",
|
|
2955
|
+
"to": "",
|
|
2956
|
+
"reg": false,
|
|
2957
|
+
"x": 460,
|
|
2958
|
+
"y": 340,
|
|
2959
|
+
"wires": [
|
|
2960
|
+
[
|
|
2961
|
+
"6376743020f33cad"
|
|
2962
|
+
]
|
|
2963
|
+
]
|
|
2964
|
+
},
|
|
2965
|
+
{
|
|
2966
|
+
"id": "6376743020f33cad",
|
|
2967
|
+
"type": "hb-control",
|
|
2968
|
+
"z": "92f59d974b9c8a86",
|
|
2969
|
+
"name": "Driveway 8E52",
|
|
2970
|
+
"Homebridge": "ECI-T24F2",
|
|
2971
|
+
"Manufacturer": "HikVision",
|
|
2972
|
+
"Service": "CameraRTPStreamManagement",
|
|
2973
|
+
"device": "ECI-T24F2CB:6F:94:DD:43:77HikVisionDriveway 8E5200000110",
|
|
2974
|
+
"conf": "7e647d67.f33acc",
|
|
2975
|
+
"outputs": 1,
|
|
2976
|
+
"x": 680,
|
|
2977
|
+
"y": 340,
|
|
2978
|
+
"wires": [
|
|
2979
|
+
[
|
|
2980
|
+
"1c18c4d5c4cd94db"
|
|
2981
|
+
]
|
|
2982
|
+
]
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"id": "6ffdb50055b87417",
|
|
2986
|
+
"type": "inject",
|
|
2987
|
+
"z": "92f59d974b9c8a86",
|
|
2988
|
+
"name": "",
|
|
2989
|
+
"props": [
|
|
2990
|
+
{
|
|
2991
|
+
"p": "payload"
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"p": "topic",
|
|
2995
|
+
"vt": "str"
|
|
2996
|
+
}
|
|
2997
|
+
],
|
|
2998
|
+
"repeat": "",
|
|
2999
|
+
"crontab": "",
|
|
3000
|
+
"once": false,
|
|
3001
|
+
"onceDelay": 0.1,
|
|
3002
|
+
"topic": "",
|
|
3003
|
+
"payload": "{ \"MotionDetected\": 1 }",
|
|
3004
|
+
"payloadType": "json",
|
|
3005
|
+
"x": 180,
|
|
3006
|
+
"y": 500,
|
|
3007
|
+
"wires": [
|
|
3008
|
+
[
|
|
3009
|
+
"6529d84b67c5459c"
|
|
3010
|
+
]
|
|
3011
|
+
]
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
"id": "943911317b27b4bc",
|
|
3015
|
+
"type": "debug",
|
|
3016
|
+
"z": "92f59d974b9c8a86",
|
|
3017
|
+
"name": "debug 22",
|
|
3018
|
+
"active": true,
|
|
3019
|
+
"tosidebar": true,
|
|
3020
|
+
"console": false,
|
|
3021
|
+
"tostatus": true,
|
|
3022
|
+
"complete": "payload",
|
|
3023
|
+
"targetType": "msg",
|
|
3024
|
+
"statusVal": "payload",
|
|
3025
|
+
"statusType": "auto",
|
|
3026
|
+
"x": 700,
|
|
3027
|
+
"y": 500,
|
|
3028
|
+
"wires": []
|
|
3029
|
+
},
|
|
3030
|
+
{
|
|
3031
|
+
"id": "ce6f12b351ca78bc",
|
|
3032
|
+
"type": "inject",
|
|
3033
|
+
"z": "92f59d974b9c8a86",
|
|
3034
|
+
"name": "",
|
|
3035
|
+
"props": [
|
|
3036
|
+
{
|
|
3037
|
+
"p": "payload"
|
|
3038
|
+
},
|
|
3039
|
+
{
|
|
3040
|
+
"p": "topic",
|
|
3041
|
+
"vt": "str"
|
|
3042
|
+
}
|
|
3043
|
+
],
|
|
3044
|
+
"repeat": "",
|
|
3045
|
+
"crontab": "",
|
|
3046
|
+
"once": false,
|
|
3047
|
+
"onceDelay": 0.1,
|
|
3048
|
+
"topic": "",
|
|
3049
|
+
"payload": "{ \"MotionDetected\": 1 }",
|
|
3050
|
+
"payloadType": "json",
|
|
3051
|
+
"x": 160,
|
|
3052
|
+
"y": 60,
|
|
3053
|
+
"wires": [
|
|
3054
|
+
[
|
|
3055
|
+
"d376945f7d6314f9"
|
|
3056
|
+
]
|
|
3057
|
+
]
|
|
2776
3058
|
}
|
|
2777
3059
|
]
|