ualex73 / slide

Slide Component for Home Assistant
Apache License 2.0
26 stars 8 forks source link

Unable to setup Slide #20

Open weemaba999 opened 1 month ago

weemaba999 commented 1 month ago

Hi,

I needed to switch from cloud API to Local API. So I changed configuration.yaml to following:

cover:

(of course with the passwords unhidden, but that shouldn't be even have to bother)

I've reset the slides (2 of them) until I got 2 white blinks instead of 5

I updated the custom_components/slide repository, just to be sure

And the states of the covers after restart is - UNAVAILABLE - with following error msg's in the logs:

Platform slide not ready yet: Unable to setup Slide '192.168.1.19': Cannot connect to host 192.168.1.19:80 ssl:default [Connect call failed ('192.168.1.19', 80)]; Retrying in background in 30 seconds Platform slide not ready yet: Unable to setup Slide '192.168.1.62': Cannot connect to host 192.168.1.62:80 ssl:default [Connect call failed ('192.168.1.62', 80)]; Retrying in background in 30 seconds

2024-09-18 20:34:09.983 INFO (MainThread) [custom_components.slide] Slide Cloud API not configured 2024-09-18 20:34:09.983 DEBUG (MainThread) [custom_components.slide.cover] Initializing Slide cover(s) 2024-09-18 20:34:09.983 DEBUG (MainThread) [custom_components.slide.cover] Trying to setup Slide '192.168.1.19', config={'platform': 'slide', 'host': '192.168.1.19', 'password': 'GZJ27DLx', 'api_version': 2, 'invert_position': False} 2024-09-18 20:34:09.983 DEBUG (MainThread) [goslideapi.goslideapi] REQ-L1: API=http://192.168.1.19/rpc/Slide.GetInfo, type=POST, data=null 2024-09-18 20:34:09.984 DEBUG (MainThread) [custom_components.slide.cover] Initializing Slide cover(s) 2024-09-18 20:34:09.984 DEBUG (MainThread) [custom_components.slide.cover] Trying to setup Slide '192.168.1.62', config={'platform': 'slide', 'host': '192.168.1.62', 'password': '9JSKGqkM', 'api_version': 2, 'invert_position': False} 2024-09-18 20:34:09.984 DEBUG (MainThread) [goslideapi.goslideapi] REQ-L2: API=http://192.168.1.62/rpc/Slide.GetInfo, type=POST, data=null 2024-09-18 20:34:09.997 WARNING (MainThread) [homeassistant.components.cover] Platform slide not ready yet: Unable to setup Slide '192.168.1.19': Cannot connect to host 192.168.1.19:80 ssl:default [Connect call failed ('192.168.1.19', 80)]; Retrying in background in 30 seconds 2024-09-18 20:34:09.997 WARNING (MainThread) [homeassistant.components.cover] Platform slide not ready yet: Unable to setup Slide '192.168.1.62': Cannot connect to host 192.168.1.62:80 ssl:default [Connect call failed ('192.168.1.62', 80)]; Retrying in background in 30 seconds

Can you help please ? My wife is freak'in out because our main curtains don't work anymore :-)

Kr,

Bart

weemaba999 commented 1 month ago

Nevermind. 2x blink = cloud API and not Local API :-)