Files
SmartThingsPublic/devicetypes
Zach Varberg c86d61a862 Smooth battery values for smartsense devices
Since we have been receiving a lot of reports and complaints about the
battery readings on the smartsense devices that received battery
updates (multi and motion), we are adding this code to smooth out the
readings so it doesn't constantly oscillate between two values.  The
basic logic is, only create an event if we have two readings in a row
that are the same, or a reading is more than 100 millivolts off of the
current battery percentage.
2017-07-27 11:19:31 -05:00
..