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

After a while every sensor of luxtronik is not available ? #176

Closed
colognebroker opened this issue Oct 29, 2023 · 16 comments
Closed

After a while every sensor of luxtronik is not available ? #176

colognebroker opened this issue Oct 29, 2023 · 16 comments

Comments

@colognebroker
Copy link

Is this what happend to others too?

After reboot of HA everything is ok !

@BenPru
Copy link
Owner

BenPru commented Oct 29, 2023

Which versions do you use? HA+Integration
Please provide a log and a diag file.
What is your max Data Package Length config? You could try to set it =50000.

@rhammen
Copy link
Contributor

rhammen commented Oct 30, 2023

I observed the same problem with 2023.10.20-Alpha several times. After several hours (somewhere in the order of 6-24h) the luxtronik sensors disappear.
The error-message in the logs that signals the problem has occurred is:
2023-10-29 10:07:13.503 ERROR (MainThread) [custom_components.luxtronik2] Error fetching luxtronik2 data: Read: Error communicating with device

I have just now installed 2023.10.28-Beta (but I expect no change from that).

On further thinking, I remembered I setup a script on my NAS years ago that also fetches data from the Heatpump on a daily basis. Although I do not see a direct relation between the moment the script runs and the moment the error occurs, I want to rule out that there is any influence from this, so I have now disabled this script.

Where can I configure the Data Package Length?
I looked under the Integration-->Configure, but there I can only configure the Room temperature sensor.
I may play around to see if I can find any effect.

In the diagnostic file I found my current value is:
"max_data_length": 10000,
Can you measure/log the current package length, so we can see if it is close to the current max_data_length?

@colognebroker
Copy link
Author

exact my problem !
BenPru
What is your max Data Package Length config? You could try to set it =50000.
Where can i config this ?

@BenPru
Copy link
Owner

BenPru commented Oct 30, 2023

Where can I configure the Data Package Length?

In the first setup dialog or manually in .storage/core.config_entries

@BenPru
Copy link
Owner

BenPru commented Oct 30, 2023

I think the reconnect doesn't work reliable. I have the same after a firmware update or restart of the heatpump.
If your network is not very stable you can have it in the normal operation.
I have changed samething in the socket connection. I push it in the main branch without release.

@colognebroker
Copy link
Author

i can not find max Data Package Length in .storage/core.config_entries
;-(

@BenPru
Copy link
Owner

BenPru commented Oct 30, 2023

Please try 2023.10.30-Beta

@colognebroker
Copy link
Author

colognebroker commented Oct 31, 2023 via email

@colognebroker
Copy link
Author

image

@colognebroker
Copy link
Author

also with 31-beta

@colognebroker
Copy link
Author

Platform error sensor.luxtronik2 - Exception importing custom_components.luxtronik2.sensor

could not find a way back downgrading did not work

Attention
cannot delete integration successfully

you need a backup to restore

@rhammen
Copy link
Contributor

rhammen commented Oct 31, 2023

I think the reconnect doesn't work reliable. I have the same after a firmware update or restart of the heatpump. If your network is not very stable you can have it in the normal operation. I have changed samething in the socket connection. I push it in the main branch without release.

I'm running 2023.10.30 Beta
There is bad news 😢 , but also good news 😄

  • (the bad news) This evening I still got the communication error:
This error originated from a custom integration.

Logger: custom_components.luxtronik2
Source: helpers/update_coordinator.py:322
Integration: Luxtronik
First occurred: 20:08:01 (1 occurrences)
Last logged: 20:08:01

Error fetching luxtronik2 data: Read: Error communicating with device
  • (the good news) The sensor was only gone for 1 minute, and re-appeared afterwards!
    Thanks for this fix/significant impovement!

@rhammen
Copy link
Contributor

rhammen commented Nov 2, 2023

@colognebroker Did you try 2023.11.1-Beta ?
Is the problem in this issue also resolved for you with that version, or do you still have a problem?

@colognebroker
Copy link
Author

colognebroker commented Nov 2, 2023 via email

@BenPru
Copy link
Owner

BenPru commented Nov 7, 2023

We will see tomorrow

@colognebroker Is it fixed for you?

@BenPru
Copy link
Owner

BenPru commented Nov 11, 2023

@colognebroker I close this issue. Feel free to re-open if needed.

@BenPru BenPru closed this as completed Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants