Did you know that Chrome-based browsers (including on Android phones) can interact with Bluetooth Low Energy (LE) sensors and devices without any additional software using the Web Bluetooth API? Bundle that with the off-line features enabled by the progressive web apps (PWA) and we get a real application using pure web technologies and standards.
Visit the Sensor Pilot app →
I started playing with the Web Bluetooth API after getting the Xiaomi Mijia clock that also also measures air temperature and relative humidity:
Turns out that reading sensor values and updating the time is relatively simple as long as you can get your head around the Bluetooth LE communication patterns such as GATT services and characteristics.
The app currently works only with the Aranet4 Home device.
Very nice, what changes are required to the app to read from the Xiaomi Mijia clock ?
Since the latest firmware update v1.2.0 in september my Aranet4 (the older hardware) is not recognized anymore by “Sensor Pilot”, although in can be coupled (WIN10)
Thanks for reporting this! It is a known change with the v1.2.0 of the Aranet4 firmware and I’ve created an issue on GitHub to address it.