Broodminder on Home Assistant
python mqtt bluetooth logging
With my Raspberry Pi (RPi3B+) I've been logging weights and temps from my W3 sensor into Home Assistant with MQTT.
Code
I wrote a script using bluepy to scan and pull bluetooth data from the device bluetooth broadcasts intermittently. This then connects to my Home Assistant with MQTT broker and stores the data.
I'll upload my code examples: https://github.com/Responseless/broodminder-diy
I can produce charts such as:

I've created values to show rolling weight change over periods. The data below is showing some quite wild swings as it's winter and there's been some good weather on and off so the bees have been quite busy hitting local resouces.
Problems
Issue 1:
- Bluetooth range of T2 / TH2 sensors is terrible.
Fix:- Move RPi closer? - need power
- Use battery powered ESP32 device to rebroadcast or and connect to wifi?