iobroker.zigbee 3.0.3 → 3.1.2
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 +26 -0
- package/admin/admin.js +153 -86
- package/admin/i18n/de/translations.json +16 -16
- package/admin/index_m.html +59 -90
- package/admin/tab_m.html +7 -5
- package/docs/de/readme.md +4 -1
- package/docs/en/readme.md +3 -1
- package/io-package.json +110 -54
- package/lib/binding.js +1 -1
- package/lib/commands.js +129 -97
- package/lib/developer.js +1 -1
- package/lib/devices.js +11 -7
- package/lib/exposes.js +14 -3
- package/lib/groups.js +400 -63
- package/lib/localConfig.js +16 -5
- package/lib/states.js +32 -2
- package/lib/statescontroller.js +254 -146
- package/lib/utils.js +7 -5
- package/lib/zbDeviceAvailability.js +78 -21
- package/lib/zbDeviceEvent.js +1 -1
- package/lib/zigbeecontroller.js +485 -56
- package/main.js +139 -469
- package/package.json +7 -7
package/lib/states.js
CHANGED
|
@@ -81,7 +81,8 @@ const states = {
|
|
|
81
81
|
read: true,
|
|
82
82
|
type: 'number',
|
|
83
83
|
min: 0,
|
|
84
|
-
max: 255
|
|
84
|
+
max: 255,
|
|
85
|
+
isCommonState:true,
|
|
85
86
|
},
|
|
86
87
|
available: {
|
|
87
88
|
id: 'available',
|
|
@@ -91,7 +92,8 @@ const states = {
|
|
|
91
92
|
role: 'state',
|
|
92
93
|
write: false,
|
|
93
94
|
read: true,
|
|
94
|
-
type: 'boolean'
|
|
95
|
+
type: 'boolean',
|
|
96
|
+
isCommonState:true,
|
|
95
97
|
},
|
|
96
98
|
device_query: { // button to trigger device read
|
|
97
99
|
id: 'device_query',
|
|
@@ -103,6 +105,7 @@ const states = {
|
|
|
103
105
|
read: false,
|
|
104
106
|
type: 'boolean',
|
|
105
107
|
isOption: true,
|
|
108
|
+
isCommonState:true,
|
|
106
109
|
},
|
|
107
110
|
from_zigbee: {
|
|
108
111
|
id: 'msg_from_zigbee',
|
|
@@ -112,6 +115,7 @@ const states = {
|
|
|
112
115
|
write: false,
|
|
113
116
|
read: true,
|
|
114
117
|
type: 'string',
|
|
118
|
+
isCommonState:true,
|
|
115
119
|
},
|
|
116
120
|
send_payload: {
|
|
117
121
|
id: 'send_payload',
|
|
@@ -121,6 +125,7 @@ const states = {
|
|
|
121
125
|
write: true,
|
|
122
126
|
read: true,
|
|
123
127
|
type: 'string',
|
|
128
|
+
isCommonState:true,
|
|
124
129
|
},
|
|
125
130
|
checking: { // press button for checking
|
|
126
131
|
id: 'checking',
|
|
@@ -6603,6 +6608,31 @@ const states = {
|
|
|
6603
6608
|
read: true,
|
|
6604
6609
|
type: 'number',
|
|
6605
6610
|
},
|
|
6611
|
+
|
|
6612
|
+
groupstateupdate: {
|
|
6613
|
+
id: 'stateupdate',
|
|
6614
|
+
name: 'Set group by member states',
|
|
6615
|
+
icon: undefined,
|
|
6616
|
+
role: 'state',
|
|
6617
|
+
write: true,
|
|
6618
|
+
read: true,
|
|
6619
|
+
type: 'string',
|
|
6620
|
+
states: {off:'off',max:'max',min:'min',avg:'avg',mat:'mat'},
|
|
6621
|
+
def:'off',
|
|
6622
|
+
isCommonState: true,
|
|
6623
|
+
isOption: true,
|
|
6624
|
+
},
|
|
6625
|
+
groupmemberupdate: {
|
|
6626
|
+
id: 'memberupdate',
|
|
6627
|
+
name: 'Read member states',
|
|
6628
|
+
icon: undefined,
|
|
6629
|
+
role: 'state',
|
|
6630
|
+
write: true,
|
|
6631
|
+
read: true,
|
|
6632
|
+
type: 'boolean',
|
|
6633
|
+
isCommonState: true,
|
|
6634
|
+
isOption: true,
|
|
6635
|
+
}
|
|
6606
6636
|
};
|
|
6607
6637
|
|
|
6608
6638
|
module.exports = {
|