pimatic / pimatic-homeduino

Pimatic plugin for using 433mhz devices and sensors with a connected Arduino with homeduino sketch
https://pimatic.org/
GNU General Public License v2.0
37 stars 29 forks source link

Minor changes for temperature and generic sensor #45

Closed zholer closed 8 years ago

zholer commented 8 years ago

Allow number values for decimals in generic sensor, instead of only ints. This allows arbitrary ranges for mapping the value into, rather than the older presets of 10x.

Allows for specifying if the temperature being reported is in fahrenheit or not, and sets the units accordingly. Does not change the actual value as that can be controlled by the processingTemp field. This ensures that the control for whether the incoming value is in C or F is something the user can control.

sweetpi commented 8 years ago

I don't know why I didn't merged that. Sorry! Big thanks for the implementation.