I grabbed a couple of Xiaomi Mijia (LYWSD03MMC) and flashed them with Zigbee firmware. I have then connected them to dirigera hub so I could have the temperature and humidity in the IKEA app as well in HomeAssistant.
As I was playing around with it, I've noticed that the values where rounded to Integers although the API seems to send floats.
While this kind of precision is normally not really necessary I was not expecting for the app to crash.
So attached is a partial from the devices request for the environmentSensors in case you would like to support these.
I grabbed a couple of Xiaomi Mijia (LYWSD03MMC) and flashed them with Zigbee firmware. I have then connected them to dirigera hub so I could have the temperature and humidity in the IKEA app as well in HomeAssistant. As I was playing around with it, I've noticed that the values where rounded to Integers although the API seems to send floats.
While this kind of precision is normally not really necessary I was not expecting for the app to crash.
So attached is a partial from the devices request for the
environmentSensors
in case you would like to support these.