homebridge-meross icon indicating copy to clipboard operation
homebridge-meross copied to clipboard

Expose Humidifier as HK Humidifier (not fan)

Open Marfre888 opened this issue 3 years ago • 6 comments

  • Please explain your feature request in a one or two sentences.

I have just bought the Meross Humidifier (MSXH0). I realised that it is exposed as a fan tile. Homekit has a humidifier tile, as seen in the photo below (from a Vocolinc Flowerbud) which is very useful, as Siri works correctly, and it allows you to create the correct shortcut.

  • Is your feature request related to a problem? Please describe. It would be amazing if this plugin could expose the Humidifier as a humidifier instead of a fan

  • Any particular Meross devices that this relates to? Meross MSXH0 and probably any other humidifier or diffuser..

  • Anything else?

IMG_9230FBA28D5B-1

Marfre888 avatar Jan 23 '22 12:01 Marfre888

Hi @Marfre888

Any Homekit humidifier accessory type requires the current air humidity to be set. In this case the meross humidifier doesn’t report the current humidity, this is why I had to expose as a fan accessory type instead.

The homekit humidifier UI is based around the target and the current humidity, turning on and off when required automatically. So even hard coding a current humidity value of say 50% would seem more counter intuitive than a simple fan.

I can potentially look into exposing as a humidifier if you have another meross device sensor in the room that provides a current humidity value?

bwp91 avatar Jan 23 '22 14:01 bwp91

Hey @bwp91

Yes, I see where you are coming from.

However, the Homebrdige Broadlink RM Pro plugin also has the same problem when exposing an HVAC system, as the IR blaster doesn't have a temperature readout.

As a workaround, they have integrated two options into homebridge (1), either the ability to set a target value (which is only for aesthetics), or you can push the room temperature to a file on the host device which the plugin will read from. I have set up through homekit automation where every time the temp changes, it collects the temp and pushes to the set file through ssh (2), however, iOS 15.0 broke the ssh command.

(1) 'pseudoDeviceTemperature': 0 OR 'temperatureFilePath': "****"

(2) cd /home/pi/Documents/ echo "Number" > temperature.txt

This would mean that the current settings of 50% for intermittent and 100% for continuous would need to be moved to a separate switch, or incorporated into a slide if that is possible.

Furthermore, the led is exposed as a slider, however in this case it is only possible to turn it on or off. Would it be possible to expose it as below?

IMG_0026

Marfre888 avatar Jan 24 '22 16:01 Marfre888

With regards to the led is it not possible to change the brightness or the colour?

bwp91 avatar Jan 24 '22 18:01 bwp91

Ahh shoot, Homekit doesn't allow you to change the led colors if the tile is an on/off light right?

What do you think about the other suggestions?

Marfre888 avatar Jan 24 '22 21:01 Marfre888

This issue has been automatically marked as inactive because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 02 '22 05:02 stale[bot]

Is it possible to choose between Continuous or Intermittent when setting up the on/off switch?

I don't really mind about having a dedicated switch for the two states, I only want to be able to start the humidifier in Intermittent mode as it's the only mode I use.

sadanro100 avatar Apr 12 '22 02:04 sadanro100