deconz-rest-plugin: Duration settings does not seem to saved.

Hi,

When I change the duration setting of my xiaomi motion sensors the setting is reset to 90 seconds when I restart deconz. The setting itself seems to work fine when changing it to for example 15 seconds, it’s just not saved it seems.

curl -X PUT -d '{"duration":15 }' -s http://192.168.1.20/api/<key>/sensors/38/config | jq .

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17

Commits related to this issue

Most upvoted comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

In Deconz, I cannot use this, because it gives the parameter after 90 seconds and when changed, this parameter is not saved. The reason is not clear to me.

It’s saved allright, but on startup deCONZ resets the duration for the Xiaomi sensors to 90 seconds if its less. The sensor takes that long to send another motion detected message, so setting duration shorter will leave you in the dark.

Not if you have tried this: #1395

That’s right, I upgraded the Xiaomi motion sensor and now my movement is fixed after every 5 seconds.