nbogojevic / homeassistant-midea-air-appliances-lan

This Home Assistant custom component adding support for controlling Midea air conditioners and dehumidifiers on local network.
MIT License
307 stars 32 forks source link

"Beep" Sound and a nice card #13

Closed PskNorz closed 2 years ago

PskNorz commented 2 years ago

Τhe dehumidifier itself makes a sound every time you press on buttons as a confirmation so I think it would make sense to also have it make the sound when you control if via HA. So you know when you change an option from HA that it actually happened

Also it would be nice if we can control the humidifier from a card that has all the control in it, toogle on/off, modes, fan speeds... all in one place.

nbogojevic commented 2 years ago

Beep sound is hopefully coming in 0.5.0.

nbogojevic commented 2 years ago

@PskNorz v0.5.0 is out, can you test if beep sound works (it is controlled by a switch which is disabled by default)

PskNorz commented 2 years ago

@PskNorz v0.5.0 is out, can you test if beep sound works (it is controlled by a switch which is disabled by default)

Perfect! If hymidifier goes unavaible and turn again avaible it will go off?

nbogojevic commented 2 years ago

Probably, I have not tested, and I don't really have an option to check it simply in the code without some refactoring.

PskNorz commented 2 years ago

Ok then, what about the card idea?

nbogojevic commented 2 years ago

I think that one will have either to wait someone else, or some other time, don't think I'll have time soon to look into that.

sicknesz commented 2 years ago

Nice much better support than the others, i did not know it could also report temperature.

About the Lovelace card : Im currently in the process of modifying the default humidifier card to add support for all the options, i've added the mode control with icons (Set, dry, smart, continuons)
it display the current humidity and i plan on adding support for controlling the fan, a tank full indicator, filter indicator.... I'll post a few screenshots if anyone is interested.

PskNorz commented 2 years ago

Nice much better support than the others, i did not know it could also report temperature.

About the Lovelace card : Im currently in the process of modifying the default humidifier card to add support for all the options, i've added the mode control with icons (Set, dry, smart, continuons) it display the current humidity and i plan on adding support for controlling the fan, a tank full indicator, filter indicator.... I'll post a few screenshots if anyone is interested.

Nice, it would be nice to control the humidifier from one place. I will wait for your card 😎

sicknesz commented 2 years ago

First : sorry if this feel like im hijacking the conversation, i just though as it was asked in the issue i would let people know from here, i most likely will open my own repo and link it, sorry again.

Update on the card, what's working so far and how does it looks :

Screenshot_20211231_204114

Screenshot_20211231_204445

Screenshot_20211231_204501

Screenshot_20211231_204509

Screenshot_20211231_204527

All mode, fan mode + humidity settings + sensor values displayed (humidity and temperature)

TODO:

If you have any idea of something i may have missed feel free to tell me :)

PskNorz commented 2 years ago

9693B2EC-337F-476F-9EF8-EEA85342056F This is what I am looking sooooo long it’s what I want!

can add power on/off option?

sicknesz commented 2 years ago

Done :

Screenshot_20211231_222639

PskNorz commented 2 years ago

Waiting to share it 😎

sicknesz commented 2 years ago

I'll try releasing it in the next few days.

MiguelCosta commented 2 years ago

Just to share my lovelace card: https://github.com/MiguelCosta/Dehumidifier_Comfee_Card

image

sicknesz commented 2 years ago

I'm fixing the last bug i have then i'll release it, btw MiguelCosta your card is georgous, i'm not sure mine is gonna be of much use after seeing yours but i'll do it as soon as i've fixed that damn bug anyway :)

gsportelli commented 2 years ago

Done :

Screenshot_20211231_222639

Hi sicknesz, thanks for your work!! And thanks nbogojevic for this great integration!

Here below some possible improvements for the card:

sicknesz commented 2 years ago

Hello gsportelli, i originally had the current and target swapped like the thermostat card but it felt a bit weird not to have the big value change when dragging the slider around, so i swapped them, but after reading your post, I've added an options to swap them back so everyone can choose how the card will display stuff so

  1. it is kinda needed cause unselecting all modes won't cause the applicance to fallback to "set" as the physical buttons does
  2. Totally agree with this, updated in the next commit
  3. I've already changed the continuous to AutoRenew but havent posted the lastest screenshot yet
  4. now swappable using a yaml option : swap_target_and_current_humidity: true

Lastly, i've fixed the NaN NaN rendering bug, i still have on some occasion when the appliance is off it misses the power status and fan mode on the first render but it's fixed as soon as any state change is triggered.

I still have to test the installations instructions, and what will happens if one does not provide all the entities needed by the card, I'll do my best to release it before monday when i should get back to my daily job.

Latest screenshots : Swapped current and target : Screenshot_20220107_203838

Classic display (non-swapped) Screenshot_20220107_203940

PS : @nbogojevic : i have the Inventor EVA ΙΟΝ Pro Wi-Fi 16L version, if you wanna add it to the supported applicances list confirming that's its been tested and working.

sicknesz commented 2 years ago

Hello guys, sorry for being late, here is the first release of the card : Midea humidifier card Normally it should auto-configure itself properly when first added to lovelace but in case if fails the card editor is working properly and you should be able to configure it using the UI, if everything fails the yaml sample code and options are all explained in the repo's README.

I had not much time to test it lately but all fonctionnality has been tested and working on my Home assistant, i hope you don't encounter troubles using it.

Edit : I renamed the repo (it's a requirement to be eligible for HACS, i'll try to have it published to easier updates)

PS : On the latest release 1.0.4 i also added the missing ion_entity to the card's editor