Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

AC2889: initial support #6

Closed
betaboon opened this issue Dec 25, 2020 · 16 comments
Closed

AC2889: initial support #6

betaboon opened this issue Dec 25, 2020 · 16 comments

Comments

@betaboon
Copy link
Owner

this issue is the place to discuss the initial AC2889 support.

references

raw-data (provided by @kongo09): #3 (comment)

cc: @kongo09, @tunip

@kongo09
Copy link

kongo09 commented Dec 25, 2020

First experiments show that your new code works. However, when I use the speed setting in the lovelace fan card it also changes the light setting. That's not expected for a fan speed setting.

@kongo09
Copy link

kongo09 commented Dec 25, 2020

Interestingly, HA created new entities with new entity IDs so that I now have duplicates. Is that expected behaviour?

@betaboon
Copy link
Owner Author

betaboon commented Dec 25, 2020

the entity-id issue is somewhat expected as this integration generates the unique_id from {model}-{product_id}.

as for the light settings: i don`t have a clue how that is happening as the code doesn't even touch that setting.

edit: i just checked with my device (AC4236) using the official app:
all speed modes enable the light+background-light, even the sleep-mode. the sleep mode disables it quickly after tho. so i would consider this to be expected

@kongo09
Copy link

kongo09 commented Dec 26, 2020

I just checked the AirMatters app: changing the fan speed or mode definitely does not change the light setting.

@betaboon
Copy link
Owner Author

@kongo09 that's interesting. maybe the app remembers the light setting and sends a separate request. or it uses another interface.
I'm unsure what i can do here, as the requests that we send when setting the speed don't touch the light settings at all.

maybe a pcap of the network-traffic between the app and the device could help ?

@kongo09
Copy link

kongo09 commented Dec 27, 2020

This drives me crazy. Now I see the same erratic behaviour with this device as I saw with the AC2729. Using the HS on/off switch to switching it off indeed switches the device off, but the toggle goes back on again. Working just with the fan-speed setting seems to be more stable.

@betaboon
Copy link
Owner Author

Could you provide a debug log of the situation?

@betaboon
Copy link
Owner Author

i just pushed services for:

  • child lock
  • display backlight
  • light brightness
  • humidifier function
  • humidity

it would be great if you could test it :)

@kongo09
Copy link

kongo09 commented Dec 29, 2020

Could you provide a debug log of the situation?

I did that over at #4 . However, for whatever reason, this morning the device started to behave. All seems to work.

i just pushed services for:

This device does not have a humidifier function or humidity readings.

@tunip
Copy link

tunip commented Dec 29, 2020

AC2889 seems to work fine. As kongo09 wrote, the AC2889 doesnt have humidity functions/sensors.

@ronaldt80
Copy link

Brilliant! I have 2 http purifiers (which work very well with other plugins) but could not get the COAP one to work consistently. Will test for a few days and report back but so far all speed settings seem to work. Not much luck with services yet.

@kongo09 - my devices all turn of light and display light (where applicable) when set to sleep mode. Suspect this is built in and kind of makes sense to me.

@tunip
Copy link

tunip commented Jan 4, 2021

Can still switch on the purifier in Home Assistant (also after days), but the switch in Lovelace goes back to off (Purifier still runs). To switch the purifier off, I need then to switch it on and right away off in Lovelace. Will check the log.

@ronaldt80
Copy link

@tunip see issue #15 which I just opened. Your description seems in line with my issue, can you check if a home assistant restart works and if you can find the same "handshake" in your logs?

@tunip
Copy link

tunip commented Jan 7, 2021

@ronaldt80 home assistant restart is a temporary workaround. A few hours/days later, same behavior. Enabled debug logging and lets wait, what happens.

@riker09
Copy link

riker09 commented Feb 24, 2021

@kongo09 - my devices all turn of light and display light (where applicable) when set to sleep mode. Suspect this is built in and kind of makes sense to me.

It is a (built-in) feature, not a bug. You don't want to illuminate your whole bedroom at night, at least I don't. 🙂

Anyway, I've integrated my AC2889/10 with this custom component only yesterday. Biggest issue was the security setting in my WiFi that was set to WPA2/WPA3 and I had to downgrade it to WPA2 (CCMP) or the purifier wouldn't connect.

Can I help you with anything?

@betaboon
Copy link
Owner Author

I'm closing this issue as the initial support for this model seems to be working.

if any new issues arise feel free to open new dedicated issues

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

No branches or pull requests

5 participants