iobroker.device-watcher 2.6.1 → 2.7.0
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 +23 -1
- package/admin/i18n/de/translations.json +10 -1
- package/admin/i18n/en/translations.json +10 -1
- package/admin/i18n/es/translations.json +10 -1
- package/admin/i18n/fr/translations.json +10 -1
- package/admin/i18n/it/translations.json +10 -1
- package/admin/i18n/nl/translations.json +10 -1
- package/admin/i18n/pl/translations.json +10 -1
- package/admin/i18n/pt/translations.json +10 -1
- package/admin/i18n/ru/translations.json +10 -1
- package/admin/i18n/uk/translations.json +10 -1
- package/admin/i18n/zh-cn/translations.json +10 -1
- package/admin/jsonConfig.json +266 -154
- package/io-package.json +20 -15
- package/lib/arrApart.js +14 -1
- package/main.js +681 -182
- package/package.json +4 -4
package/admin/jsonConfig.json
CHANGED
|
@@ -93,6 +93,13 @@
|
|
|
93
93
|
"lg": 3,
|
|
94
94
|
"label": "fullyBrowser"
|
|
95
95
|
},
|
|
96
|
+
"fullyMQTTDevices": {
|
|
97
|
+
"type": "checkbox",
|
|
98
|
+
"sm": 6,
|
|
99
|
+
"md": 6,
|
|
100
|
+
"lg": 3,
|
|
101
|
+
"label": "Fully-MQTT"
|
|
102
|
+
},
|
|
96
103
|
"hamDevices": {
|
|
97
104
|
"type": "checkbox",
|
|
98
105
|
"sm": 6,
|
|
@@ -655,7 +662,7 @@
|
|
|
655
662
|
}
|
|
656
663
|
}
|
|
657
664
|
},
|
|
658
|
-
"
|
|
665
|
+
"_trenner": {
|
|
659
666
|
"newLine": true,
|
|
660
667
|
"type": "divider"
|
|
661
668
|
},
|
|
@@ -676,7 +683,7 @@
|
|
|
676
683
|
"label": "Overview of low battery devices",
|
|
677
684
|
"help": "Get a regular message with an overview all low battery devices"
|
|
678
685
|
},
|
|
679
|
-
"
|
|
686
|
+
"_chooseDay": {
|
|
680
687
|
"newLine": true,
|
|
681
688
|
"sm": 12,
|
|
682
689
|
"md": 12,
|
|
@@ -745,7 +752,7 @@
|
|
|
745
752
|
}
|
|
746
753
|
}
|
|
747
754
|
},
|
|
748
|
-
"
|
|
755
|
+
"_trennerZwei": {
|
|
749
756
|
"newLine": true,
|
|
750
757
|
"type": "divider"
|
|
751
758
|
},
|
|
@@ -863,7 +870,7 @@
|
|
|
863
870
|
"text": "Notification Service",
|
|
864
871
|
"size": 2
|
|
865
872
|
},
|
|
866
|
-
"
|
|
873
|
+
"_msgServiceText": {
|
|
867
874
|
"type": "staticText",
|
|
868
875
|
"text": "Here you can choose your notification service, you can use more than one service, but you can also leave all blank, then only the datapoint lastNotification will be filled.",
|
|
869
876
|
"style": {
|
|
@@ -877,146 +884,211 @@
|
|
|
877
884
|
"help": "Choose your notification services",
|
|
878
885
|
"options": [
|
|
879
886
|
{ "label": "Please choose", "value": "none" },
|
|
880
|
-
{ "label": "Pushover", "value": "pushover" },
|
|
881
|
-
{ "label": "Telegram", "value": "telegram" },
|
|
882
|
-
{ "label": "Whatsapp", "value": "whatsapp" },
|
|
883
|
-
{ "label": "Signal", "value": "signal" },
|
|
884
887
|
{ "label": "E-Mail", "value": "email" },
|
|
885
888
|
{ "label": "Jarvis", "value": "jarvis" },
|
|
886
889
|
{ "label": "Lovelace", "value": "lovelace" },
|
|
887
|
-
{ "label": "
|
|
890
|
+
{ "label": "Matrix", "value": "matrix" },
|
|
891
|
+
{ "label": "Pushover", "value": "pushover" },
|
|
892
|
+
{ "label": "Signal", "value": "signal" },
|
|
893
|
+
{ "label": "Synochat", "value": "synochat" },
|
|
894
|
+
{ "label": "Telegram", "value": "telegram" },
|
|
895
|
+
{ "label": "Whatsapp", "value": "whatsapp" }
|
|
888
896
|
],
|
|
889
897
|
"default": "none"
|
|
890
898
|
},
|
|
891
|
-
"
|
|
899
|
+
"_headerEmail": {
|
|
892
900
|
"newLine": true,
|
|
893
901
|
"type": "header",
|
|
894
|
-
"text": "
|
|
902
|
+
"text": "Email",
|
|
895
903
|
"size": 2,
|
|
896
|
-
"hidden": "data.msgService !== '
|
|
904
|
+
"hidden": "data.msgService !== 'email' && !data.instanceEmail",
|
|
897
905
|
"hideOnlyControl": false
|
|
898
906
|
},
|
|
899
|
-
"
|
|
907
|
+
"instanceEmail": {
|
|
900
908
|
"newLine": true,
|
|
901
909
|
"type": "instance",
|
|
902
|
-
"adapter": "
|
|
910
|
+
"adapter": "email",
|
|
903
911
|
"all": false,
|
|
904
912
|
"allowDeactivate": true,
|
|
905
913
|
"sm": 12,
|
|
906
914
|
"md": 4,
|
|
907
915
|
"lg": 4,
|
|
908
|
-
"label": "
|
|
909
|
-
"help": "Please choose the
|
|
910
|
-
"hidden": "data.msgService !== '
|
|
916
|
+
"label": "Email Instance",
|
|
917
|
+
"help": "Please choose the email instance",
|
|
918
|
+
"hidden": "data.msgService !== 'email' && !data.instanceEmail",
|
|
911
919
|
"hideOnlyControl": false
|
|
912
920
|
},
|
|
913
|
-
"
|
|
921
|
+
"sendToEmail": {
|
|
914
922
|
"type": "text",
|
|
915
923
|
"sm": 12,
|
|
916
924
|
"md": 4,
|
|
917
925
|
"lg": 4,
|
|
918
|
-
"label": "
|
|
919
|
-
"help": "Choose your
|
|
920
|
-
"hidden": "data.msgService !== '
|
|
926
|
+
"label": "Send to (optional)",
|
|
927
|
+
"help": "Choose your email address",
|
|
928
|
+
"hidden": "data.msgService !== 'email' && !data.instanceEmail",
|
|
921
929
|
"hideOnlyControl": false
|
|
922
930
|
},
|
|
923
|
-
"
|
|
924
|
-
"type": "
|
|
931
|
+
"subjectEmail": {
|
|
932
|
+
"type": "text",
|
|
925
933
|
"sm": 12,
|
|
926
934
|
"md": 4,
|
|
927
935
|
"lg": 4,
|
|
928
|
-
"
|
|
929
|
-
"
|
|
930
|
-
|
|
931
|
-
{ "label": "High Priority", "value": 1 },
|
|
932
|
-
{ "label": "Silent", "value": -1 },
|
|
933
|
-
{ "label": "With confirmation", "value": 2 }
|
|
934
|
-
],
|
|
935
|
-
"hidden": "data.msgService !== 'pushover'",
|
|
936
|
+
"label": "Subject (optional)",
|
|
937
|
+
"help": "Choose your subject for the Email",
|
|
938
|
+
"hidden": "data.msgService !== 'email' && !data.instanceEmail",
|
|
936
939
|
"hideOnlyControl": false
|
|
937
940
|
},
|
|
938
|
-
"
|
|
941
|
+
"headerJarvis": {
|
|
942
|
+
"newLine": "true",
|
|
943
|
+
"type": "header",
|
|
944
|
+
"text": "Jarvis Notification",
|
|
945
|
+
"size": 2,
|
|
946
|
+
"hidden": "data.msgService !== 'jarvis' && !data.instanceJarvis",
|
|
947
|
+
"hideOnlyControl": false
|
|
948
|
+
},
|
|
949
|
+
"instanceJarvis": {
|
|
950
|
+
"newLine": true,
|
|
951
|
+
"type": "instance",
|
|
952
|
+
"adapter": "jarvis",
|
|
953
|
+
"allowDeactivate": true,
|
|
954
|
+
"all": false,
|
|
955
|
+
"sm": 12,
|
|
956
|
+
"md": 4,
|
|
957
|
+
"lg": 4,
|
|
958
|
+
"label": "Jarvis Instance",
|
|
959
|
+
"help": "Please choose the jarvis instance",
|
|
960
|
+
"hidden": "data.msgService !== 'jarvis' && !data.instanceJarvis",
|
|
961
|
+
"hideOnlyControl": false
|
|
962
|
+
},
|
|
963
|
+
"titleJarvis": {
|
|
939
964
|
"type": "text",
|
|
940
965
|
"sm": 12,
|
|
941
966
|
"md": 4,
|
|
942
967
|
"lg": 4,
|
|
943
968
|
"label": "Title (optional)",
|
|
944
969
|
"help": "Choose your title for Pushmessage",
|
|
945
|
-
"hidden": "data.msgService !== '
|
|
970
|
+
"hidden": "data.msgService !== 'jarvis' && !data.instanceJarvis",
|
|
946
971
|
"hideOnlyControl": false
|
|
947
972
|
},
|
|
948
|
-
"
|
|
973
|
+
"headerLovelace": {
|
|
949
974
|
"newLine": "true",
|
|
950
975
|
"type": "header",
|
|
951
|
-
"text": "
|
|
976
|
+
"text": "Lovelace Notification",
|
|
952
977
|
"size": 2,
|
|
953
|
-
"hidden": "data.msgService !== '
|
|
978
|
+
"hidden": "data.msgService !== 'lovelace' && !data.instanceLovelace",
|
|
954
979
|
"hideOnlyControl": false
|
|
955
980
|
},
|
|
956
|
-
"
|
|
981
|
+
"instanceLovelace": {
|
|
957
982
|
"newLine": true,
|
|
958
983
|
"type": "instance",
|
|
959
|
-
"adapter": "
|
|
960
|
-
"all": false,
|
|
984
|
+
"adapter": "lovelace",
|
|
961
985
|
"allowDeactivate": true,
|
|
986
|
+
"all": false,
|
|
962
987
|
"sm": 12,
|
|
963
988
|
"md": 4,
|
|
964
989
|
"lg": 4,
|
|
965
|
-
"label": "
|
|
966
|
-
"help": "Please choose the
|
|
967
|
-
"hidden": "data.msgService !== '
|
|
990
|
+
"label": "Lovelace Instance",
|
|
991
|
+
"help": "Please choose the lovelace instance",
|
|
992
|
+
"hidden": "data.msgService !== 'lovelace' && !data.instanceLovelace",
|
|
968
993
|
"hideOnlyControl": false
|
|
969
994
|
},
|
|
970
|
-
"
|
|
995
|
+
"titleLovelace": {
|
|
971
996
|
"type": "text",
|
|
972
997
|
"sm": 12,
|
|
973
998
|
"md": 4,
|
|
974
999
|
"lg": 4,
|
|
975
|
-
"label": "
|
|
976
|
-
"help": "Choose your
|
|
977
|
-
"hidden": "data.msgService !== '
|
|
1000
|
+
"label": "Title (optional)",
|
|
1001
|
+
"help": "Choose your title for Pushmessage",
|
|
1002
|
+
"hidden": "data.msgService !== 'lovelace' && !data.instanceLovelace",
|
|
978
1003
|
"hideOnlyControl": false
|
|
979
1004
|
},
|
|
980
|
-
"
|
|
1005
|
+
"headerMatrix": {
|
|
1006
|
+
"newLine": "true",
|
|
1007
|
+
"type": "header",
|
|
1008
|
+
"text": "Matrix",
|
|
1009
|
+
"size": 2,
|
|
1010
|
+
"hidden": "data.msgService !== 'matrix' && !data.instanceMatrix",
|
|
1011
|
+
"hideOnlyControl": false
|
|
1012
|
+
},
|
|
1013
|
+
"instanceMatrix": {
|
|
1014
|
+
"newLine": true,
|
|
1015
|
+
"type": "instance",
|
|
1016
|
+
"adapter": "matrix-org",
|
|
1017
|
+
"allowDeactivate": true,
|
|
1018
|
+
"all": false,
|
|
1019
|
+
"sm": 12,
|
|
1020
|
+
"md": 4,
|
|
1021
|
+
"lg": 4,
|
|
1022
|
+
"label": "Matrix Instance",
|
|
1023
|
+
"help": "Please choose the matrix instance",
|
|
1024
|
+
"hidden": "data.msgService !== 'matrix' && !data.instanceMatrix",
|
|
1025
|
+
"hideOnlyControl": false
|
|
1026
|
+
},
|
|
1027
|
+
"titleMatrix": {
|
|
981
1028
|
"type": "text",
|
|
982
1029
|
"sm": 12,
|
|
983
1030
|
"md": 4,
|
|
984
1031
|
"lg": 4,
|
|
985
|
-
"label": "
|
|
986
|
-
"help": "Choose your
|
|
987
|
-
"hidden": "data.msgService !== '
|
|
1032
|
+
"label": "Title (optional)",
|
|
1033
|
+
"help": "Choose your title for message",
|
|
1034
|
+
"hidden": "data.msgService !== 'matrix' && !data.instanceMatrix",
|
|
988
1035
|
"hideOnlyControl": false
|
|
989
1036
|
},
|
|
990
|
-
"
|
|
991
|
-
"newLine":
|
|
1037
|
+
"_headerPushover": {
|
|
1038
|
+
"newLine": true,
|
|
992
1039
|
"type": "header",
|
|
993
|
-
"text": "
|
|
1040
|
+
"text": "Pushover",
|
|
994
1041
|
"size": 2,
|
|
995
|
-
"hidden": "data.msgService !== '
|
|
1042
|
+
"hidden": "data.msgService !== 'pushover' && !data.instancePushover",
|
|
996
1043
|
"hideOnlyControl": false
|
|
997
1044
|
},
|
|
998
|
-
"
|
|
1045
|
+
"instancePushover": {
|
|
999
1046
|
"newLine": true,
|
|
1000
1047
|
"type": "instance",
|
|
1001
|
-
"adapter": "
|
|
1048
|
+
"adapter": "pushover",
|
|
1002
1049
|
"all": false,
|
|
1003
1050
|
"allowDeactivate": true,
|
|
1004
1051
|
"sm": 12,
|
|
1005
1052
|
"md": 4,
|
|
1006
1053
|
"lg": 4,
|
|
1007
|
-
"label": "
|
|
1008
|
-
"help": "Please choose the
|
|
1009
|
-
"hidden": "data.msgService !== '
|
|
1054
|
+
"label": "Pushover Instance",
|
|
1055
|
+
"help": "Please choose the pushover instance",
|
|
1056
|
+
"hidden": "data.msgService !== 'pushover' && !data.instancePushover",
|
|
1010
1057
|
"hideOnlyControl": false
|
|
1011
1058
|
},
|
|
1012
|
-
"
|
|
1059
|
+
"devicePushover": {
|
|
1013
1060
|
"type": "text",
|
|
1014
1061
|
"sm": 12,
|
|
1015
1062
|
"md": 4,
|
|
1016
1063
|
"lg": 4,
|
|
1017
|
-
"label": "
|
|
1018
|
-
"help": "Choose your
|
|
1019
|
-
"hidden": "data.msgService !== '
|
|
1064
|
+
"label": "Device-ID (optional)",
|
|
1065
|
+
"help": "Choose your device",
|
|
1066
|
+
"hidden": "data.msgService !== 'pushover' && !data.instancePushover",
|
|
1067
|
+
"hideOnlyControl": false
|
|
1068
|
+
},
|
|
1069
|
+
"prioPushover": {
|
|
1070
|
+
"type": "select",
|
|
1071
|
+
"sm": 12,
|
|
1072
|
+
"md": 4,
|
|
1073
|
+
"lg": 4,
|
|
1074
|
+
"help": "Choose the priority",
|
|
1075
|
+
"options": [
|
|
1076
|
+
{ "label": "Normal", "value": "" },
|
|
1077
|
+
{ "label": "High Priority", "value": 1 },
|
|
1078
|
+
{ "label": "Silent", "value": -1 },
|
|
1079
|
+
{ "label": "With confirmation", "value": 2 }
|
|
1080
|
+
],
|
|
1081
|
+
"hidden": "data.msgService !== 'pushover' && !data.instancePushover",
|
|
1082
|
+
"hideOnlyControl": false
|
|
1083
|
+
},
|
|
1084
|
+
"titlePushover": {
|
|
1085
|
+
"type": "text",
|
|
1086
|
+
"sm": 12,
|
|
1087
|
+
"md": 4,
|
|
1088
|
+
"lg": 4,
|
|
1089
|
+
"label": "Title (optional)",
|
|
1090
|
+
"help": "Choose your title for Pushmessage",
|
|
1091
|
+
"hidden": "data.msgService !== 'pushover' && !data.instancePushover",
|
|
1020
1092
|
"hideOnlyControl": false
|
|
1021
1093
|
},
|
|
1022
1094
|
"headerSignal": {
|
|
@@ -1024,7 +1096,7 @@
|
|
|
1024
1096
|
"type": "header",
|
|
1025
1097
|
"text": "Signal",
|
|
1026
1098
|
"size": 2,
|
|
1027
|
-
"hidden": "data.msgService !== 'signal'",
|
|
1099
|
+
"hidden": "data.msgService !== 'signal' && !data.instanceSignal",
|
|
1028
1100
|
"hideOnlyControl": false
|
|
1029
1101
|
},
|
|
1030
1102
|
"instanceSignal": {
|
|
@@ -1038,7 +1110,7 @@
|
|
|
1038
1110
|
"lg": 4,
|
|
1039
1111
|
"label": "Signal Instance",
|
|
1040
1112
|
"help": "Please choose the Signal instance",
|
|
1041
|
-
"hidden": "data.msgService !== 'signal'",
|
|
1113
|
+
"hidden": "data.msgService !== 'signal' && !data.instanceSignal",
|
|
1042
1114
|
"hideOnlyControl": false
|
|
1043
1115
|
},
|
|
1044
1116
|
"phonSignal": {
|
|
@@ -1048,137 +1120,113 @@
|
|
|
1048
1120
|
"lg": 4,
|
|
1049
1121
|
"label": "Recipient (optional)",
|
|
1050
1122
|
"help": "Choose your recipient",
|
|
1051
|
-
"hidden": "data.msgService !== 'signal'",
|
|
1123
|
+
"hidden": "data.msgService !== 'signal' && !data.instanceSignal",
|
|
1052
1124
|
"hideOnlyControl": false
|
|
1053
1125
|
},
|
|
1054
|
-
"
|
|
1055
|
-
"newLine": true,
|
|
1126
|
+
"headerSynochat": {
|
|
1127
|
+
"newLine": "true",
|
|
1056
1128
|
"type": "header",
|
|
1057
|
-
"text": "
|
|
1129
|
+
"text": "Synochat",
|
|
1058
1130
|
"size": 2,
|
|
1059
|
-
"hidden": "data.msgService !== '
|
|
1131
|
+
"hidden": "data.msgService !== 'synochat' && !data.instanceSynochat",
|
|
1060
1132
|
"hideOnlyControl": false
|
|
1061
1133
|
},
|
|
1062
|
-
"
|
|
1134
|
+
"instanceSynochat": {
|
|
1063
1135
|
"newLine": true,
|
|
1064
1136
|
"type": "instance",
|
|
1065
|
-
"adapter": "
|
|
1066
|
-
"all": false,
|
|
1137
|
+
"adapter": "synochat",
|
|
1067
1138
|
"allowDeactivate": true,
|
|
1139
|
+
"all": false,
|
|
1068
1140
|
"sm": 12,
|
|
1069
1141
|
"md": 4,
|
|
1070
1142
|
"lg": 4,
|
|
1071
|
-
"label": "
|
|
1072
|
-
"help": "Please choose the
|
|
1073
|
-
"hidden": "data.msgService !== '
|
|
1074
|
-
"hideOnlyControl": false
|
|
1075
|
-
},
|
|
1076
|
-
"sendToEmail": {
|
|
1077
|
-
"type": "text",
|
|
1078
|
-
"sm": 12,
|
|
1079
|
-
"md": 4,
|
|
1080
|
-
"lg": 4,
|
|
1081
|
-
"label": "Send to (optional)",
|
|
1082
|
-
"help": "Choose your email address",
|
|
1083
|
-
"hidden": "data.msgService !== 'email'",
|
|
1143
|
+
"label": "Synochat Instance",
|
|
1144
|
+
"help": "Please choose the Synochat instance",
|
|
1145
|
+
"hidden": "data.msgService !== 'synochat' && !data.instanceSynochat",
|
|
1084
1146
|
"hideOnlyControl": false
|
|
1085
1147
|
},
|
|
1086
|
-
"
|
|
1148
|
+
"channelSynochat": {
|
|
1087
1149
|
"type": "text",
|
|
1088
1150
|
"sm": 12,
|
|
1089
1151
|
"md": 4,
|
|
1090
1152
|
"lg": 4,
|
|
1091
|
-
"label": "
|
|
1092
|
-
"help": "
|
|
1093
|
-
"hidden": "data.msgService !== '
|
|
1153
|
+
"label": "Channel",
|
|
1154
|
+
"help": "Enter the channelname for Synochat",
|
|
1155
|
+
"hidden": "data.msgService !== 'synochat' && !data.instanceSynochat",
|
|
1094
1156
|
"hideOnlyControl": false
|
|
1095
1157
|
},
|
|
1096
|
-
"
|
|
1158
|
+
"headerTelegram": {
|
|
1097
1159
|
"newLine": "true",
|
|
1098
1160
|
"type": "header",
|
|
1099
|
-
"text": "
|
|
1161
|
+
"text": "Telegram",
|
|
1100
1162
|
"size": 2,
|
|
1101
|
-
"hidden": "data.msgService !== '
|
|
1163
|
+
"hidden": "data.msgService !== 'telegram' && !data.instanceTelegram",
|
|
1102
1164
|
"hideOnlyControl": false
|
|
1103
1165
|
},
|
|
1104
|
-
"
|
|
1166
|
+
"instanceTelegram": {
|
|
1105
1167
|
"newLine": true,
|
|
1106
1168
|
"type": "instance",
|
|
1107
|
-
"adapter": "
|
|
1108
|
-
"allowDeactivate": true,
|
|
1169
|
+
"adapter": "telegram",
|
|
1109
1170
|
"all": false,
|
|
1171
|
+
"allowDeactivate": true,
|
|
1110
1172
|
"sm": 12,
|
|
1111
1173
|
"md": 4,
|
|
1112
1174
|
"lg": 4,
|
|
1113
|
-
"label": "
|
|
1114
|
-
"help": "Please choose the
|
|
1115
|
-
"hidden": "data.msgService !== '
|
|
1175
|
+
"label": "Telegram Instance",
|
|
1176
|
+
"help": "Please choose the telegram instance",
|
|
1177
|
+
"hidden": "data.msgService !== 'telegram' && !data.instanceTelegram",
|
|
1116
1178
|
"hideOnlyControl": false
|
|
1117
1179
|
},
|
|
1118
|
-
"
|
|
1180
|
+
"deviceTelegram": {
|
|
1119
1181
|
"type": "text",
|
|
1120
1182
|
"sm": 12,
|
|
1121
1183
|
"md": 4,
|
|
1122
1184
|
"lg": 4,
|
|
1123
|
-
"label": "
|
|
1124
|
-
"help": "Choose your
|
|
1125
|
-
"hidden": "data.msgService !== '
|
|
1126
|
-
"hideOnlyControl": false
|
|
1127
|
-
},
|
|
1128
|
-
"headerLovelace": {
|
|
1129
|
-
"newLine": "true",
|
|
1130
|
-
"type": "header",
|
|
1131
|
-
"text": "Lovelace Notification",
|
|
1132
|
-
"size": 2,
|
|
1133
|
-
"hidden": "data.msgService !== 'lovelace'",
|
|
1185
|
+
"label": "Device-ID (optional)",
|
|
1186
|
+
"help": "Choose your device",
|
|
1187
|
+
"hidden": "data.msgService !== 'telegram' && !data.instanceTelegram",
|
|
1134
1188
|
"hideOnlyControl": false
|
|
1135
1189
|
},
|
|
1136
|
-
"
|
|
1137
|
-
"
|
|
1138
|
-
"type": "instance",
|
|
1139
|
-
"adapter": "lovelace",
|
|
1140
|
-
"allowDeactivate": true,
|
|
1141
|
-
"all": false,
|
|
1190
|
+
"chatIdTelegram": {
|
|
1191
|
+
"type": "text",
|
|
1142
1192
|
"sm": 12,
|
|
1143
1193
|
"md": 4,
|
|
1144
1194
|
"lg": 4,
|
|
1145
|
-
"label": "
|
|
1146
|
-
"help": "
|
|
1147
|
-
"hidden": "data.msgService !== '
|
|
1195
|
+
"label": "Chat-ID (optional)",
|
|
1196
|
+
"help": "Choose your Chat-ID",
|
|
1197
|
+
"hidden": "data.msgService !== 'telegram' && !data.instanceTelegram",
|
|
1148
1198
|
"hideOnlyControl": false
|
|
1149
1199
|
},
|
|
1150
|
-
"
|
|
1151
|
-
"
|
|
1152
|
-
"
|
|
1153
|
-
"
|
|
1154
|
-
"
|
|
1155
|
-
"
|
|
1156
|
-
"help": "Choose your title for Pushmessage",
|
|
1157
|
-
"hidden": "data.msgService !== 'lovelace'",
|
|
1200
|
+
"headerWhatsapp": {
|
|
1201
|
+
"newLine": "true",
|
|
1202
|
+
"type": "header",
|
|
1203
|
+
"text": "Whatsapp",
|
|
1204
|
+
"size": 2,
|
|
1205
|
+
"hidden": "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
|
|
1158
1206
|
"hideOnlyControl": false
|
|
1159
1207
|
},
|
|
1160
|
-
"
|
|
1208
|
+
"instanceWhatsapp": {
|
|
1161
1209
|
"newLine": true,
|
|
1162
1210
|
"type": "instance",
|
|
1163
|
-
"adapter": "
|
|
1164
|
-
"allowDeactivate": true,
|
|
1211
|
+
"adapter": "whatsapp-cmb",
|
|
1165
1212
|
"all": false,
|
|
1213
|
+
"allowDeactivate": true,
|
|
1166
1214
|
"sm": 12,
|
|
1167
1215
|
"md": 4,
|
|
1168
1216
|
"lg": 4,
|
|
1169
|
-
"label": "
|
|
1170
|
-
"help": "Please choose the
|
|
1171
|
-
"hidden": "data.msgService !== '
|
|
1217
|
+
"label": "Whatsapp Instance",
|
|
1218
|
+
"help": "Please choose the Whatsapp instance",
|
|
1219
|
+
"hidden": "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
|
|
1172
1220
|
"hideOnlyControl": false
|
|
1173
1221
|
},
|
|
1174
|
-
"
|
|
1222
|
+
"phoneWhatapp": {
|
|
1175
1223
|
"type": "text",
|
|
1176
1224
|
"sm": 12,
|
|
1177
1225
|
"md": 4,
|
|
1178
1226
|
"lg": 4,
|
|
1179
|
-
"label": "
|
|
1180
|
-
"help": "
|
|
1181
|
-
"hidden": "data.msgService !== '
|
|
1227
|
+
"label": "Recipient (optional)",
|
|
1228
|
+
"help": "Choose your recipient",
|
|
1229
|
+
"hidden": "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
|
|
1182
1230
|
"hideOnlyControl": false
|
|
1183
1231
|
}
|
|
1184
1232
|
}
|
|
@@ -1187,7 +1235,7 @@
|
|
|
1187
1235
|
"type": "panel",
|
|
1188
1236
|
"label": "Blacklist",
|
|
1189
1237
|
"items": {
|
|
1190
|
-
"
|
|
1238
|
+
"_headerBlacklistInstances": {
|
|
1191
1239
|
"newLine": "true",
|
|
1192
1240
|
"type": "header",
|
|
1193
1241
|
"text": "Instances Blacklist",
|
|
@@ -1219,19 +1267,17 @@
|
|
|
1219
1267
|
"type": "checkbox",
|
|
1220
1268
|
"title": "Ignor in notifications",
|
|
1221
1269
|
"attr": "checkIgnorNotify",
|
|
1222
|
-
"width": "15%"
|
|
1223
|
-
"alsoDependsOn": ["devices"]
|
|
1270
|
+
"width": "15%"
|
|
1224
1271
|
},
|
|
1225
1272
|
{
|
|
1226
1273
|
"type": "checkbox",
|
|
1227
1274
|
"title": "Ignore in lists",
|
|
1228
1275
|
"attr": "checkIgnorLists",
|
|
1229
|
-
"width": "10%"
|
|
1230
|
-
"alsoDependsOn": ["devices"]
|
|
1276
|
+
"width": "10%"
|
|
1231
1277
|
}
|
|
1232
1278
|
]
|
|
1233
1279
|
},
|
|
1234
|
-
"
|
|
1280
|
+
"_headerDevices": {
|
|
1235
1281
|
"newLine": "true",
|
|
1236
1282
|
"type": "header",
|
|
1237
1283
|
"text": "Devices/Services Blacklist",
|
|
@@ -1259,30 +1305,27 @@
|
|
|
1259
1305
|
"type": "checkbox",
|
|
1260
1306
|
"title": "Ignor in notifications",
|
|
1261
1307
|
"attr": "checkIgnorNotify",
|
|
1262
|
-
"width": "15%"
|
|
1263
|
-
"alsoDependsOn": ["devices"]
|
|
1308
|
+
"width": "15%"
|
|
1264
1309
|
},
|
|
1265
1310
|
{
|
|
1266
1311
|
"type": "checkbox",
|
|
1267
1312
|
"title": "Ignore in main lists",
|
|
1268
1313
|
"attr": "checkIgnorLists",
|
|
1269
|
-
"width": "10%"
|
|
1270
|
-
"alsoDependsOn": ["devices"]
|
|
1314
|
+
"width": "10%"
|
|
1271
1315
|
},
|
|
1272
1316
|
{
|
|
1273
1317
|
"type": "checkbox",
|
|
1274
1318
|
"title": "Ignore in lists per adapter",
|
|
1275
1319
|
"attr": "checkIgnorAdapterLists",
|
|
1276
|
-
"width": "10%"
|
|
1277
|
-
"alsoDependsOn": ["devices"]
|
|
1320
|
+
"width": "10%"
|
|
1278
1321
|
}
|
|
1279
1322
|
]
|
|
1280
1323
|
}
|
|
1281
1324
|
}
|
|
1282
1325
|
},
|
|
1283
|
-
"
|
|
1326
|
+
"_otherSettings": {
|
|
1284
1327
|
"type": "panel",
|
|
1285
|
-
"label": "
|
|
1328
|
+
"label": "Other Settings",
|
|
1286
1329
|
"items": {
|
|
1287
1330
|
"_headerOtherSettings": {
|
|
1288
1331
|
"type": "header",
|
|
@@ -1337,7 +1380,7 @@
|
|
|
1337
1380
|
"text": "Update-Interval",
|
|
1338
1381
|
"size": 2
|
|
1339
1382
|
},
|
|
1340
|
-
"
|
|
1383
|
+
"_textUpdateInterval": {
|
|
1341
1384
|
"type": "staticText",
|
|
1342
1385
|
"text": "Here you can define the update interval of the datapoints/lists. For performance reasons, it is not recommended to select a poll value that is too low. Lower than two seconds is not selectable.",
|
|
1343
1386
|
"sm": 12,
|
|
@@ -1358,13 +1401,70 @@
|
|
|
1358
1401
|
"label": "Update-Interval",
|
|
1359
1402
|
"help": "in seconds",
|
|
1360
1403
|
"hideOnlyControl": false
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
"_expertSettings": {
|
|
1408
|
+
"type": "panel",
|
|
1409
|
+
"label": "Expert Settings",
|
|
1410
|
+
"items": {
|
|
1411
|
+
"_headerTimeInstances": {
|
|
1412
|
+
"type": "header",
|
|
1413
|
+
"text": "Error Time for Instances",
|
|
1414
|
+
"size": 2,
|
|
1415
|
+
"hidden": "!data.checkAdapterInstances",
|
|
1416
|
+
"hideOnlyControl": false
|
|
1417
|
+
},
|
|
1418
|
+
"_textTimeInstances": {
|
|
1419
|
+
"type": "staticText",
|
|
1420
|
+
"text": "Here you can define the error time of each instance. The standard value is 20 seconds.",
|
|
1421
|
+
"sm": 12,
|
|
1422
|
+
"md": 12,
|
|
1423
|
+
"lg": 12,
|
|
1424
|
+
"hidden": "!data.checkAdapterInstances",
|
|
1425
|
+
"hideOnlyControl": false,
|
|
1426
|
+
"style": {
|
|
1427
|
+
"fontSize": 16,
|
|
1428
|
+
"marginBottom": 10
|
|
1429
|
+
}
|
|
1430
|
+
},
|
|
1431
|
+
"tableTimeInstance": {
|
|
1432
|
+
"type": "table",
|
|
1433
|
+
"nodelete": true,
|
|
1434
|
+
"sm": 12,
|
|
1435
|
+
"md": 12,
|
|
1436
|
+
"lg": 12,
|
|
1437
|
+
"hidden": "!data.checkAdapterInstances",
|
|
1438
|
+
"hideOnlyControl": false,
|
|
1439
|
+
"items": [
|
|
1440
|
+
{
|
|
1441
|
+
"type": "selectSendTo",
|
|
1442
|
+
"title": "Choose which instances should have a longer downtime",
|
|
1443
|
+
"attr": "instancesTime",
|
|
1444
|
+
"filter": false,
|
|
1445
|
+
"allowAddByFilter": false,
|
|
1446
|
+
"sort": false,
|
|
1447
|
+
"jsonData": "{\"instanceName\":\"${globalData.instanceName}\",\"adapter\":\"${globalData.adapter}\",\"path\":\"${globalData.path}\"}",
|
|
1448
|
+
"command": "instancesListTime",
|
|
1449
|
+
"width": "60%"
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"type": "number",
|
|
1453
|
+
"min": 20,
|
|
1454
|
+
"max": 1000000,
|
|
1455
|
+
"default": 20,
|
|
1456
|
+
"title": "Time in seconds",
|
|
1457
|
+
"attr": "errorTime",
|
|
1458
|
+
"width": "15%"
|
|
1459
|
+
}
|
|
1460
|
+
]
|
|
1361
1461
|
},
|
|
1362
1462
|
"_headerOfflineTime": {
|
|
1363
1463
|
"type": "header",
|
|
1364
1464
|
"text": "Offline Time for devices/services",
|
|
1365
1465
|
"size": 2
|
|
1366
1466
|
},
|
|
1367
|
-
"
|
|
1467
|
+
"_textOfflineTime": {
|
|
1368
1468
|
"type": "staticText",
|
|
1369
1469
|
"text": "Here you can define the offline times of each adapter. If you want to use the data points of the devices/services (online, available, reachable etc.) directly to determine the status, enter ' 0 '.",
|
|
1370
1470
|
"sm": 12,
|
|
@@ -1495,6 +1595,18 @@
|
|
|
1495
1595
|
"hidden": "!data.fullybrowserDevices",
|
|
1496
1596
|
"hideOnlyControl": false
|
|
1497
1597
|
},
|
|
1598
|
+
"fullyMQTTMaxMinutes": {
|
|
1599
|
+
"type": "number",
|
|
1600
|
+
"min": -1,
|
|
1601
|
+
"max": 100000,
|
|
1602
|
+
"sm": 6,
|
|
1603
|
+
"md": 6,
|
|
1604
|
+
"lg": 3,
|
|
1605
|
+
"label": "Fully-MQTT",
|
|
1606
|
+
"help": "in minutes",
|
|
1607
|
+
"hidden": "!data.fullyMQTTDevices",
|
|
1608
|
+
"hideOnlyControl": false
|
|
1609
|
+
},
|
|
1498
1610
|
"hamMaxMinutes": {
|
|
1499
1611
|
"type": "number",
|
|
1500
1612
|
"min": 1,
|