This is a library/standalone binary for gathering temperature and humidity via ble from a Xiaomi Cleargrass E-Ink Dislpay.
Have a look at the main.go file for how to use the library. I think it's still small enough to use the sample/code as kind of documentation.