event emitting on change in geofences
This commit is contained in:
3
dist/main.js
vendored
3
dist/main.js
vendored
@ -271,6 +271,9 @@ allLabeledItems.push(relayBox);
|
||||
// ----------------------------------------------------------------------------------------------------------
|
||||
let geoFences = new GeoFences_1.GeoFences();
|
||||
geoFences.exec();
|
||||
geoFences.on('change', (attendanceSheet) => {
|
||||
logger.info(`geoFences change event: ${JSON.stringify(attendanceSheet)}`);
|
||||
});
|
||||
// ----------------------------------------------------------------------------------------------------------
|
||||
let testFourButton = new HomematicFourButtonThing_1.HomematicFourButtonThing('Gnd', 'Hallway', 'TestButton', 9, [
|
||||
new HomematicFourButtonThing_1.HomematicFourButtonSingleItem('dispatcher_ng/items/Gnd/Hallway/Testlight/dimmerIn'),
|
||||
|
Reference in New Issue
Block a user