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

Unable to setup Slide 'LOCAL IP' #19

Open
Woutoud opened this issue Sep 2, 2024 · 1 comment
Open

Unable to setup Slide 'LOCAL IP' #19

Woutoud opened this issue Sep 2, 2024 · 1 comment

Comments

@Woutoud
Copy link

Woutoud commented Sep 2, 2024

I had to factory reset my slide, and add it as a new entity. But for some reason it doesn't want to integrate now. Even though nothing really changed. Also, it is working fine with the local API through the official app.

Log details (ERROR)

This error originated from a custom integration.

Logger: custom_components.slide.cover
Source: custom_components/slide/cover.py:132
integration: Slide
First occurred: August 27, 2024 at 20:35:09 (1 occurrences)
Last logged: August 27, 2024 at 20:35:09

Unable to setup Slide 'LOCAL IP'
This error originated from a custom integration.

Logger: goslideapi.goslideapi
Source: custom_components/slide/cover.py:111
integration: Slide
First occurred: August 27, 2024 at 20:35:09 (1 occurrences)
Last logged: August 27, 2024 at 20:35:09

Failed request Local API v2. HTTPCode=401

The code I'm running is the following:

#Slide
cover:
  - platform: slide
    host: LOCAL IP
    password: SLIDE PASSWORD
    api_version: 2

Does someone have a pointer for me to solve this issue?

@werdlerk
Copy link

werdlerk commented Sep 15, 2024

You need to replace LOCAL IP in your configuration code with the actual IP address of your Slide device.

See for more information the README file:

To use this component in your installation With the Local API, add the following to your `configuration.yaml` file for each Slide:
# Example yaml entry

cover:
  - platform: slide
    host: 192.168.1.1
    password: 12345678
    api_version: 2

Configuration variables:

  • host (Required): The IP address or hostname of your local Slide
  • password (Required): The device code of your Slide (inside of the Slide or in the box, length is 8 characters). NOTE: With api_version: 2 you can fill in anything here, it is not used by the local API
  • invert_position (Optional): If the position should be inverted e.g. 0% -> 100% and 100% -> 0% (default = False)
  • api_version (Optional): The local API version, this is 1 or 2. Firmware version 0.13.8 and 2.0 are using API version 2, all other are using API version 1. (default = 2)

NOTE: You cannot determine the firmware yourself. If API version 2 does not work, try API version 1. In the following reddit there is a spreadsheet with all known slides and their firmeware version:
https://www.reddit.com/r/slidecurtains/comments/1cwc5u2/which_firmware_version_does_your_slide_have/

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

2 participants