Jezza34000 / homeassistant_weback_component

Control vacuum using Weback app into HomeAssistant. Many brands using this application can be controlled as : Neatsvor, Tesvor, Abir, Orfeld, Valubot...
29 stars 7 forks source link

WeBack doesn´t start my robot vacum cleaner anymore. #37

Open tretorn76 opened 3 months ago

tretorn76 commented 3 months ago

WeBack won´t start my robot vacum cleaner anymore. Nothing happens when I try to start it with HA. Don´t know why, because it has been working before and I haven´t done any changes. What could be wrong?

2024-08-31 20:30:07.318 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Can't publish message socket_state=Close, reconnecting... 2024-08-31 20:30:07.319 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Not connected, connecting... 2024-08-31 20:30:07.319 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Checking credentials... 2024-08-31 20:30:07.319 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi checking token validity : 2024-09-01 12:26:49.170485 2024-08-31 20:30:07.320 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi token is valid 2024-08-31 20:30:07.320 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Credentials are OK 2024-08-31 20:30:07.320 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Addr=wss://user.grit-cloud.com/prod/wss / Region=eu-central-1 / Token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjUxODY0NjksImlhdCI6MTcyNTEwMDA2OSwiaXNzIjoiY29tLmFpY2xvdWQueXVnb25nIiwiZGF0YSI6eyJjYWxsaW5nX2NvZGUiOiIwMDQ2IiwiYWNjb3VudCI6ImRhbmllbC5sYW5kZXJob2xtQGdtYWlsLmNvbSIsImFwcF9uYW1lIjoiV2VCYWNrIiwiYXBpX3ZlcnNpb24iOiIxLjAiLCJhcHBfdmVyc2lvbiI6bnVsbCwicmVnaW9uX25hbWUiOiJldS1jZW50cmFsLTEiLCJsYW5ndWFnZSI6ImVuIn19.wJhSOK0eMhkF-ijVKU_yCWWQB_EONl-u5n9gX4jxjk4 2024-08-31 20:30:07.322 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Thread was init 2024-08-31 20:30:08.011 DEBUG (Thread-14832 (run_forever)) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Error (details : [Errno 110] Operation timed out) 2024-08-31 20:30:08.012 ERROR (Thread-14832 (run_forever)) [websocket] [Errno 110] Operation timed out - goodbye 2024-08-31 20:30:08.012 DEBUG (Thread-14832 (run_forever)) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Closed 2024-08-31 20:30:14.838 ERROR (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Failed to puslish message after 8 retry 2024-08-31 20:30:16.203 DEBUG (Thread-14833 (run_forever)) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Error (details : [Errno 110] Operation timed out) 2024-08-31 20:30:16.203 ERROR (Thread-14833 (run_forever)) [websocket] [Errno 110] Operation timed out - goodbye 2024-08-31 20:30:16.203 DEBUG (Thread-14833 (run_forever)) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Closed 2024-08-31 20:30:19.839 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Not connected, connecting... 2024-08-31 20:30:19.840 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Checking credentials... 2024-08-31 20:30:19.840 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi checking token validity : 2024-09-01 12:26:49.170485 2024-08-31 20:30:19.841 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi token is valid 2024-08-31 20:30:19.841 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Credentials are OK 2024-08-31 20:30:19.841 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Addr=wss://user.grit-cloud.com/prod/wss / Region=eu-central-1 / Token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjUxODY0NjksImlhdCI6MTcyNTEwMDA2OSwiaXNzIjoiY29tLmFpY2xvdWQueXVnb25nIiwiZGF0YSI6eyJjYWxsaW5nX2NvZGUiOiIwMDQ2IiwiYWNjb3VudCI6ImRhbmllbC5sYW5kZXJob2xtQGdtYWlsLmNvbSIsImFwcF9uYW1lIjoiV2VCYWNrIiwiYXBpX3ZlcnNpb24iOiIxLjAiLCJhcHBfdmVyc2lvbiI6bnVsbCwicmVnaW9uX25hbWUiOiJldS1jZW50cmFsLTEiLCJsYW5ndWFnZSI6ImVuIn19.wJhSOK0eMhkF-ijVKU_yCWWQB_EONl-u5n9gX4jxjk4 2024-08-31 20:30:19.844 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Thread was init 2024-08-31 20:30:24.395 DEBUG (Thread-14834 (run_forever)) [custom_components.weback_vacuum.webackapi] WebackApi (WSS) Error (details : [Errno 110] Operation timed out) 2024-08-31 20:30:24.395 ERROR (Thread-14834 (run_forever)) [websocket] [Errno 110] Operation timed out - goodbye

