breaker27 / smarthomatic

smarthomatic
http://www.smarthomatic.org
34 stars 12 forks source link

Correct battery percentage calculation in tempsensor depending on used sensor #45

Closed breaker27 closed 10 years ago

breaker27 commented 10 years ago

If SHT15 used, 2,4V is minimum. Change the calculation so that the percentage value in the battery status packet is calculated correctly when a SHT15 is used. (Otherwise, 2,2V is minimum because of the RFM12B).