SmartThings
SmartThings copied to clipboard
Add decimal to temperature if it doesn't already have one
Logger app sends data as strings. Influx is converting number only strings to floats, but dropping digits (temp of 100 is logged as 10). By converting the temp to a float first, it adds a decimal point to it and influx will then log it correctly.