-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Loss of connection to GX device, entities not updating or status unknown #186
Comments
Hello and thank you for opening this issue, I believe you might be experiencing 2 seperate issues.
In order to further troubleshoot would it be possible for you to check the status of the temperature or connected tank sensor at the time of the reported errors? Once the status code error is fixed we can look into the connection loss/reporting stop that is occuring. (I believe that that issue might be triggered initially by the error generated from the status code 5) |
Hello, Thanks for testing and confirming the issue is the status of the ruuvi temperature sensor so quickly. This would fix your issue immediately. Once tested and confirmed to be working this could be included in the next shippable release. |
More than happy to assist and support you with more testing. Everything is working beautifully since this morning when I removed the Ruuvi Tag. Thank you very much. |
Great to hear. To test the change please install the main version of the integration via the procedure described over here: #182 (comment) Based on my changes your tests should conclude that all other entities keep being updated when the ruuvi sensor is present with an low battery state. I will add the correct decode value for the ruuvi sensor (so that it doesn't generate an error anymore) once the impact reduction on other entities is confirmed. |
Thank you for testing. You mention Furthermore, there should be an error in the home assistant logs like this Could you perhaps check if this is the case? |
I've been using fix in PR #93 and it has been working fine. The only place i found mentioning sensor_battery_low is here: victronenergy/venus#889 (comment) |
@Off-Grid-Garage Great to hear that the decoding issues are now handled as they should be (logged but not breaking the integration). Since I believe you are still using the single MPII with the phoenix as an generator input? |
In that case I suggest we move the solving of the decoding issues for these entities to another issue report. @Off-Grid-Garage would you be willing to open another issue to track the vebus decode errors? |
It is the PR #187 that causes values like 0 = OK, 0 = OFF to change to 0 = NONDECODABLE so I think some changes are required to that. All these values were "OK" before |
The release (v0.2.0) has been shipped. |
Hello,
I've got your integration installed since last year November and it was running perfectly fine since.
The problem started well over three weeks ago, when HA didn't receive any updated data any more from my GX device. HA just showed the last known value for all Victron entities. This was not after an update or so, but just happened during the night for a few hours of not receiving any data. It started working again the next morning without me doing anything. It was then running OK for the next few days when it happened again.
Since then, the situation got worse and now, the synchronisation was lost more and more frequently.
Venus OS: v3.22
HA: Core 2024.3.1 Supervisor 2024.03.0 Operating System 12.1 Frontend 20240307.0
hass-victron: 0.1.7
So, here is how it looks like:
Data is coming through until close to 9pm and then suddenly stops. It displays the last known state (flat line). In the Morning I tried a few things and restarted HA. That is when the entities show unknown and no line shows at all. At 2:30pm, it suddenly started working again.
This screenshot is from today, showing just a flat line until 1pm, when it started working again, kind off at least as there is only limited data coming through. You can see the curve is very square as the update frequency was around 1-20min randomly, Since 5pm, it received again no data at all.
The GX device does not show any Modbus errors unless I scan for devices. The other strange thing is that 3 temperature sensors connected to the GX device always keep working. These are Ruuvi Tags connected via Bluetooth to the GX and they show perfectly fine in HA. So, it seems, only Victron gear is affected but not the temperature sensors! Some of the data is still coming through...
In HA, I have this error showing in regards to the hass-victron integration:
Not sure how to read this error and what it means. Any help would be much appreciated. I hope it's just a small thing and I can get this awesome integration working again.
Thank you very much!
The text was updated successfully, but these errors were encountered: