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 · 12 comments
Open

Refrigerator Filter Sensors #764

shwarnock opened this issue Jun 19, 2024 · 12 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

@ollo69
Copy link
Owner

ollo69 commented Oct 19, 2024

@shwarnock,

Please attach integration diagnostics so that I can check how water filter is represented in payload for your device.

@SeanPM5
Copy link

SeanPM5 commented Oct 19, 2024

@ollo69 I'm attaching my fridge diagnostics (model LRFXC2606S), I just replaced my water filter and air filter last week on the same day.

smartthinq_sensors-d901997ae242a729f06abfd8f29b7fb6-Refrigerator-39bf4f1747de993cfecb253d1e3d740e.json

Current version of integration reports this for my fridge:

fresh_air_filter: Looks Good
water_filter_used_month: 0

However in diagnostic there is actual percentage available (waterFilter1RemainP and freshAirFilterRemainP) which would be nice to have, because then you can use it for dashboard display and also for automation purposes (for example, notify to purchase new filter when <10% remaining).

  "waterFilter1RemainP": 97.0,
  "waterFilter": "0_MONTH",
  "waterFilter2RemainP": 255.0,
  "waterFilter3RemainP": 255.0,
  "freshAirFilterRemainP": 97.0,

Also attaching pic of how it's displayed in ThinQ app.

Screenshot 2024-10-19 at 3 08 17 PM

@ollo69
Copy link
Owner

ollo69 commented Oct 20, 2024

Added this sensors in last release

@SeanPM5
Copy link

SeanPM5 commented Oct 21, 2024

Installed latest release and can confirm sensors working well on my fridge, thank you!

Screen Shot 2024-10-21 at 5 11 06 AM

@fabianosan
Copy link

My refrigerator model have the same sensors, but it not showing in the integration, is it for a specific model only?

Here is the diagnostic file:
smartthinq_sensors-175158070cd6fc6b3cd0b0ec0cb87265-Geladeira-b9f2f984d99d692b1f0d2ee1fd8c48c6 (1).json

@calvinbui
Copy link

My refrigerator model have the same sensors, but it not showing in the integration, is it for a specific model only?

looks like your fridge doesnt support it and neither does mine. the thinq app only says Looks Good rather than showing a percentage remaining.

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

8 participants