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

The "bin_full" attribute does not change status #76

Open
spanek78 opened this issue Sep 30, 2024 · 5 comments
Open

The "bin_full" attribute does not change status #76

spanek78 opened this issue Sep 30, 2024 · 5 comments

Comments

@spanek78
Copy link

Hi, this could possibly be an issue for some Frigodaire dehumidifiers which report the Full Bucket status. In the active integration, the attribute bin_full always remains "false", whilte the Frigidaire app reports the bucket full status correctly.

min_humidity: 35
max_humidity: 85
available_modes:

  • normal
  • boost
  • auto
  • sleep
    humidity: 45
    mode: normal
    current_humidity: 50
    check_filter: false
    fan_mode: low
    bin_full: false <---- This attribule never updates
    assumed_state: true
    device_class: dehumidifier
    friendly_name: Dehumidifier
    supported_features: 1

Forcing the value: attrib["bin_full"] = True inside humidifier.py (similairly to the action triggered by a real alert), never upateds the attribute either. Coud this mean that the value is somehow blocked from being updated? I am not 100% sure if the API is returning the expected data, but I will try to verify that as well Thank you for your comments!

@jhemak
Copy link

jhemak commented Oct 5, 2024

This used to work ... about a year back (#43). Hasn't worked since Feb of this year, unfortunately. Would be really great to have this attribute back if there is a way to make it work.

@spanek78
Copy link
Author

spanek78 commented Oct 5, 2024

I veriified that API is returning the bucket full alert, and I got it to work by modifying one line inside humidifier.py:

attrib["bin_full"] = frigidaire.Alert.BUCKET_FULL in alerts ---- LINE REMOVED

Replace with this line:

attrib["bin_full"] = any(alert.get("code") == "BUCKET_FULL" for alert in alerts)

The API response has changed, and now it looks like this:

###APPLIANCE DETAILS###
{
    "targetHumidity": 45,
    "cleanAirMode": "ON",
    "applianceInfo": {
        "applianceType": "DH"
    },
    "displayLight": "DISPLAY_LIGHT_1",
    "uiLockMode": false,
    "applianceState": "RUNNING",
    "FilterState": "GOOD",
    "alerts": [
        {
            "severity": "FAULT",
            "acknowledgeStatus": "NOT_NEEDED",
            "code": "BUCKET_FULL"
        }
    ],

For that reason, we should be looking for a "code:" property inside alerts. It seems to be working now, the bin_full: attribute for dehumidifier in Home Assistant changed to "true" when the bucket was full.

@jhemak
Copy link

jhemak commented Oct 6, 2024

@spanek78 - I was really hoping this would do the trick for me, but mine still shows false even with this code change in place.

@spanek78
Copy link
Author

spanek78 commented Oct 6, 2024

Hi @jhemak, did you restart HA after modifying the code? Could you also open This Frigidaire diagnostic site, enter your real username and password, and execute Runtime --> Run all? Do you see the "BUCKET_FULL" alert in the JSON response when the bucket is full?

@jhemak
Copy link

jhemak commented Oct 6, 2024

I did ... looks like my unit does not generate an alert when the bucket is full. Instead, the attribute "waterBucketLevel" changes from 0 to 1.

Incidentally, I also noticed that applianceState is always "RUNNING", even when the unit is idle. Do you see the same?

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

2 participants