[Solved] Miflora Sensor - Won't read Temperature below Zero (deg c)

edit: Solved in version 0.61 (miflora v0.2.0)

I found a ‘weather proof’ spot to try my miflora sensor outside. Two nights in a row with two different miflora sensors the value jumps to 655350 rather than go below zero.

Before it reaches zero though it reports perfectly.

Is this a hardware limit, firmware, or something on the Hass side?

I double-checked the specs, and it’s rated down to minus 20. So I doubt it’s a hardware issue.

They make an ideal outdoor sensor with a little weather proofing, it’s just a pity about not reading below zero.

Does anyone know of a good alternative to getting local outdoor temperature data in the same price range, battery operated?

It may be a sw issuse as that looks to me as if the sw is treating it as an unsigned int rather than a signed int.

Thanks, I reckon that’s it. I took an amateur look at the code, and this line stood out:


vol.Optional(CONF_MEDIAN, default=DEFAULT_MEDIAN): cv.positive_int

So that’s looking promising, I’ll log it on github.

https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/sensor/miflora.py

This issue is solved in version 0.61, with miflora v0.2.0