As you have quite a nicely done snippet block of code there and it doesn't appear that the Espruino site currently has an interface solution for the 'Xiaomi Temperature and Humidity sensor', would it make sense to add that content with a few basic comments and some sample output data in a descriptive unique thread to assist others?
Maybe a post such as 'Accessing data returned from a Xiaomi Temperature and Humidity sensor' beneath:
Home >> Official Espruino Boards >> Interfacing
Having that content in this thread may get lost, and may never become searchable. Having a descriptive title would allow others that use the Xiaomi sensor to quickly find your solution.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Mon 2019.04.22
Congrats on your success @Vlad !
As you have quite a nicely done snippet block of code there and it doesn't appear that the Espruino site currently has an interface solution for the 'Xiaomi Temperature and Humidity sensor', would it make sense to add that content with a few basic comments and some sample output data in a descriptive unique thread to assist others?
Maybe a post such as 'Accessing data returned from a Xiaomi Temperature and Humidity sensor' beneath:
Having that content in this thread may get lost, and may never become searchable. Having a descriptive title would allow others that use the Xiaomi sensor to quickly find your solution.