0.1.2 • Published 3 years ago

node-red-contrib-slide.local v0.1.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

node-red-contrib-slide.local

Local API control for the Slide curtains from Innovation In Motion.

NPM

Installation

Run the following command in your Node-RED user directory - typically ~/.node-red

$ npm install node-red-contrib-slide.store

Getting started

The Slide Local API is, in it's current form, intended as a first version, and expected to undergo significant expansions in later updates. The focus of the current API is to allow you to directly control the curtains.

By default, this HTTP API is disabled since it is not yet officially published by Innovation In Motion. I am a beta tester and have therefore access, but I will not expose how to enable to local API until i get the green light from IIM.

Nodes implemented which expose a certain part of the Local API:

  • slide.local-conf - Contains the hostaneme and the device code of a single slide.
  • slide.local-get-info - Read Slide Device ID (MAC) - Request current Position - Request whether Touch&Go is on or off (currently not yet adjustable)
  • slide.local-calibrate - Re-calibrate Slide
  • slide.local-setposition - Set curtain position (a float between 0 and 1)
  • slide.local-stop - (Immediate) stops of the motor during a movement (e.g. Hard abort)
  • slide.local-changewifi - Change WiFi network credentials of Slide

Using the local API

Currently the local API does not yet support discovery (such as dns-sd, zeroconf etc.) so you will have to identify which local IP address your Slide is using. Due to a known bug all Slides currently have the hostname espressif on the local network, which might make this exercise slightly annoying if you have many Slides online.

0.1.2

3 years ago

0.1.1

3 years ago

0.1.1-0

3 years ago

0.1.0-0

3 years ago