krahabb / meross_lan

Home Assistant integration for Meross devices
MIT License
423 stars 47 forks source link

Add humidity support to MTS200 #459

Closed swerb73 closed 2 months ago

swerb73 commented 3 months ago

Add humidity support to HomeAssistant integration for MTS200 thermostat. Humidity shows up in the Meross app and on the device so if it comes through the integration could we add a humidity entity to support it in HA?

Diagnostic file uploaded. meross_lan-56d5af3392b093744ba1ff6e001a66a3-Cabin Living Room-e0d7040ec1004cab7bc62cf576b0c619.json

NOTE: It appears this shows up as "humi" in the attached file, and that it is 10x the actual value on the thermostat (I could be wrong here).

michbeck100 commented 2 months ago

Is this supported on all MTS200 thermostats? I own 6 mts200b thermostats but none of them shows the humidity. Maybe a missing firmware update? There‘s none available, though. 🤔

krahabb commented 2 months ago

The trace posted by @swerb73 indicates its device is an mts200-us with hw 7.0.0 fw 7.6.7 In meross_lan, whatever the device hw/fw/type, if it exposes the Appliance.Control.Sensor.Latest ability the sensor is added.

michbeck100 commented 2 months ago

Appliance.Control.Sensor.Latest is missing unfortunately, although the hw is 7.0.0 and fw is 7.6.10. Maybe this will be added in a future fw update.

krahabb commented 2 months ago

Since there are a couple of slightly different mts200 on the market (mts200 vs mts200b - eu vs us - boiler/water vs underfloor heating - don't know which is which...) they might have slightly different hw and so we're not sure if the humidity sensor is there or not..also the fw might still not support it for yours.