diff --git a/package.json b/package.json index 80e8069..3dc92e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "haritorax-interpreter", - "version": "1.7.7", + "version": "1.8.0", "homepage": "https://github.com/JovannMC/haritorax-interpreter", "repository": "https://github.com/JovannMC/haritorax-interpreter", "bugs": { diff --git a/src/devices/haritorax-wireless.ts b/src/devices/haritorax-wireless.ts index 9a61533..56331ab 100644 --- a/src/devices/haritorax-wireless.ts +++ b/src/devices/haritorax-wireless.ts @@ -923,6 +923,7 @@ export default class HaritoraXWireless extends EventEmitter { trackerService, magnetometerCharacteristic ); + this.emit("mag", trackerName, magStatus); return processMagData(magStatus, trackerName); } else { log(`Tracker ${trackerName} magnetometer status not found`);