[https://github.com/zewelor/bt-mqtt-gateway]
I use this for far away bt-ble thermostats on a pi zero, works perfectly.