Add linkquality to messages. #173

This commit is contained in:
Koenkk
2018-08-13 19:21:55 +02:00
parent 7dd1c75be0
commit 2ba86a13eb
2 changed files with 9 additions and 4 deletions
+5
View File
@@ -312,6 +312,11 @@ class Controller {
}
});
// Add device linkquality.
if (message.linkquality) {
payload.linkquality = message.linkquality;
}
this.mqttPublishDeviceState(device.ieeeAddr, payload, cache);
};
+4 -4
View File
@@ -2838,7 +2838,7 @@
}
},
"zigbee-shepherd": {
"version": "git+https://github.com/Koenkk/zigbee-shepherd.git#2078557a485466c032cc26b2cd2b8ac29edeceac",
"version": "git+https://github.com/Koenkk/zigbee-shepherd.git#0cc6c18190ca2b4cf979e5b877961a7727799af2",
"requires": {
"areq": "0.2.0",
"busyman": "0.3.0",
@@ -2866,9 +2866,9 @@
}
},
"zigbee-shepherd-converters": {
"version": "2.0.34",
"resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-2.0.34.tgz",
"integrity": "sha512-8q2Lh2kAJG3Lg+Hp+PH/tCSbzDndn3f6XkI+7t0W5zynIHcGvViNNubx9UbGduBCJK7tv0rjEJU4/DCUoH7UPw==",
"version": "2.0.35",
"resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-2.0.35.tgz",
"integrity": "sha512-vTgTGXEIIUAQox6WAtkYjTgmCs8jsrtgWGbTRy9PKBue13Jf+1U5K+HZlaqyILE6ye3omWG2Wqr0WlUjA11svw==",
"requires": {
"debounce": "1.1.0"
},