These sensors are designed to be used as virtual thermostats in smartapps. In these cases, the improved precision they gave it is necessary, even if it consumes more battery.
Having the option to choose how to use the sensor I think is necessary
Could you weave your magic on the SmartSense Moisture Sensor and SmartSense Button DTH’s also please? They have the same problem also.
I do not have these devices installed, but I can look at it and test them in the simulator or I send them to you and you test them
I send to You the link to “Smartsense Moisture Sensor-MCC”
I have put the setting in minutes, between 5 and 120
SmartSense Moisture:
https://github.com/Mariano-Github/Smartthings-DTH/blob/main/SmartSense%20Moisture%20Sensor-MCC.groovy
SmartSense Button:
https://github.com/Mariano-Github/Smartthings-DTH/blob/main/SmartSense%20Button-MCC.groovy
Try it
Hey there! @Alwas, Thanks for tagging for assistance.
At this time, We currently do not sell replacement batteries and I would recommend using a third-party retailer to locate batteries for purchase.
You can locate the Battery type listed in the Product specs for your specific device on Samsung.com, by searching for your specific model code.
GP-U999SJVLBAA for example would utilize the CR2 type.
I hope this message finds you well!
^SamsungZell
@Mariano_Colmenarejo The moisture sensor DTH looks good, also shows local execution and 120 minutes is good.
And Button too!
@Alwas, modified the motion and open/close multi sensor DTH Interval temperature report settings for 5 to 120 minutes
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
Thank you!!!
Hi @erickv, 3 months have passed since I saw this “Tagging” and they confirmed by email that they would study it.
I have been using the modified DTHs for almost 3 months and the battery consumption has returned to normal, 9% in the devices that are used more frequently and 3% in others that less.
As long as I can continue using the modified DTHs I am not in any hurry, but if IDE disappears, will the official smartSense DTHs be modified so that the time for the temperature report can be configured? There are several manufacturers of open / close sensors that use this DTH. The main function of these sensors is not the temperature and if the excessive battery consumption is not solved they will force us to throw them away.
Thanks in advance
Thanks, added to one of my Multi Purpose sensors that was suffering battery drain. Set to .5c and 15 minute checkins. Compared to my other sensor this is reporting way less, while still being accurate to control a heater in an outbuilding.
Would you consider doing a DTH for the SmartSence Temp/Humidity Sensor?
Yes, it can be modified. It is very similar to the other smartsense dth.
The only thing is that I can’t prove it. I do not have a temperature and humidity sensor device
Be happy to test
I do it and I pass it on to you
Thank you!!!
I have only been able to test that variables are created with the correct values in the simulator.
Need rerun configure() after installation as instructions
See if it works well for you.
I use a part of code of @mvevitsis for initial variables values
Thanks man. Working as intended with one issue. Humidity is now shown on homepage tile rather than temp and for some reason, the battery is showing on the yop of the device page rather than the temp/humidity
I do not know why.
I have not modified anything on the tiles. It must be because the new app puts the tiles as it sees fit, ignoring the DTH.
I’ll look to see if I see something.
yeah, thought that was kinda strange