bt-sensors-plugin-sk 1.1.0-beta.2.1.3.2 → 1.1.0-beta.2.1.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-sensors-plugin-sk",
3
- "version": "1.1.0-beta.2.1.3.2",
3
+ "version": "1.1.0-beta.2.1.3.3",
4
4
  "description": "Bluetooth Sensors for Signalk -- support for Victron devices, RuuviTag, Xiaomi, ATC and Inkbird",
5
5
  "main": "index.js",
6
6
  "dependencies": {
@@ -181,7 +181,7 @@ class XiaomiMiBeacon extends BTSensor{
181
181
  this.emit("temp",(dec.readInt16LE(3)/10)+273.15)
182
182
  break
183
183
  case 0x06:
184
- this.emit("humidity",(dec.readInt16LE(3)/10))
184
+ this.emit("humidity",(dec.readInt16LE(3)/1000))
185
185
  break
186
186
  default:
187
187
  throw new Error(`${this.getNameAndAddress()} unable to parse decrypted service data (${dec})`)