pink88 / Tuiss2HA

Integrates Blinds2go smart blinds powered by the Tuiss Smartview platform with Home Assistant using ble.
39 stars 5 forks source link

Additional Blinds Hit and Miss #2

Closed thewillwilson closed 9 months ago

thewillwilson commented 11 months ago

Hi,

First of all, thanks for developing this integration, I was just looking for some assistance to debug an issue, my first blind connects and works without any issue, however my 2nd blind only works 5% of the time. Each room has their own esphome proxy so I don't believe it's signal strength.

Is there any debugging I can do to investigate further?

pink88 commented 11 months ago

Hi Will,

That is frustrating, I've had issues with my own and proxies in the past, but managed to get it working pretty stabally after some fiddling.

Could you install the Studio Code Server addon from the Home Assistant addons store (Settings > Addons), once installed, use the blinds, then within Studio Code Server find the HomeAssistant.log file and copy whatever message you are seeing in there?

[image: image.png]

Thanks, Nigel

On Sun, 22 Oct 2023 at 11:11, Will Wilson @.***> wrote:

Hi,

First of all, thanks for developing this integration, I was just looking for some assistance to debug an issue, my first blind connects and works without any issue, however my 2nd blind only works 5% of the time. Each room has their own esphome proxy so I don't believe it's signal strength.

Is there any debugging I can do to investigate further?

— Reply to this email directly, view it on GitHub https://github.com/pink88/Tuiss2HA/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSFUT574CIHFKJWOAFEMMTYATWL3AVCNFSM6AAAAAA6KZKIFSVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2TKOBUGEZTCOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

pink88 commented 10 months ago

Hi Will, Any update on your issues?

thewillwilson commented 10 months ago

Hi, thanks for the bump, this slipped my mind!

There isn't much in the logs sadly besides the debug enabled from the addon

2023-11-06 19:46:14.408 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting Connection to blind. Rety count: 0 2023-11-06 19:46:14.408 INFO (MainThread) [custom_components.tuiss2ha.hub] Connection Failed: No backend with an available connection slot that can reach address None was found 2023-11-06 19:46:14.409 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting Connection to blind. Rety count: 1 2023-11-06 19:46:14.409 INFO (MainThread) [custom_components.tuiss2ha.hub] Connection Failed: No backend with an available connection slot that can reach address None was found 2023-11-06 19:46:14.409 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting Connection to blind. Rety count: 2 2023-11-06 19:46:14.409 INFO (MainThread) [custom_components.tuiss2ha.hub] Connection Failed: No backend with an available connection slot that can reach address None was found 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting Connection to blind. Rety count: 3 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Connection Failed: No backend with an available connection slot that can reach address None was found 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting Connection to blind. Rety count: 4 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Connection Failed: No backend with an available connection slot that can reach address None was found 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting Connection to blind. Rety count: 5 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Connection Failed: No backend with an available connection slot that can reach address None was found 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting Connection to blind. Rety count: 6 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Connection Failed: No backend with an available connection slot that can reach address None was found 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting Connection to blind. Rety count: 7 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Connection Failed: No backend with an available connection slot that can reach address None was found 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting Connection to blind. Rety count: 8 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Connection Failed: No backend with an available connection slot that can reach address None was found 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting Connection to blind. Rety count: 9 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Connection Failed: No backend with an available connection slot that can reach address None was found 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting Connection to blind. Rety count: 10 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Connection Failed: No backend with an available connection slot that can reach address None was found 2023-11-06 19:46:14.410 INFO (MainThread) [custom_components.tuiss2ha.hub] Connection Failed too many times

thewillwilson commented 10 months ago

Just to add to this, the 1 blind out of the 3 that is working perfectly seems to connect first try with no issues.

I've got an esp32 proxy in each room just incase it's anything to do with bluetooth signal strength.

Heres the logs from the working blind: 2023-11-06 19:49:01.386 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting Connection to blind. Rety count: 0 2023-11-06 19:49:05.450 INFO (MainThread) [custom_components.tuiss2ha.hub] BleakClient Connected 2023-11-06 19:49:05.450 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting to set position to: 100 2023-11-06 19:49:05.450 INFO (MainThread) [custom_components.tuiss2ha.hub] BleakClient connected state is True 2023-11-06 19:49:05.451 INFO (MainThread) [custom_components.tuiss2ha.hub] Sending the command 2023-11-06 19:49:05.542 INFO (MainThread) [custom_components.tuiss2ha.hub] BleakClient Disconnected

pink88 commented 10 months ago

Thanks, I did see this before with my own setup and the only surefire way to fix was when an esphome update triggered them to restart. It would then be fine for a a week or so before it started again. I'll push an update out in the next couple of days which handles errors better. Hopefully that will resolve this for you as it has for me in 99% of cases.

On Mon, 6 Nov 2023 at 19:50, Will Wilson @.***> wrote:

Just to add to this, the 1 blind out of the 3 that is working perfectly seems to connect first try with no issues.

I've got an esp32 proxy in each room just incase it's anything to do with bluetooth signal strength.

2023-11-06 19:49:01.386 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting Connection to blind. Rety count: 0 2023-11-06 19:49:05.450 INFO (MainThread) [custom_components.tuiss2ha.hub] BleakClient Connected 2023-11-06 19:49:05.450 INFO (MainThread) [custom_components.tuiss2ha.hub] Attempting to set position to: 100 2023-11-06 19:49:05.450 INFO (MainThread) [custom_components.tuiss2ha.hub] BleakClient connected state is True 2023-11-06 19:49:05.451 INFO (MainThread) [custom_components.tuiss2ha.hub] Sending the command 2023-11-06 19:49:05.542 INFO (MainThread) [custom_components.tuiss2ha.hub] BleakClient Disconnected

— Reply to this email directly, view it on GitHub https://github.com/pink88/Tuiss2HA/issues/2#issuecomment-1796228281, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSFUT25NUZZYMFT25YD7U3YDE5RHAVCNFSM6AAAAAA6KZKIFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJWGIZDQMRYGE . You are receiving this because you commented.Message ID: @.***>

pink88 commented 10 months ago

@thewillwilson any improvement since version 1.1.0?

IainPHay commented 10 months ago

FYI I have 4 blinds running using this excellent integration now and it's rock solid for me. 3 are set in one group and works well

thewillwilson commented 9 months ago

Updated last week to it and it's been rock solid, thanks so much for the update!

Let me know if you need any testers for any beta features in the future.