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

Refrigerator Filter Sensors #764

Open
shwarnock opened this issue Jun 19, 2024 · 6 comments
Open

Refrigerator Filter Sensors #764

shwarnock opened this issue Jun 19, 2024 · 6 comments

Comments

@shwarnock
Copy link

My LG refrigerator has an air filter and water filter sensor that can let me know when they need to be replaced. These don't seem to be integrated into HA. I would love to have sensors for these two filters so I can run some automations when they need to be changed. Basically, send some phone notifications and add the filters to my shopping list.

@ktn7419
Copy link

ktn7419 commented Jun 20, 2024

I second this feature request.

@shwarnock
Copy link
Author

Any traction on this? If there is anything I can do to help lmk

@Dilergore
Copy link

The water filter used month is available under the refrigerator sensor:
image

I do not have an air filter so cannot comment on that. The recommendation (in case of my fridge) is to change the filter every 6 months, so I have an automation to send a push message every day to my phone if the sensor value is >= 6.

@jbrockmancas
Copy link

My fridge has an air filter and currently has a value of fresh_air_filter: Looks Good I just replaced it so I'm not sure what the values are as time goes on.
image

@SeanPM5
Copy link

SeanPM5 commented Sep 2, 2024

This would be a helpful feature. I had to wait six months for the air filter to expire first before I could see the attribute values in order to automate it. Sharing the template binary sensors I made here:

template:
  - binary_sensor:

      - name: Fridge Air Filter
        device_class: problem
        unique_id: fridge_air_filter
        state: >-
          {{ is_state_attr('sensor.refrigerator', 'fresh_air_filter', 'Replace Filter') }}
        availability: >
          {{ states('sensor.refrigerator') not in ['unknown', 'unavailable', 'off'] }}


      - name: Fridge Water Filter
        device_class: problem
        unique_id: fridge_water_filter
        state: >-
          {{ state_attr('sensor.refrigerator', 'water_filter_used_month') | is_number and state_attr('sensor.refrigerator', 'water_filter_used_month') >= '6' }}
        availability: >
          {{ states('sensor.refrigerator') not in ['unknown', 'unavailable', 'off'] }}

@shwarnock
Copy link
Author

This would be a helpful feature. I had to wait six months for the air filter to expire first before I could see the attribute values in order to automate it. Sharing the template binary sensors I made here:

template:
  - binary_sensor:

      - name: Fridge Air Filter
        device_class: problem
        unique_id: fridge_air_filter
        state: >-
          {{ is_state_attr('sensor.refrigerator', 'fresh_air_filter', 'Replace Filter') }}
        availability: >
          {{ states('sensor.refrigerator') not in ['unknown', 'unavailable', 'off'] }}


      - name: Fridge Water Filter
        device_class: problem
        unique_id: fridge_water_filter
        state: >-
          {{ state_attr('sensor.refrigerator', 'water_filter_used_month') | is_number and state_attr('sensor.refrigerator', 'water_filter_used_month') >= '6' }}
        availability: >
          {{ states('sensor.refrigerator') not in ['unknown', 'unavailable', 'off'] }}

Thanks for the info! I was able to get this setup and I believe it is working properly. I won't really know for sure until one of the filters trigger to a 'needs replacement state' but I will see when the time comes

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

No branches or pull requests

5 participants