Skip to content

fix connection issue#12

Open
Kotlin-Native wants to merge 1 commit into
Nailik:mainfrom
Kotlin-Native:connection-problem-fix
Open

fix connection issue#12
Kotlin-Native wants to merge 1 commit into
Nailik:mainfrom
Kotlin-Native:connection-problem-fix

Conversation

@Kotlin-Native

Copy link
Copy Markdown

No description provided.

@Nailik

Nailik commented Mar 9, 2026

Copy link
Copy Markdown
Owner

Hi you have multiple changes here, can you please test which one fixed your issue?
Please also state what it resolved exactly with error trace etc.

  • updated read attempts to 60 from 40

  • added sleep in read_response_chunks

  • added consecutive_errors logic in case the error str contains Not connected 3 times

  • delays in pairing request

  • multiple connection attempts in _connect

@Kotlin-Native

Copy link
Copy Markdown
Author

i have to check how to test it in best way. Until now i tested in on my production hass env and now that it's running i really don't want to touch it anymore 😅 Finally i can fill my 800ml bottle without select 700ml and then 100ml on the blanco system 😄
I also want to calculate how many liters i really get with one 60l co2. Last time it was a while on 0%.
I think I have to check if this bug would also occure if I run it in a docker on my mac or if it only happens on my Pi 4.

@Nailik

Nailik commented Mar 9, 2026

Copy link
Copy Markdown
Owner

you can try the python script locally as a start. it is designed in a way that you don't need ha there is also a test cli https://github.com/Nailik/blanco_unit/blob/main/test_cli.py

@Nailik

Nailik commented May 12, 2026

Copy link
Copy Markdown
Owner

hi do you have any updates on this? do you still have issues and need this merged?

@Kotlin-Native

Copy link
Copy Markdown
Author

thats my smallest issue. since i deleted the extension once, i'm not able to connect it anymore.
I think the connection was not cleaned up correctly on the pi, but the extension want to create a new connection but there is already a connetcion so it fails, but not fully sure, what really happens there

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

Successfully merging this pull request may close these issues.

2 participants