slide icon indicating copy to clipboard operation
slide copied to clipboard

Not adding to my HA

Open Ties1208 opened this issue 2 years ago • 15 comments

Hello,

I added this intergration to my HA. But my Slide is not popping up in the devices. how is this possible?

Ties1208 avatar Dec 29 '22 20:12 Ties1208

Where you able to fix it?

ualex73 avatar May 18 '24 08:05 ualex73

no.. is used it all the time trough google home. but now that slide is closing the doors i cant use it anymore.. if added the local code with the password and the right ip adres in my yaml. but it isnt working.

Ties1208 avatar May 22 '24 08:05 Ties1208

What type of error are you getting in the home-assistant.log? Also, which version of the slide GitHub are you running (1.0/1.1/1.2/1.3)?

ualex73 avatar May 22 '24 11:05 ualex73

image this is the error im getting. im using version 1.3

Ties1208 avatar May 23 '24 16:05 Ties1208

Ok, your slides are still using api_version=1. Download v1.4 of this slide and try again.

ualex73 avatar May 23 '24 18:05 ualex73

Exactly the same errors...

Ties1208 avatar May 23 '24 20:05 Ties1208

Slide This is what i got in my configuration file.. am i doing something wrong?

Ties1208 avatar May 23 '24 21:05 Ties1208

Change api_version: 2 to api_version: 1 and try again. Btw the password is not that interesting anymore without the cloud.

ualex73 avatar May 24 '24 04:05 ualex73

Well... that work bro! thank you so much for helping! btw i tried without password but that isnt working. he needs the device code. Afbeelding van WhatsApp op 2024-05-24 om 10 24 44_a5ec889a

Ties1208 avatar May 24 '24 08:05 Ties1208

Good it works now with ap_version=1, but the password error is strange... I will try to reproduce it.

ualex73 avatar May 25 '24 19:05 ualex73

I read that only from ap_version=2 the password is no longer required. Just ordered a few slides and playing around with it. Thanks for this custom plugin, integrates easily in HA!

wesaidso avatar Jun 01 '24 20:06 wesaidso

Afraid I'm having the same problem. Running home assistant 2024.6.2 in docker, I have a slide with fw 2.0 according to the slide of Kaj

Config:

image

Custom components dir contents: image

This is from inside the home assistant docker container:

5124435a4cab:/config# curl -X POST http://192.168.3.10/rpc/Slide.SetPos -H "Content-Type: application/json" -d '{"pos": 0}'
{"response":"success"}
5124435a4cab:/config# curl -X POST http://192.168.3.10/rpc/Slide.SetPos -H "Content-Type: application/json" -d '{"pos": 1}'
{"response":"success"}

So I have connectivity, ip address is correct and curtains are responding to the commands.

HA, Slide doesn't show up:

image image

HA logs:


2024-06-14 21:03:49.779 INFO (MainThread) [custom_components.slide] Slide Cloud API not configured
2024-06-14 21:03:49.780 DEBUG (MainThread) [custom_components.slide.cover] Initializing Slide cover(s)
2024-06-14 21:03:49.781 DEBUG (MainThread) [custom_components.slide.cover] Trying to setup Slide '192.168.3.10', config={'platform': 'slide', 'host': '192.168.3.10', 'password': '12345678', 'api_version': 2, 'invert_position': False}
2024-06-14 21:03:49.781 DEBUG (MainThread) [goslideapi.goslideapi] REQ-L1: API=http://192.168.3.10/rpc/Slide.GetInfo, type=POST, data=null
2024-06-14 21:03:50.089 DEBUG (MainThread) [goslideapi.goslideapi] RES-L1: API=http://192.168.3.10/rpc/Slide.GetInfo, type=POST, HTTPCode=200, Data={"slide_id": "slide_246F28496968", "mac": "246F28496968", "board_rev": 1, "device_name": "Slide", "zone_name": "", "curtain_type": 0, "calib_time": 26385, "pos": 0.01, "touch_go": true}
2024-06-14 21:03:50.090 DEBUG (MainThread) [custom_components.slide.cover] Setup Slide '192.168.3.10' successful

sandervandegeijn avatar Jun 15 '24 19:06 sandervandegeijn

I will update the README, because the custom component Slide does not pop up under "Devices". You can find it in "Developer tools" -> "States".

ualex73 avatar Jun 16 '24 11:06 ualex73

You are right! Thanks!

Two things threw me off:

  1. There is still a Slide under devices, but that would be the original implementation with the same name. This is a bit confusing
  2. I did search under states, but as slide. Didn't think to search for cover. Kind of stupid, still, the slide name in the device name would be helpful.

sandervandegeijn avatar Jun 16 '24 11:06 sandervandegeijn

It is added to the README now.

ualex73 avatar Jun 16 '24 11:06 ualex73