You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although the sensor seems to work and update, I don't seem to be able to use the sensor as a trigger for anything.
Comparing the code with other motion sensors suggests it looks as if it may be missing something similar to the following (taken from the homebridge-platform-wemo plugin):
Although the sensor seems to work and update, I don't seem to be able to use the sensor as a trigger for anything.
Comparing the code with other motion sensors suggests it looks as if it may be missing something similar to the following (taken from the homebridge-platform-wemo plugin):
this.service.getCharacteristic(Characteristic.MotionDetected).on('get', this.getOn.bind(this));
WemoAccessory.prototype.getOn = function (cb) {
this.log("getOn: %s is %s ", this.name, this.onState > 0 ? "on" : "off");
if (cb) cb(null, this.onState);
}
The text was updated successfully, but these errors were encountered: