Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Icons for the fan speeds and setups #128

Open
ParalaX002 opened this issue Nov 16, 2024 · 8 comments
Open

[Feature Request] Icons for the fan speeds and setups #128

ParalaX002 opened this issue Nov 16, 2024 · 8 comments

Comments

@ParalaX002
Copy link

Hi,

First, thanks a lot for this software! I've been switching my units to this, after yet another issue with the Panasonic cloud. But no more thanks to you!

So, just one cosmetic request, if it is even possible. It would be great to have icons for all the possibles actions. I mean, here is a snapshot of the Panasonic comfort cloud integration in home assistant:
image
Same with this code:
image
Also, setup has no icon. Here is a proposition:
image

How could we achieve this?

Thanks in advance!

@ParalaX002
Copy link
Author

Ok, I went ahead and tried something:
https://github.com/ParalaX002/esphome-panasonic-ac

I use the home assistant default definition, however I reduced the number of fan speed to 3 (low, medium and high), because home assistant doesn't have enough granularity...

@Hoedi1030
Copy link

@ParalaX002 How did you manage to get the options for fan speed (1...5 / Auto) and the preset selection (none / quiet / powerful)?

Like, what lines of code do i need to add to the ac.yaml to have these options when i visit the IP-address of my ESP.

Thank you for any help.

@d96moe
Copy link

d96moe commented Jan 21, 2025

Ok, I went ahead and tried something: https://github.com/ParalaX002/esphome-panasonic-ac

I use the home assistant default definition, however I reduced the number of fan speed to 3 (low, medium and high), because home assistant doesn't have enough granularity...

Nice. I was looking for the same, as I would need the pre-defined fan modes in Home Assistant for the versatile_thermostat custom integration. Looking at your changes, you only changed the CNT interface, not the WLAN one, right?

@d96moe
Copy link

d96moe commented Jan 22, 2025

@ParalaX002 How did you manage to get the options for fan speed (1...5 / Auto) and the preset selection (none / quiet / powerful)?

Like, what lines of code do i need to add to the ac.yaml to have these options when i visit the IP-address of my ESP.

Thank you for any help.

@Hoedi1030 If I understand the implementation correctly, the fan speed and presets are only published to Home Assistant through the esphome climate implementation and are not controllable default from the esp web interface. It may be possible to expose them in the web interface in some way. Here is someone with the same question: https://community.home-assistant.io/t/how-do-you-update-climate-preset-fan-mode-etc-without-ha/546402

@d96moe
Copy link

d96moe commented Jan 22, 2025

@ParalaX002 Great work, I forked your fork and had a go on changing the same also for the WLAN interface. It seem to work.
Fork here:
https://github.com/d96moe/esphome-panasonic-ac

I also only used 3 fan speeds even though you could for example stay with 5 and use 1= CLIMATE_FAN_LOW, 2 = CLIMATE_FAN_DIFFUSE, 3 = CLIMATE_FAN_MEDIUM, 4 = CLIMATE_FAN_FOCUS and 5 = CLIMATE_FAN_HIGH

Maybe if we still use 5 fan speeds, it would be easier to do a PR in the master? What do you think?

@ParalaX002
Copy link
Author

Hi, sorry for the delay :( And nice for the fork :)

I remember I tried to play with the fan diffuse and stuff, but it was not rendering nicely if I recall correctly. I think it is because there isn't any difference in icon, so in the end, that's not working well.

The real problem is that to get those icon, we need to use the default home assistant climate widget, which would gain to have more option. Or have ESPHome do something about it.

The AC Panasonic that use internet don't have this limitation because they can create their own climate entity :s

@d96moe
Copy link

d96moe commented Jan 23, 2025

No worries 😀
I see what you mean. The modes are showing up in what I think is in climate::CLIMATE_FAN_MODES enum order that bring complete confusion..

Image

@ParalaX002
Copy link
Author

Ah yes that was the issue. Anyway, let's be honest, I think 3 fan mode are more than enough, and on my units anyway, fan mode don't really work anyway so...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants