Skip to content

lokonli/slide-domoticz-local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slide by Innovation in Motion

Plugin for Slide by Innovation in Motion.

This plugin uses the local API (beta).

For a Domoticz plugin that uses the cloud API see:
http://github.com/lokonli/slide-domoticz

⚠️ Note:
You can't use local API and cloud API simultaneously!
If you activate the local API on your slide the Slide App won't work anymore.

Version

This is beta release 0.4.

Slide setup

First configure your slide using the Slide app for your own WiFi network.

Switch to local API on your slide by pressing the reset button twice within 0.5 sec.

The reset button is in the hole left of the power connector, when you have the orange slide label on top.
The LED, right of the power connector, will flash a few time to indicate your slide switched to local API mode

Write down your device code. You need it during plugin configuration. The Device code are the 8 characters printed on top of your Slide.

Installation

Go to the Domoticz plugin folder.

cd domoticz
cd plugins

Clone the plugin repository:

git clone https://github.com/lokonli/slide-domoticz-local
cd slide-domoticz-local
sudo pip3 install -r requirements.txt

Restart Domoticz:

sudo service domoticz restart

Plugin configuration

First activate 'Allow new devices' in Domoticz.

Then add the slide-local hardware in Domoticz.

The plugin uses the following configuration fields:

Slide IP addresses: 1 or more IP addresses, semicolon separated.
Device codes: List of device codes, semicolon seperated. Number of codes must match number of IP addresses. Device code is printed on top of your Slide.
Refresh time (minutes): Polling time to update slide positions.

Important: update from version 0.3.1 or earlier

If you are updating from version 0.3.1 or earlier, the Domoticz slide devices have to be recreated.

  • Stop the Slide hardware plugin in Domoticz->Setup->Hardware
  • Delete all the Slide devices in Domoticz->Setup->Devices
  • Update the slide plugin:
   cd ~/domoticz/plugins/slide-domoticz-local
   git pull
   sudo pip3 install -r requirements.txt
   sudo service domoticz restart
  • Enable the Slide hardware plugin in Domoticz->Setup->Hardware

Usage

Slide devices and a calibration device for each slide (push on switch) will be created automatically.

For some more information see the Wiki:

https://github.com/lokonli/slide-domoticz-local/wiki

Release notes

Version 0.4

  • New version that makes use of the Slide API wrapper by ualex. Don't forget to install the dependencies.

  • Setting Touch&Go now is supported.

  • The slide position will now get updated more smoothly within Domoticz.

Todo

  • Wifi configuration for new slides.
  • Auto slide discovery.

Links

Domoticz forum

https://slide.store/

Slide API wrapper

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages