Been running mine for several months and the single AA battery is 75%. No gateway and I used the home assistant component to set it up.
Really easy and fuss free.
Thanks for the fix below 10°C. I am new at Home assistant so even implementing this fix was not easy for me because if I understand correctly when the Home assistant is installed on Raspberrry pi it runs in some virtual enviroment so I couldn’t find and edit those files directly.
So I did following:
Downloaded original mitemp_bt_poller.py and mitemp_bt.py files
Implemented the fix into mitemp_bt_poller.py and placed the file into \config\custom_components
placed file mitemp_bt.py into \config\custom_components\sensor
opened mitemp_bt.py and modified line 61:
original:
from mitemp_bt import mitemp_bt_poller
modified:
from custom_components import mitemp_bt_poller
By doing this it loads the modified mitemp_bt_poller file from custom_components folder
5) saved and rebooted…and BAM! It works. Hope somebody filds this helpful
I don’t understand why the code creates a connection to the sensor. This sensor sends BLE packet with temperature/humidity every second. Even if packet loss would be 99%, you still will get a value every 2 minutes which is awesome, as for me.
I’m using my own C++ code for parsing those BLE packages and python code that handles the values and pass them into Home Assitant. That’s a bit overhead but as I understand, this plugin uses a BT connection and can poll only 1 sensor at the same time.
I would share my Python code in the nearest time, that would probably help for people with range issues. C++ code for Raspberry Pi (compilation instructions are on the top) is here.
Hi @Atlantis I had your same problem. I installed Hassio so I could not find the files to edit. With your solution I am easily able to work the sensor on Hassio under 10 °! Thanks a lot !!
btw I just discovered another problem with the code - it does not display values between -0.1°C to -0.9°C. It reports these values as positive 0,1°C to 0.9°C. At lower temperature it works again fine. But of course it shows strange oscillations when going thru 0°C…you look at the graph it is like 0.5°C 0.3°C 0.1°C 0.5°C 0.9°C and than it jumps to -1°C.
Has anyone managed to use a bluetooth dongle with HASSIO to extend the range to the embedded bluetooth module ? I have read that it’s not possible yet with HASSIO.
Thanks !
Hi, do you have any progress with your project? Can you share the code? I would love to make the same. I have some thermometers but some of them are not in the bluetooth range to be directly read by rPi.
how di you set up the second RPI3, i have a pi zero w and want to set it up to send data via MQTT to my hass.io (im runing it on an older HP laptop, to improve speed )