Use case: Connecting a bathroom body (fat) scale (e.g. Medisana BS440) via Bluetooth / MQTT to openHAB - Step by step instruction

With a Raspi Zero W it does not work, the WLAN and the BT-LE connection to the scale do not want to work at the same time.
If you switch WLAN off, the BT connection works, if WLAN is on you get an error “function not implemented (38)” in gatttool.
I have solved this quick & dirty for myself by switching off the WLAN before the “main loop” (ifdown wlan0) and switching it on before calling the MQTT plugin and then switching it off again with a 30 sec delay.

Thanks for the great instructions