Coder Social home page Coder Social logo

Not adding to my HA about slide HOT 15 OPEN

Ties1208 avatar Ties1208 commented on August 24, 2024
Not adding to my HA

from slide.

Comments (15)

ualex73 avatar ualex73 commented on August 24, 2024 1

It is added to the README now.

from slide.

ualex73 avatar ualex73 commented on August 24, 2024

Where you able to fix it?

from slide.

Ties1208 avatar Ties1208 commented on August 24, 2024

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.

from slide.

ualex73 avatar ualex73 commented on August 24, 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)?

from slide.

Ties1208 avatar Ties1208 commented on August 24, 2024

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

from slide.

ualex73 avatar ualex73 commented on August 24, 2024

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

from slide.

Ties1208 avatar Ties1208 commented on August 24, 2024

Exactly the same errors...

from slide.

Ties1208 avatar Ties1208 commented on August 24, 2024
Slide This is what i got in my configuration file.. am i doing something wrong?

from slide.

ualex73 avatar ualex73 commented on August 24, 2024

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

from slide.

Ties1208 avatar Ties1208 commented on August 24, 2024

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

from slide.

ualex73 avatar ualex73 commented on August 24, 2024

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

from slide.

wesaidso avatar wesaidso commented on August 24, 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!

from slide.

sandervandegeijn avatar sandervandegeijn commented on August 24, 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

from slide.

ualex73 avatar ualex73 commented on August 24, 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".

from slide.

sandervandegeijn avatar sandervandegeijn commented on August 24, 2024

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.

from slide.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.