Added credits and corrected comment to reflect code

This commit is contained in:
Marius Ciotlos
2018-05-08 10:18:13 +03:00
parent 50103e381c
commit 06fb89da3a
2 changed files with 4 additions and 6 deletions
+1
View File
@@ -18,3 +18,4 @@ The [wiki](https://github.com/Koenkk/zigbee2mqtt/wiki) provides you all the info
* [oskarn97](https://github.com/oskarn97)
* [dgomes](https://github.com/dgomes)
* [Koenkk](https://github.com/Koenk)
* [kirovilya](https://github.com/kirovilya)
+3 -6
View File
@@ -100,6 +100,7 @@ const parsers = [
type: 'attReport',
convert: (msg) => {
/*
Source: https://github.com/kirovilya/ioBroker.zigbee
+---+
| 2 |
+---+---+---+
@@ -156,12 +157,8 @@ const parsers = [
type: 'attReport',
convert: (msg) => {
/*
65285: 500, presentValue = rotation angel left < 0, rigth > 0
65285: 360, presentValue = ? angel
65285: 110, presentValue = ? angel
65285: 420, presentValue = ? angel
65285: 320, presentValue = ? angel
65285: 330, presentValue = ? angel
Source: https://github.com/kirovilya/ioBroker.zigbee
presentValue = rotation angel left < 0, rigth > 0
*/
var v = msg.data.data['presentValue'];
if (v < 0) {