Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not adding to my HA #7

Open
Ties1208 opened this issue Dec 29, 2022 · 15 comments
Open

Not adding to my HA #7

Ties1208 opened this issue Dec 29, 2022 · 15 comments

Comments

@Ties1208
Copy link

Hello,

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

@ualex73
Copy link
Owner

ualex73 commented May 18, 2024

Where you able to fix it?

@Ties1208
Copy link
Author

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.

@ualex73
Copy link
Owner

ualex73 commented May 22, 2024

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)?

@Ties1208
Copy link
Author

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

@ualex73
Copy link
Owner

ualex73 commented May 23, 2024

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

@Ties1208
Copy link
Author

Exactly the same errors...

@Ties1208
Copy link
Author

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

@ualex73
Copy link
Owner

ualex73 commented May 24, 2024

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

@Ties1208
Copy link
Author

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

@ualex73
Copy link
Owner

ualex73 commented May 25, 2024

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

@wesaidso
Copy link

wesaidso commented Jun 1, 2024

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!

@sandervandegeijn
Copy link

sandervandegeijn commented Jun 15, 2024

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

@ualex73
Copy link
Owner

ualex73 commented Jun 16, 2024

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

@sandervandegeijn
Copy link

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.

@ualex73
Copy link
Owner

ualex73 commented Jun 16, 2024

It is added to the README now.

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

No branches or pull requests

4 participants