iobroker.zigbee 1.6.6 → 1.6.8

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.
Binary file
Binary file
Binary file
@@ -174,18 +174,42 @@
174
174
  i.icon-green {
175
175
  color: green;
176
176
  }
177
+ .m.react-dark i.icon-green {
178
+ color: green!important;
179
+ }
180
+ .m.react-blue i.icon-green {
181
+ color: green!important;
182
+ }
177
183
  i.icon-black {
178
184
  color: black;
179
185
  }
180
186
  i.icon-blue {
181
187
  color: blue;
182
188
  }
189
+ .m.react-dark i.icon-blue {
190
+ color: rgb(100, 181, 246)!important;
191
+ }
192
+ .m.react-blue i.icon-blue {
193
+ color: rgb(100, 181, 246)!important;
194
+ }
183
195
  i.icon-red {
184
196
  color: red;
185
197
  }
198
+ .m.react-dark i.icon-red {
199
+ color: red!important;
200
+ }
201
+ .m.react-blue i.icon-red {
202
+ color: red!important;
203
+ }
186
204
  i.icon-orange {
187
205
  color: orange;
188
206
  }
207
+ .m.react-dark i.icon-orange {
208
+ color: orange!important;
209
+ }
210
+ .m.react-blue i.icon-orange {
211
+ color: orange!important;
212
+ }
189
213
  .m .btn-small.btn-flat {
190
214
  padding: 0 4px;
191
215
  }
@@ -311,6 +335,25 @@
311
335
  .m .idletime {
312
336
  padding-left: 15px;
313
337
  }
338
+ .m.react-blue .switch label input[type="checkbox"]:checked + .lever {
339
+ background-color: #436a93;
340
+ }
341
+ .m.react-blue .switch label .lever {
342
+ background-color: #4dabf5;
343
+ }
344
+ .m.react-blue .switch label .lever:after {
345
+ background-color: #436a93;
346
+ }
347
+
348
+ .m.react-dark .switch label input[type="checkbox"]:checked + .lever {
349
+ background-color: #436a93;
350
+ }
351
+ .m.react-dark .switch label .lever {
352
+ background-color: #4dabf5;
353
+ }
354
+ .m.react-dark .switch label .lever:after {
355
+ background-color: #436a93;
356
+ }
314
357
  </style>
315
358
  </head>
316
359
  <body>
package/admin/tab_m.html CHANGED
@@ -177,6 +177,9 @@
177
177
  .m.react-dark i.icon-green {
178
178
  color: green!important;
179
179
  }
180
+ .m.react-blue i.icon-green {
181
+ color: green!important;
182
+ }
180
183
  i.icon-black {
181
184
  color: black;
182
185
  }
@@ -186,18 +189,27 @@
186
189
  .m.react-dark i.icon-blue {
187
190
  color: rgb(100, 181, 246)!important;
188
191
  }
192
+ .m.react-blue i.icon-blue {
193
+ color: rgb(100, 181, 246)!important;
194
+ }
189
195
  i.icon-red {
190
196
  color: red;
191
197
  }
192
198
  .m.react-dark i.icon-red {
193
199
  color: red!important;
194
200
  }
201
+ .m.react-blue i.icon-red {
202
+ color: red!important;
203
+ }
195
204
  i.icon-orange {
196
205
  color: orange;
197
206
  }
198
207
  .m.react-dark i.icon-orange {
199
208
  color: orange!important;
200
209
  }
210
+ .m.react-blue i.icon-orange {
211
+ color: orange!important;
212
+ }
201
213
  .m .btn-small.btn-flat {
202
214
  padding: 0 4px;
203
215
  }
@@ -322,6 +334,25 @@
322
334
  .m .idletime {
323
335
  padding-left: 15px;
324
336
  }
337
+ .m.react-blue .switch label input[type="checkbox"]:checked + .lever {
338
+ background-color: #436a93;
339
+ }
340
+ .m.react-blue .switch label .lever {
341
+ background-color: #4dabf5;
342
+ }
343
+ .m.react-blue .switch label .lever:after {
344
+ background-color: #436a93;
345
+ }
346
+
347
+ .m.react-dark .switch label input[type="checkbox"]:checked + .lever {
348
+ background-color: #436a93;
349
+ }
350
+ .m.react-dark .switch label .lever {
351
+ background-color: #4dabf5;
352
+ }
353
+ .m.react-dark .switch label .lever:after {
354
+ background-color: #436a93;
355
+ }
325
356
  </style>
326
357
  </head>
327
358
  <body>
package/io-package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "zigbee",
4
- "version": "1.6.6",
4
+ "version": "1.6.8",
5
5
  "news": {
6
+ "1.6.8": {
7
+ "en": "Small herdsman fixes and new devices"
8
+ },
6
9
  "1.6.6": {
7
10
  "en": "fix admin"
8
11
  },
package/lib/developer.js CHANGED
@@ -92,7 +92,11 @@ class Developer {
92
92
  const zclData = obj.message.zclData;
93
93
  if (cmdType === 'functional') {
94
94
  cmd = zcl.Utils.getCluster(cid).getCommand(obj.message.cmd);
95
- } else if (cmdType === 'foundation') {
95
+ }
96
+ else if (cmdType === 'functionalResp') {
97
+ cmd = zcl.Utils.getCluster(cid).getCommandResponse(obj.message.cmd);
98
+ }
99
+ else if (cmdType === 'foundation') {
96
100
  cmd = zcl.Utils.getGlobalCommand((obj.message.cmd));
97
101
  } else {
98
102
  this.adapter.sendTo(obj.from, obj.command, {localErr: 'Invalid cmdType'}, obj.callback);
@@ -121,7 +125,7 @@ class Developer {
121
125
  }
122
126
  result.statusCode = 0;
123
127
  this.adapter.sendTo(obj.from, obj.command, result, obj.callback);
124
- });
128
+ },obj.message.zclSeqNum);
125
129
  } catch (exception) {
126
130
  // report exceptions
127
131
  // happens for example if user tries to send write command but did not provide value/type
package/lib/devices.js CHANGED
@@ -730,6 +730,7 @@ const devices = [
730
730
  states: [states.contact, states.opened, states.voltage, states.battery],
731
731
  },
732
732
  {
733
+ // MCCGQ14LM is a opple brand. not works here
733
734
  models: ['MCCGQ11LM'],
734
735
  icon: 'img/sensor_magnet_aq2.png',
735
736
  states: [states.contact, states.opened, states.voltage, states.battery],
@@ -3042,7 +3043,20 @@ const devices = [
3042
3043
  icon: 'img/ICZB-RM11S.png',
3043
3044
  states: generator.icasa_remote,
3044
3045
  },
3045
-
3046
+
3047
+ /* images only for admin */
3048
+ {
3049
+ models: ['E1812'],
3050
+ icon: 'img/ikea_E1812.png',
3051
+ },
3052
+ {
3053
+ models: ['WHD02'],
3054
+ icon: 'img/WHD02.png',
3055
+ },
3056
+ {
3057
+ models: ['R7060'],
3058
+ icon: 'img/R7060.png',
3059
+ },
3046
3060
  ];
3047
3061
 
3048
3062
  const commonStates = [