scottyphillips / echonetlite_homeassistant

A Home Assistant custom component for use with ECHONET enabled devices.
MIT License
129 stars 42 forks source link

Setting fan speed to "quiet". #70

Closed mishnz closed 2 years ago

mishnz commented 2 years ago

There is a mode on my remote that sets the unit to "quiet" mode, which seems to be separate to low/high fan settings. https://github.com/futomi/node-echonet-lite/blob/master/EDT-01.md

The above URL shows the following: Normal/highspeed/silent operation setting EPC: 0xB2 - Code "3" is "Silent Operation"

Do you have any thoughts on how we could expose "silent"/"quiet" mode to Home Assistant, other integrations like Sensibo already have this functionality.

scottyphillips commented 2 years ago

It's a little piece of missing functionality in the HomeAirConditioner class. Probably in this instance we would have to use a select entity -> split systems already have this option for directional airflow settings. It wouldn't be part of the standard climate entity however as that is actually quite limited in its customisation.

scottyphillips commented 2 years ago

I haven't forgotten about this, and I have coded in the necessary functionality into the back end. I am thinking we can probably shim this into the climate entity as a 'preset' option; otherwise it will be available as a select.

scottyphillips commented 2 years ago

Hi there, can you please download the 3.5.2-beta. Quiet mode should now be working as a preset functionality within the Climate entity. You may need to go to hacs -> click three dots on echonetlite -> select 'redownload' -> select 'allow beta versions' -> select 3.5.2-beta. https://hacs.xyz/docs/faq/select_version

mishnz commented 2 years ago

Hi,

Removed the existing install and pulled down the code from github, confirmed that it's 3.5.2 It's not showing up for me in the Climate GUI (tried removing and readding the device).

Looking at the entity I don't see any preset modes: image

hvac_modes:
  - heat
  - cool
  - dry
  - fan_only
  - heat_cool
  - 'off'
min_temp: 15
max_temp: 35
target_temp_step: 1
fan_modes:
  - auto
  - minimum
  - low
  - medium-low
  - medium
  - medium-high
  - high
  - very-high
  - max
swing_modes:
  - upper
  - upper-central
  - central
  - lower-central
  - lower
current_temperature: 21
temperature: 25
fan_mode: high
hvac_action: heating
swing_mode: upper
friendly_name: Main Bedroom AC
supported_features: 41
scottyphillips commented 2 years ago

Can you enable debug mode against the custom component and send me relevant entries in the log file? It may well be that for whatever reason the quiet mode isnt being exposed to echonet. The debug logs will confirm what the unit supports... Or I may have missed something...

scottyphillips commented 2 years ago

Actually, if you are comfortable pulling direct from Git, can you pull the latest. I just realized I missed a couple of spots where I needed to add the silent operation flags.

mishnz commented 2 years ago

I'm not seeing any commits to master since your changes about an hour ago?

scottyphillips commented 2 years ago

Well thats because I forgot to push it šŸ˜ž Try now. (I just had to fix a syntax error) commit https://github.com/scottyphillips/echonetlite_homeassistant/commit/722b7fc508ac35e977aad834b3a501c6126c97be

mishnz commented 2 years ago

Deployed - still not showing up, assuming I'm looking in the right place? - debug logs attached inline echonetlite-debug-16-34.txt Actually, wait a moment - I may have pulled too early, let me restest.

scottyphillips commented 2 years ago

0xB2 (178) is not in your 'set map' list, so I dont think its going to work regardless

mishnz commented 2 years ago

That is fascinating, I incorrectly assumed it would export "Silent"/"Quiet" mode over EchoNetLite in a consistent fashion. I wonder what the chances are that one of the other items in the 'set map' list equates to "Silent"/"Quiet" mode.

scottyphillips commented 2 years ago

You would think so, but the vendors can be a bit daffy like that. These are all your get values: 128 - Operation Mode 160 - Fan Speed 176 - HVAC mode 129 - Install location 161 - auto direction 130 - standard version information 131 - id number 163 - swing mode 179 - set temp 164 - air vane vert 133 - Measured cumulative power consumption 165 - Air flow direction (horizontal) setting 134 - Manufacturers fault code 136 - Fault status 137 - Fault description 138 - Manufacturer code, 154 - Cumulative operating time 187 - room temp, 157 - Status change announcement property map, 158 - Set property map, 159 - Get property map 190 - Outside temp 143 - Power-saving operation setting

In your set values you have one strange unique one: 208 (0xD0) - 'buzzer' which can be set but not get. But overall, nothing outside of what is in the spec.

scottyphillips commented 2 years ago

Anyways I am sure someone else will find this work useful regardless, sorry I wasn't able to help you in this instance.

mishnz commented 2 years ago

Thanks for all your assistance. A final comment, using the Mitsubishi Android application there is no option for Quiet/Silent modes. The only way to set Silent mode seems to be through Infrared. This adds evidence that Mitsubishi simply haven't coded 0xB2/178 on the Echonet Lite card.

scottyphillips commented 2 years ago

No problem, thank you for using this custom component! Iā€™m glad you find it useful.

Get Outlook for iOShttps://aka.ms/o0ukef


From: mishnz @.> Sent: Saturday, May 28, 2022 3:08:46 PM To: scottyphillips/echonetlite_homeassistant @.> Cc: Scott Phillips @.>; State change @.> Subject: Re: [scottyphillips/echonetlite_homeassistant] Setting fan speed to "quiet". (Issue #70)

Thanks for all your assistance. A final comment, using the Mitsubishi Android application there is no option for Quiet/Silent modes. The only way to set Silent mode seems to be through Infrared. This adds evidence that Mitsubishi simply haven't coded 0xB2/178 on the Echonet Lite card.

ā€” Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fscottyphillips%2Fechonetlite_homeassistant%2Fissues%2F70%23issuecomment-1140175642&data=05%7C01%7C%7Cb4e3cf1e09b947b208d808da40682553%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637893113312924665%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=SKVf6TlG2IgJs8Fxvewi9FyFGj5uvLAdrwUWtLoB6ws%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGHQNDGBZYMLTCH6NIBMWRDVMGS55ANCNFSM5SDLA2EA&data=05%7C01%7C%7Cb4e3cf1e09b947b208d808da40682553%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637893113312924665%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hvuMdjUaUEiiyioZT8DqbaRi%2F5gEBxVpTXR3ViLFYjk%3D&reserved=0. You are receiving this because you modified the open/close state.Message ID: @.***>