h4 / lywsd02

MIT License
169 stars 34 forks source link

Decoding of Historic Data #15

Closed 53RT closed 4 years ago

53RT commented 4 years ago

Thanks alot to @gdyuldin and his support for historic data in #13 which is the base for this pull request.

With the help of my freezer compartment and the sun I figured out that the historic_data indeed captures min and max values for temperature and humidity per hour instead of the average I suspected first in #7 . Unfortunately the decoding wasn't correct so I fixed it here.

I noticed the support for negative temperatures introduced in commit was overwritten so I restored it.

I also added a description in the README for the historic_data property

h4 commented 4 years ago

Thank you!