Skip to content

Motion sensor

Johann Richard edited this page May 30, 2020 · 5 revisions

Push vs. Poll

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.

Clone this wiki locally