Jezza34000 commented 1 week ago

Hello sorry for the delay in response but I don't know why I never received a notification for the issues of this repo. Tell me if this problem is still relevant?

dwolko commented 1 week ago

Hi, don´t worry! I test de WeBack app with Home Assistant and Floorplan

Thanks

El mié, 20 nov 2024 a las 16:53, Jezza @.***>) escribió:

Hello sorry for the delay in response but I don't know why I never received a notification for the issues of this repo. Tell me if this problem is still relevant?

— Reply to this email directly, view it on GitHub https://github.com/Jezza34000/homeassistant_weback_component/issues/37#issuecomment-2489425445, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXB6QZTP32AUZ2BGTGP6P232BTSCHAVCNFSM6AAAAABNOCZOKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBZGQZDKNBUGU . You are receiving this because you are subscribed to this thread.Message ID: @.*** .com>

Jezza34000 commented 1 week ago

Log you provide suggest component can get acces token from weback server but can't connect over WSS Do you have any firewall or a special configuration who can block outgoing websocket communication ?

dwolko commented 1 week ago

Not now, but I didnt use WeBack for some weeks

El mié, 20 de nov de 2024, 17:03, Jezza @.***> escribió:

Log you provide suggest component can get acces token from weback server but can't connect over WSS Do you have any firewall or a special configuration who can block outgoing websocket communication ?

— Reply to this email directly, view it on GitHub https://github.com/Jezza34000/homeassistant_weback_component/issues/37#issuecomment-2489442608, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXB6QZU2K675FD4WVUPKUVT2BTTJLAVCNFSM6AAAAABNOCZOKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBZGQ2DENRQHA . You are receiving this because you commented.Message ID: @.*** com>

Jezza34000 commented 1 week ago

Ok could you check and let me know ?

dwolko commented 1 week ago

Yes, I will check. Thanks!

El mié, 20 de nov de 2024, 17:53, Jezza @.***> escribió:

Ok could you check and let me know ?

— Reply to this email directly, view it on GitHub https://github.com/Jezza34000/homeassistant_weback_component/issues/37#issuecomment-2489522517, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXB6QZU6ZCO3NXEOHWFYEID2BTZGBAVCNFSM6AAAAABNOCZOKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBZGUZDENJRG4 . You are receiving this because you commented.Message ID: @.*** com>

Jezza34000 commented 6 days ago

Any update on this thread ? is ok for you ?

tretorn76 commented 5 days ago

Still got the problems randomly.

tors 28 nov. 2024 kl. 09:04 skrev Jezza @.***>:

Any update on this thread ? is ok for you ?

— Reply to this email directly, view it on GitHub https://github.com/Jezza34000/homeassistant_weback_component/issues/37#issuecomment-2505482334, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFDJQ7N6YVMF7IQBGZECTAT2C3FA7AVCNFSM6AAAAABNOCZOKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBVGQ4DEMZTGQ . You are receiving this because you authored the thread.Message ID: @.*** com>

Jezza34000 commented 5 days ago

This seems to be a connection problem. The logs you previously provided suggest that the HTTPS connection is successful but that the establishment of the WSS (WebSocket) connection fails for an unknown reason. I just released a version of component that updates the websocket dependency. Can you test and tell me if this fixes the problem?

https://github.com/Jezza34000/homeassistant_weback_component/releases/tag/v1.0.9