ble2mqtt.sh
A shell script that uses gatttool to read xiaomi temperature sensor and publish to mqtt broker. Runs on a Raspberry Pi Zero W. Needs gatttool, expect, tcl, mosquitto-clients.
TODO: Pass the BLE mac as an input parameter. Make a better JSON string. ???