generated from homebridge/homebridge-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 6
Motion sensor
Johann Richard edited this page May 31, 2020
·
5 revisions
By default, the plugin polls your dingz every 2.5 seconds for its motion state. This is a quite robust way to know what happenes, but is also quite demanding because it hammers the dingz with regular poll requests which might interfere with polling the overall status of the outputs, temperature and all othe other sensors.
If you disable the "poll" mode, the dingz will send a trigger event (HTTP POST callback) when motion begins and reset the motion event when the motion timer of the dingz fires. This happens at the end of the period defined in the dingz Web UI (default: 180s), which is different from the motion state when polling the dingz.
Because of that, the plugin allows the user to change this behavior to either way of operation.