Comments (15)
It is added to the README now.
from slide.
Where you able to fix it?
from slide.
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.
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.
this is the error im getting. im using version 1.3
from slide.
Ok, your slides are still using api_version=1. Download v1.4 of this slide and try again.
from slide.
Exactly the same errors...
from slide.
![Slide](https://private-user-images.githubusercontent.com/116915611/333347893-f81711a0-fe9d-44b6-baf8-ad1a0c3f9248.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0NzAwODcsIm5iZiI6MTcyNDQ2OTc4NywicGF0aCI6Ii8xMTY5MTU2MTEvMzMzMzQ3ODkzLWY4MTcxMWEwLWZlOWQtNDRiNi1iYWY4LWFkMWEwYzNmOTI0OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyNFQwMzIzMDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lYjViYzQxN2UxMTJmYjVjZGEwMzc3ZGU2YmFhNmQzNTJiZjk0YWE2YzNjNjFkMDQ1NGZhNzQ1M2E1ZTJjN2Y3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.2EpHX9VvLPQJVfj3ghsUIr8APogra1sCkWCkkdZuNgs)
from slide.
Change api_version: 2 to api_version: 1 and try again. Btw the password is not that interesting anymore without the cloud.
from slide.
Well... that work bro! thank you so much for helping! btw i tried without password but that isnt working. he needs the device code.
from slide.
Good it works now with ap_version=1, but the password error is strange... I will try to reproduce it.
from slide.
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.
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](https://private-user-images.githubusercontent.com/2643715/340022458-0c02ad52-ecdb-4304-a40f-5223db37e741.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0NzAwODcsIm5iZiI6MTcyNDQ2OTc4NywicGF0aCI6Ii8yNjQzNzE1LzM0MDAyMjQ1OC0wYzAyYWQ1Mi1lY2RiLTQzMDQtYTQwZi01MjIzZGIzN2U3NDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjRUMDMyMzA3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGNkMWE1YTFmNGE5ZDdjZGM3YjU2NTc2NDk4YWE4M2JjNGYwYzA0MDEzZGM4ZDRlMjMzMzliOWYzMzhiMzBmZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.0F1R0-cGNlIJIb0S4h7UEIXrXTsPGWejxSwExUde8po)
Custom components dir contents:
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](https://private-user-images.githubusercontent.com/2643715/340023359-7049d32b-0d40-480e-b772-e56afd6b6c83.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0NzAwODcsIm5iZiI6MTcyNDQ2OTc4NywicGF0aCI6Ii8yNjQzNzE1LzM0MDAyMzM1OS03MDQ5ZDMyYi0wZDQwLTQ4MGUtYjc3Mi1lNTZhZmQ2YjZjODMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjRUMDMyMzA3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDY0MzAzMTQzMmI3NTljNzEzMWU5YjJkZGIzZjk1ODBlYjk0YThjOWVkYzU2MGVkYjI2ZmIyZTgxYjIwNjlkOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.fVmU6UKg2MZkadgj-W60g_rsyx-OmcdgIPf04mTgJyA)
![image](https://private-user-images.githubusercontent.com/2643715/340023379-d4e9f497-c1cb-4378-bc73-24d3546c2f2b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0NzAwODcsIm5iZiI6MTcyNDQ2OTc4NywicGF0aCI6Ii8yNjQzNzE1LzM0MDAyMzM3OS1kNGU5ZjQ5Ny1jMWNiLTQzNzgtYmM3My0yNGQzNTQ2YzJmMmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjRUMDMyMzA3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDFjMDUzMWE3MDEyYmU0NzliMjk0OGM1NGQ5MDQwM2U2MWIyYThhYzVmNjUzMWU1N2EzNDBkZTlkOThhMDAzNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.EoLOVa0hFCk6Hmp7Dw_5oFJl3MF0TRTAFvW3DZjK-kM)
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.
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.
You are right! Thanks!
Two things threw me off:
- There is still a Slide under devices, but that would be the original implementation with the same name. This is a bit confusing
- 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)
- Covers are incorrect displayed in HomeKit HOT 6
- Add support for speed control feature HOT 6
- Local API without Cloud API HOT 2
- Slide overview call doesn't update correctly. so slide displays a wrong state. added own line of code to use the "get_slide_position" call HOT 2
- feature request: service for current position/state HOT 2
- Errors when adding Slide integration HOT 4
- Error on setpos HOT 4
- Slides not working HOT 2
- Slide not moving
- Slide(s) unavailable after HA Reboot mainly after HA update HOT 9
- Local API - Unable to set-up component HOT 1
- Any plans on adding motor strength to the component? HOT 7
- Only 1 slide is working HOT 1
- Slide integration fails HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slide.