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º.
- Adjust between 0.5º and 3º of the temperature variation that triggers the temperature report even if the maximum interval set is not met. Now by default it is a change => 1º.
You must install the DTHs from IDE.
For the settings to take effect on the device, the device configuration must be executed and the following must be taken into account:
- The configuration is done only at the time of updating the DTH in IDE.
- At that time the settings are set a “null” value and therefore the DTH will execute the default settings 5 minutes and 1º.
- In the app you must set the desired values in the settings “THE TWO SET VALUES”, do not leave it in “null”.
- In the classic app: Click on the “Configure” tile to send the settings to device.
- In the new app:
-
Go to IDE, change the DTH version from “Published” to “self published” and click on “update”. The device Checkinterval show 16270 s.
-
Wait for the device Checkinterval show 720 s again. That means the configure has already been run.
-
You can repeat the operation again putting the DTH version to “published” so that it is sent again in case of transmission has failed due to bad conexion.
With theses steeps the device must send the next temperature reports with the inserted settings.
I pass theDTHs links.
SmartSense Motion Sensor:
https://github.com/Mariano-Github/Smartthings-DTH/blob/main/SmartSense%20Motion%20Sensor%2BTimeRep%2BTempChangeRep.groovy
SmartSense Multi Sensor:
https://github.com/Mariano-Github/Smartthings-DTH/blob/main/SmartSense%20Multi%20Sensor%2BTimeRep%2BTempChangeRep.groovy
SmartSense Button:
https://github.com/Mariano-Github/Smartthings-DTH/blob/main/SmartSense%20Button%2BTimeRep%2BTempChangeRep.groovy
SmartSense Moisture Sensor:
https://github.com/Mariano-Github/Smartthings-DTH/blob/main/SmartSense%20Moisture%20Sensor%2BTimeRep%2BTempChangeRep.groovy
SmartSense Temperature/Humidity Sensor
https://github.com/Mariano-Github/Smartthings-DTH/blob/main/SmartSense%20Temp-Humidity%20Sensor-Config.groovy