homeassistant-wellbeing icon indicating copy to clipboard operation
homeassistant-wellbeing copied to clipboard

Add Pure 500

Open jorgenseike opened this issue 11 months ago • 6 comments

Hi! Awesome integration, would it be possible to add more information on Pure 500 device? :) My Pure A9 works amazing, and has fan control, and P.M logging.

jorgenseike avatar Mar 13 '24 08:03 jorgenseike

I have started the Debug Logging, could you explain how to send it to you? :)

jorgenseike avatar Mar 13 '24 08:03 jorgenseike

Started/stopped the debug, and downloaded the file. This is the only line mentioning Welkbeing:

2024-03-13 09:44:33.449 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration wellbeing which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

jorgenseike avatar Mar 13 '24 08:03 jorgenseike

Hello. So I also have this device. Was able to make it work by adding this to fan.py:

def _speed_range(self) -> tuple:
    return self.get_appliance.speed_range \
        if self.get_appliance.speed_range[1] != 0 \
        else (1, 3)

The problem with the Pure 500 is that unlike the other models, it supports only 3 modes (by 33% steps). So the default implementation gives a division by zero which can be solved this way. I think the Pure 500 probably takes 67% instead of 66% and that makes it not take the middle input but it works for the maximum and the minimum speeds.

andrecunha-sb avatar Apr 09 '24 20:04 andrecunha-sb

I have no clue on how to expose the air PM sensor on the Pure 500 though...

andrecunha-sb avatar Apr 09 '24 20:04 andrecunha-sb

@andrecunha-sb do you have a complete response from the api? With that we can probably handle it differently for this model.

JohNan avatar Apr 14 '24 07:04 JohNan

@andrecunha-sb do you have a complete response from the api? With that we can probably handle it differently for this model.

@JohNan No. But I can do it. Do you have any scripts I can run or do I need to make something on my own?

andrebcunha avatar Jul 29 '24 07:07 andrebcunha

@andrecunha-sb do you have a complete response from the api? With that we can probably handle it differently for this model.

@JohNan No. But I can do it. Do you have any scripts I can run or do I need to make something on my own?

With the latest release I have added better logging. Add this to your configuration.yaml

logger:
  logs:
    pyelectroluxgroup.appliance: debug

Search for pyelectroluxgroup.appliance in the logs and post the result here.

JohNan avatar Aug 09 '24 19:08 JohNan

@JohNan wellbeing_log.txt

Please note that the API access tokens and key are no longer active as of now.

andrebcunha avatar Aug 14 '24 12:08 andrebcunha

@JohNan wellbeing_log.txt

Please note that the API access tokens and key are no longer active as of now.

Thank you. What is the model name? You can find it on the device in HA Screenshot 2024-08-15 at 07 35 49

JohNan avatar Aug 15 '24 05:08 JohNan

image

The Pure 500 is known as Muju for some reason. I can tell you some differences: It only supports 3 speeds (hence why fan control is broken and the hack I previously posted works) and it has only a PM2.5 sensor which I cannot see anywhere. if you need any help just ask.

image

image

andrebcunha avatar Aug 15 '24 07:08 andrebcunha