Open EpicLPer opened 4 years ago
As there hasn't been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.
Reply just to make Stale Bot go away...
Describe the bug
Using the REST API to set up a schedule which sets the duration of a Motion Sensor (Aqara Hacked one) to a lower second value every 5 seconds doesn't automatically run after restarting deCONZ.
Steps to reproduce the behavior
<deconz>/api/<key>/schdules
:Expected behavior
The schedule should immediately run after deCONZ has been started.
Environment
deCONZ Logs
Not exactly sure which ones you guys specifically need for this problem but I'm happy to include them once you tell me which ones I have to send :)
Additional context
I have to do this workaround since I hacked my Aqara sensors to send motion values every 5 seconds instead of the default 90 which deCONZ has set for this sensor by default. Modifying this value only once won't make it stick and it resets itself every other minute, so by sending the above API call I set this value to 10 seconds every 5 seconds just in case. Currently I've solved this by running a cURL script in a while true loop, however I want to try and get this self-contained as much as possible which the scheduled API call is perfect for.