saso5 / saso5.github.io

23 stars 13 forks source link

Configure emoticon of LYWSD02 #8

Open MattFromGer opened 8 months ago

MattFromGer commented 8 months ago

On my device the emoticon is always showing the happy face, even if the humidity is over e.g. 80%. I guess there must be a configuration somewhere like the square model has and the default is maybe set to "smiley happy" instead of "comfort indicator"? Is there a way to find out?

MattFromGer commented 8 months ago

Ok I did some more research and found that there's a comfort range, stored in UUID ebe0ccd7-7a0a-4b0c-8a1a-6ff2997da3a6. Default value is 8C 0A 6C 07 55 14 which translates to 19°C <-> 27°C and 20% <-> 85%

Edit: I'm unable to write new values to this characteristic (e.g. 8C 0A 6C 07 3B 28). Also I'm trying different BLE debugger tools. It says "write sucessful", but if I read again the value is still the old 8C 0A 6C 07 55 14