-
Notifications
You must be signed in to change notification settings - Fork 16
Commands ‐ SetPar
kkossev edited this page May 20, 2024
·
2 revisions
last edited 2024-05-20
It is possible to create an RM5 rule to dynamically set the sensor parameters - for example, to extend the fading time during the night when it is expected to detect a sleeping person.
Click on the SetPar button (without any parameters)
The list of the available parameters (Preferences) that can be set will be dumped in the live logs:
In RM5:
- choose 'Run Custom Action',
- capability of action device * Motion,
- select custom command 'setPar'
- add parameter of a type String, string value : fadingTime (or radarSensitivity)
- add another parameter of a type String, string value : value 15 (seconds)
Note, that the custom action setPar parameters must be of a type String.
Then you can add as a trigger a specific time of the day to automatically change the sensitivity and the fading time of the radar.
back to https://github.com/kkossev/Hubitat/wiki/Tuya-Zigbee-mmWave-Sensor#commands
kkossev's custom drivers and apps for Hubitat