I just installed a Rheem softener this past weekend and setup this integration and it seems to be working pretty well so far, so thanks!
I only have one issue - it has been reporting a regen every day for the “Last Regeneration” entity, though I’m pretty sure it’s not regenerating every night (salt doesn’t look like it is…). Anyone else notice this? For reference I have the unit set to regen at 2:00AM.
For me integration correctly reporting last regeneration. Did you looking for entity value or maybe entity last update timestamp?
“7 godzin temu” means that entity updated 7 hours ago, and “28 września 2022 00:00” is timestamp of last regeneration. If softener regerated by night also available water is changed to new value.
For anyone that struggled to figure out how to get the water level and salt level images to show, and also to shorten the days till empty string, you’ll need to create new sensor entities in your configuration.yaml. Search for template guides for home assistant to help you get started. This is what I have for an example:
###### Water Softener custom sensors #################################
- platform: template
sensors:
water_softener_water_level_image:
friendly_name: Water available before regeneration is needed image
value_template: >-
{% set water_level = states("sensor.available_water") | int %}
{% if water_level > 1000 %}
image_100
{% elif water_level > 600 %}
image_75
{% elif water_level > 400 %}
image_50
{% elif water_level > 200 %}
image_25
{% elif water_level == 0 %}
image_0
{%- endif %}
- platform: template
sensors:
water_softener_salt_level_image:
friendly_name: Salt level image
value_template: >-
{% set salt_level = states("sensor.salt_level") | int %}
{% if salt_level > 0 and salt_level <= 25 %}
image_25
{% elif salt_level > 25 and salt_level <= 50 %}
image_50
{% elif salt_level > 50 and salt_level <= 75 %}
image_75
{% elif salt_level > 75 and salt_level <= 100 %}
image_100
{% else %}
image_0
{%- endif %}
- platform: template
sensors:
water_softener_out_of_salt_date:
friendly_name: Estimated date until salt is empty
value_template: >-
{{ as_timestamp(states("sensor.out_of_salt_estimated_day")) | timestamp_custom('%b %m, %Y') }}
I don’t know the best way to show the available water, so I just put some placeholder values.
Hmm I tried adding a new template/sensor using the code you provided above @alexbeatle and it’s showing up properly in entities list, but when I click “add water source” in the energy dashboard I still get the “no matching statistics” error.
Is there any documentation available on how to set it up properly? That is what requirements must a entity meet to be allowed to be used as water usage?
Thanks @alexbeatle - the Statistics page did show an error. I was playing around trying to figure out how to configure usage as cubic meters and it caused an issue with HA unable to aggregate historic data properly. I was able to clear history from that page and when I did that it started showing up in the energy dashboard.
So in the end for this to work for me using metric units I had to do
(since my Aquahome Smart 20 is reporting data in litres). Then in the entity config and then I changed litres to cubic meters so that the energy dashboard is happy.
Got this integrated last night and so far is working great. Love how I can now see how many gallons are left before regeneration. Now to see if the on/off valve can be added. How would I go about learning and testing that?
This is great! I just installed my Rheem water softener about a week ago before coming across this integration. Setup was a breeze and the card was just easy.
My only issue so far is keeping the water softener connected. I know it has nothing to do with your integration, but was curious if anyone has any tips on how to strengthen the connection?
I have copied the code to the custom_components folder, restarted HA, I see the iQua softener on the add integrations list, I click add and all I get is
“Please wait starting the configuration creator” and a spinning wheel.
Tried via http https and companion app on android.
Nothing in the HA logs about it.
I reset my password and was given this url to go to but have no idea how to use it. Hopefully it gets fixed or my smart soft water system is now completely dumb.
The iQua android app has been broken for several days now. I wouldn’t expect this DIY 3rd party integration to work if Rheem can’t be bothered to make sure their own app is working.
I fixed it by registering a new account and re-pairing the device. Something screwy is going on but at least its working again for now. Maybe they are migrating to a new provider. Sigh.