iobroker.device-watcher 1.0.0 → 1.0.1

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 CHANGED
@@ -8,7 +8,7 @@
8
8
  [![GitHub license](https://img.shields.io/github/license/ciddi89/ioBroker.device-watcher)](https://github.com/ciddi89/ioBroker.device-watcher/blob/main/LICENSE)
9
9
  ![GitHub repo size](https://img.shields.io/github/repo-size/ciddi89/ioBroker.device-watcher)
10
10
  ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/ciddi89/ioBroker.device-watcher)
11
- ![GitHub commits since tagged version (branch)](https://img.shields.io/github/commits-since/ciddi89/ioBroker.device-watcher/v1.0.0)
11
+ ![GitHub commits since tagged version (branch)](https://img.shields.io/github/commits-since/ciddi89/ioBroker.device-watcher/v1.0.1)
12
12
  ![GitHub last commit](https://img.shields.io/github/last-commit/ciddi89/ioBroker.device-watcher)
13
13
  ![GitHub issues](https://img.shields.io/github/issues/ciddi89/ioBroker.device-watcher)
14
14
 
@@ -23,7 +23,7 @@
23
23
 
24
24
  ## Device-Watcher adapter for ioBroker
25
25
 
26
- This is a watchdog for wireless devices. The adapter looks for the rssi/link quality and battery states and create JSON lists of them (devices with battery, devices with link quality, devices offline and devices all) and count the devices in the same categories. For example you can use the lists and states for Grafana, Jarvis etc.
26
+ This is a watchdog for devices. The adapter looks for the rssi/link quality and battery states and create JSON & HTML lists of them (devices with battery, devices with low battery, devices with link quality, devices offline and devices all) and count the devices in the same categories. For example you can use the lists and states for Grafana, Jarvis etc.
27
27
 
28
28
  Supported adapters are:
29
29
  * Alexa2
@@ -32,19 +32,30 @@ Supported adapters are:
32
32
  * Enocean
33
33
  * ESPHome
34
34
  * FritzDect
35
+ * HAM
35
36
  * Harmony
37
+ * HmiP
36
38
  * Homematic
37
39
  * Hue
38
40
  * Hue Extended
39
41
  * Jeelink
42
+ * Meross
40
43
  * MiHome
41
44
  * MiHome Vacuum
45
+ * Netatmo
42
46
  * Nuki Extended
47
+ * NUT
43
48
  * Ping (You have to set the option 'Advanced Information / Erweiterte Information' in the instance settings of ping for each device)
49
+ * Roomba
44
50
  * Shelly
45
51
  * Sonoff
46
52
  * Sonos
47
53
  * Switchbot Ble
54
+ * Tado
55
+ * Tradfri
56
+ * Unifi
57
+ * WLED
58
+ * Yeelight
48
59
  * Zigbee
49
60
  * Zwave
50
61
 
@@ -78,12 +89,24 @@ If you found a bug or you have an improvement suggestion, feel free to open an i
78
89
  ![list2.png](admin/images/list2.png)
79
90
  ![list3.png](admin/images/list3.png)
80
91
 
92
+ ## To-Do
93
+ - make blacklist more user-friendly
94
+ - clean up the code
95
+ - add support for reaction on state-changes
81
96
 
82
- ### Changelog
97
+ ## Changelog
83
98
  <!--
84
99
  Placeholder for the next version (at the beginning of the line):
85
100
  ### **WORK IN PROGRESS**
86
101
  -->
102
+ ### 1.0.1 (2022-09-30)
103
+ - added WLED, Ikea Tradfri, Roomba, HmIp, Tado, Netatmo, Yeelight-2, Unifi, Nut and Meross adapter
104
+ - fixed battery message
105
+ - corrected and repaired some issues of last contact time
106
+ - added support for old HM devices
107
+ - some small refactoring of code
108
+ - changed shelly selector from dp rssi to dp online
109
+
87
110
  ### 1.0.0 (2022-09-03)
88
111
  - ** BREAKING CHANGE ** If you update from version <= 0.3.0, remove the old instance first before you update to >= 1.0.0. After that you can create a new instance.
89
112
  - changed mode from shedule to daemon, please take aware from the advice above
@@ -32,26 +32,33 @@
32
32
  "lg": 3,
33
33
  "label": "Deconz"
34
34
  },
35
- "fritzdectDevices": {
35
+ "enoceanDevices": {
36
36
  "type": "checkbox",
37
37
  "sm": 6,
38
38
  "md": 6,
39
39
  "lg": 3,
40
- "label": "FritzDect"
40
+ "label": "Enocean"
41
41
  },
42
- "enoceanDevices": {
42
+ "esphomeDevices": {
43
43
  "type": "checkbox",
44
44
  "sm": 6,
45
45
  "md": 6,
46
46
  "lg": 3,
47
- "label": "Enocean"
47
+ "label": "EspHome"
48
48
  },
49
- "esphomeDevices": {
49
+ "fritzdectDevices": {
50
50
  "type": "checkbox",
51
51
  "sm": 6,
52
52
  "md": 6,
53
53
  "lg": 3,
54
- "label": "EspHome"
54
+ "label": "FritzDect"
55
+ },
56
+ "hamDevices": {
57
+ "type": "checkbox",
58
+ "sm": 6,
59
+ "md": 6,
60
+ "lg": 3,
61
+ "label": "Ham"
55
62
  },
56
63
  "harmonyDevices": {
57
64
  "type": "checkbox",
@@ -60,6 +67,13 @@
60
67
  "lg": 3,
61
68
  "label": "Harmony"
62
69
  },
70
+ "hmiPDevices": {
71
+ "type": "checkbox",
72
+ "sm": 6,
73
+ "md": 6,
74
+ "lg": 3,
75
+ "label": "HmiP"
76
+ },
63
77
  "homematicDevices": {
64
78
  "type": "checkbox",
65
79
  "sm": 6,
@@ -88,6 +102,13 @@
88
102
  "lg": 3,
89
103
  "label": "Jeelink"
90
104
  },
105
+ "merossDevices": {
106
+ "type": "checkbox",
107
+ "sm": 6,
108
+ "md": 6,
109
+ "lg": 3,
110
+ "label": "Meross"
111
+ },
91
112
  "mihomeDevices": {
92
113
  "type": "checkbox",
93
114
  "sm": 6,
@@ -102,6 +123,13 @@
102
123
  "lg": 3,
103
124
  "label": "MiHome Vacuum"
104
125
  },
126
+ "netatmoDevices": {
127
+ "type": "checkbox",
128
+ "sm": 6,
129
+ "md": 6,
130
+ "lg": 3,
131
+ "label": "Netatmo"
132
+ },
105
133
  "nukiExtDevices": {
106
134
  "type": "checkbox",
107
135
  "sm": 6,
@@ -109,6 +137,13 @@
109
137
  "lg": 3,
110
138
  "label": "Nuki Extended"
111
139
  },
140
+ "nutDevices": {
141
+ "type": "checkbox",
142
+ "sm": 6,
143
+ "md": 6,
144
+ "lg": 3,
145
+ "label": "Nut"
146
+ },
112
147
  "pingDevices": {
113
148
  "type": "checkbox",
114
149
  "sm": 6,
@@ -116,6 +151,13 @@
116
151
  "lg": 3,
117
152
  "label": "Ping"
118
153
  },
154
+ "roombaDevices": {
155
+ "type": "checkbox",
156
+ "sm": 6,
157
+ "md": 6,
158
+ "lg": 3,
159
+ "label": "Roomba"
160
+ },
119
161
  "shellyDevices": {
120
162
  "type": "checkbox",
121
163
  "sm": 6,
@@ -144,6 +186,41 @@
144
186
  "lg": 3,
145
187
  "label": "Switchbot Ble"
146
188
  },
189
+ "tadoDevices": {
190
+ "type": "checkbox",
191
+ "sm": 6,
192
+ "md": 6,
193
+ "lg": 3,
194
+ "label": "Tado"
195
+ },
196
+ "tradfriDevices": {
197
+ "type": "checkbox",
198
+ "sm": 6,
199
+ "md": 6,
200
+ "lg": 3,
201
+ "label": "Tradfri"
202
+ },
203
+ "unifiDevices": {
204
+ "type": "checkbox",
205
+ "sm": 6,
206
+ "md": 6,
207
+ "lg": 3,
208
+ "label": "Unifi"
209
+ },
210
+ "wledDevices": {
211
+ "type": "checkbox",
212
+ "sm": 6,
213
+ "md": 6,
214
+ "lg": 3,
215
+ "label": "WLED"
216
+ },
217
+ "yeelightDevices": {
218
+ "type": "checkbox",
219
+ "sm": 6,
220
+ "md": 6,
221
+ "lg": 3,
222
+ "label": "Yeelight-2"
223
+ },
147
224
  "zigbeeDevices": {
148
225
  "type": "checkbox",
149
226
  "sm": 6,
@@ -224,7 +301,7 @@
224
301
  "style": {
225
302
  "fontSize": 16,
226
303
  "marginTop": 20
227
- }
304
+ }
228
305
  },
229
306
  "checkMonday": {
230
307
  "newLine": true,
@@ -271,9 +348,9 @@
271
348
  "style": {
272
349
  "fontSize": 16,
273
350
  "marginTop": 20
274
- },
275
- "hidden": "!data.checkSendBatteryMsg && !data.checkSendOfflineMsg",
276
- "hideOnlyControl": false
351
+ },
352
+ "hidden": "!data.checkSendBatteryMsg && !data.checkSendOfflineMsg",
353
+ "hideOnlyControl": false
277
354
  },
278
355
  "msgService": {
279
356
  "newLine": true,
@@ -619,9 +696,9 @@
619
696
  "style": {
620
697
  "fontSize": 16,
621
698
  "marginBottom": 10
622
- }
623
- },
624
- "updateinterval": {
699
+ }
700
+ },
701
+ "updateinterval": {
625
702
  "type": "number",
626
703
  "min": 2,
627
704
  "max": 100000,
@@ -645,9 +722,9 @@
645
722
  "style": {
646
723
  "fontSize": 16,
647
724
  "marginBottom": 10
648
- }
649
- },
650
- "alexa2MaxMinutes": {
725
+ }
726
+ },
727
+ "alexa2MaxMinutes": {
651
728
  "type": "number",
652
729
  "min": -1,
653
730
  "max": 100000,
@@ -719,6 +796,18 @@
719
796
  "hidden": "!data.fritzdectDevices",
720
797
  "hideOnlyControl": false
721
798
  },
799
+ "hamMaxMinutes": {
800
+ "type": "number",
801
+ "min": 0,
802
+ "max": 100000,
803
+ "sm": 6,
804
+ "md": 6,
805
+ "lg": 3,
806
+ "label": "Ham",
807
+ "help": "in minutes",
808
+ "hidden": "!data.hamDevices",
809
+ "hideOnlyControl": false
810
+ },
722
811
  "harmonyMaxMinutes": {
723
812
  "type": "number",
724
813
  "min": -1,
@@ -731,6 +820,18 @@
731
820
  "hidden": "!data.harmonyDevices",
732
821
  "hideOnlyControl": false
733
822
  },
823
+ "hmiPMaxMinutes": {
824
+ "type": "number",
825
+ "min": -1,
826
+ "max": 100000,
827
+ "sm": 6,
828
+ "md": 6,
829
+ "lg": 3,
830
+ "label": "HmiP",
831
+ "help": "in minutes",
832
+ "hidden": "!data.hmiPDevices",
833
+ "hideOnlyControl": false
834
+ },
734
835
  "homematicMaxMinutes": {
735
836
  "type": "number",
736
837
  "min": -1,
@@ -779,6 +880,18 @@
779
880
  "hidden": "!data.jeelinkDevices",
780
881
  "hideOnlyControl": false
781
882
  },
883
+ "merossMaxMinutes": {
884
+ "type": "number",
885
+ "min": -1,
886
+ "max": 100000,
887
+ "sm": 6,
888
+ "md": 6,
889
+ "lg": 3,
890
+ "label": "Meross",
891
+ "help": "in minutes",
892
+ "hidden": "!data.merossDevices",
893
+ "hideOnlyControl": false
894
+ },
782
895
  "mihomeMaxMinutes": {
783
896
  "type": "number",
784
897
  "min": 0,
@@ -803,6 +916,18 @@
803
916
  "hidden": "!data.mihomeVacuumDevices",
804
917
  "hideOnlyControl": false
805
918
  },
919
+ "netatmoMaxMinutes": {
920
+ "type": "number",
921
+ "min": 0,
922
+ "max": 100000,
923
+ "sm": 6,
924
+ "md": 6,
925
+ "lg": 3,
926
+ "label": "Netatmo",
927
+ "help": "in minutes",
928
+ "hidden": "!data.netatmoDevices",
929
+ "hideOnlyControl": false
930
+ },
806
931
  "nukiextendMaxMinutes": {
807
932
  "type": "number",
808
933
  "min": 0,
@@ -815,6 +940,18 @@
815
940
  "hidden": "!data.nukiExtDevices",
816
941
  "hideOnlyControl": false
817
942
  },
943
+ "nutMaxMinutes": {
944
+ "type": "number",
945
+ "min": 0,
946
+ "max": 100000,
947
+ "sm": 6,
948
+ "md": 6,
949
+ "lg": 3,
950
+ "label": "Nut",
951
+ "help": "in minutes",
952
+ "hidden": "!data.nutDevices",
953
+ "hideOnlyControl": false
954
+ },
818
955
  "pingMaxMinutes": {
819
956
  "type": "number",
820
957
  "min": -1,
@@ -827,6 +964,18 @@
827
964
  "hidden": "!data.pingDevices",
828
965
  "hideOnlyControl": false
829
966
  },
967
+ "roombaMaxMinutes": {
968
+ "type": "number",
969
+ "min": -1,
970
+ "max": 100000,
971
+ "sm": 6,
972
+ "md": 6,
973
+ "lg": 3,
974
+ "label": "Roomba",
975
+ "help": "in minutes",
976
+ "hidden": "!data.roombaDevices",
977
+ "hideOnlyControl": false
978
+ },
830
979
  "shellyMaxMinutes": {
831
980
  "type": "number",
832
981
  "min": -1,
@@ -875,6 +1024,66 @@
875
1024
  "hidden": "!data.switchbotBleDevices",
876
1025
  "hideOnlyControl": false
877
1026
  },
1027
+ "tadoMaxMinutes": {
1028
+ "type": "number",
1029
+ "min": -1,
1030
+ "max": 100000,
1031
+ "sm": 6,
1032
+ "md": 6,
1033
+ "lg": 3,
1034
+ "label": "Tado",
1035
+ "help": "in minutes",
1036
+ "hidden": "!data.tadoDevices",
1037
+ "hideOnlyControl": false
1038
+ },
1039
+ "tradfriMaxMinutes": {
1040
+ "type": "number",
1041
+ "min": -1,
1042
+ "max": 100000,
1043
+ "sm": 6,
1044
+ "md": 6,
1045
+ "lg": 3,
1046
+ "label": "Tradfri",
1047
+ "help": "in minutes",
1048
+ "hidden": "!data.tradfriDevices",
1049
+ "hideOnlyControl": false
1050
+ },
1051
+ "unifiMaxMinutes": {
1052
+ "type": "number",
1053
+ "min": -1,
1054
+ "max": 100000,
1055
+ "sm": 6,
1056
+ "md": 6,
1057
+ "lg": 3,
1058
+ "label": "Unifi",
1059
+ "help": "in minutes",
1060
+ "hidden": "!data.unifiDevices",
1061
+ "hideOnlyControl": false
1062
+ },
1063
+ "wledMaxMinutes": {
1064
+ "type": "number",
1065
+ "min": -1,
1066
+ "max": 100000,
1067
+ "sm": 6,
1068
+ "md": 6,
1069
+ "lg": 3,
1070
+ "label": "WLED",
1071
+ "help": "in minutes",
1072
+ "hidden": "!data.wledDevices",
1073
+ "hideOnlyControl": false
1074
+ },
1075
+ "yeelightMaxMinutes": {
1076
+ "type": "number",
1077
+ "min": -1,
1078
+ "max": 100000,
1079
+ "sm": 6,
1080
+ "md": 6,
1081
+ "lg": 3,
1082
+ "label": "Yeelight-2",
1083
+ "help": "in minutes",
1084
+ "hidden": "!data.yeelightDevices",
1085
+ "hideOnlyControl": false
1086
+ },
878
1087
  "zigbeeMaxMinutes": {
879
1088
  "type": "number",
880
1089
  "min": -1,