explosivo22 / rinnaicontrolr-ha

Rinnai Control-R integration for Home Assistant
Apache License 2.0
50 stars 3 forks source link

Sensors don't update on 1.3 releases - Work fine on 1.2.0-beta #34

Closed davidcoulson closed 1 year ago

davidcoulson commented 1 year ago

Since upgrading from 1.2.0-beta to 1.3 (including 1.3.2 this morning) my sensors such as temperature and flow rate won't update for hours even though there is activity on the water heater. I used HACS to roll back to 1.2.0-beta and now i am getting accurate and periodic updates.

Any idea if this is a config issue on my end, or a bug with the new release?

explosivo22 commented 1 year ago

Can you make sure under the configure option of the integration that the enable maintenance retrieval is enabled when on 1.3. I made it so it can be disabled as to not interrupt the screens on the physical water heater, but it should default to enabled. I double checked and all of mine have been updating. If yours do not, I will investigate further.

davidcoulson commented 1 year ago

I just installed 1.3.2 again and confirmed the "Enable scheduled maintenance retrieval (Every 5 min)" option is checked already. I'll monitor it for a bit and see if it still doesn't update.

davidcoulson commented 1 year ago

1.3.2 seems to update every 5 minutes, although the water heater 'heating' sensor updates almost immediately. Is there a tunable parameter to pull the temperature/flow rate data more frequently?

Was also curious if we can pull any error data from the unit with this integration? My system threw a code 10 the other day, which was reported in the app (although no notification). Would be great to either flag a 'problem' sensor if there is an active error code, or report back the error code itself.

explosivo22 commented 1 year ago

The temperature/flow rate data is pulled just every 5 minutes. The water heater will only update certain values when what is called a maintenance retrieval is ran on the water heater. This is an internal thing to the water heater the makes it manually run through some cycle data directly on the water heater. You can actually see this on the panel, shows up as some random values instead of the temperature, when it runs through this. The downside is these cycles ran too closely together seem to make the water heater stop responding for a little while until it catches up. We might could attempt every 3 minutes, but I don't want to get them to close that this happens. I will try and experiment a little more with the timing to see what might be possible.

We don't currently have any error data in the integration. I can see what I can get from it and maybe look at adding a couple sensors or entities to hold this data.

wrmacj commented 1 year ago

I had the same problem after the upgrade.
image I confirmed the "Enable scheduled maintenance retrieval (Every 5 min)" option is checked. I then unchecked the option selected submit and then went back in and re checked the "Enable scheduled maintenance retrieval (Every 5 min)" option. It now seems to be working.

explosivo22 commented 1 year ago

I am pretty sure 1.3.1 had a bug that caused this issue and 1.3.2 I think has possibly resolved this for future updates.