@mvevitsis ,
I have done for Smartsense dth. See the links
For this can do same. But need rerun configure () after every change of settings values.
In the example you write the variable must by integer type (in Hex or dec), not string.
Until smarttings offer, if is possible, a solution to return to an acceptable battery life in our sensors and if someone need to improve the duration of the battery (currently about 2, 3 months for CR2450 batteries) of the samsung smatthings sensors or that use the DTH “SmartSense …” with multi-open/close, moisture, temperature or motion devices and do not need as much precision in temperature information.
I have added two settings in preferences:
Adjust between 1 and 240 minutes of the maximum interval for sending temperature information. Now by default it is 5 minutes if there is a change of => 0.1º and there is no change => 1º.
[Screenshot_20210108-183958]
Adjust between 0.5º and 3º of the temperature variation that triggers the temperature report even if the maximum interval set i…