blinds-connector-api
v1.0.2
Published
a package that allows to talk to the Connector ecosystem
Downloads
24
Maintainers
Readme
Blinds Connector API
This package uses the code by Bernard Gorman which he wrote for Homebridge. I only extracted the library code from it to use it in my applications.
this package is able to work with these merchants who all are using the same white label product:
- AMP Motorization
- Alta Bliss Automation
- Bloc Blinds
- Brel Home
- 3 Day Blinds
- Diaz
- Coulisse B.V. Motion Blinds
- Gaviota
- Havana Shade
- Hurrican Shutters Wholesale
- Inspired Shades
- iSmartWindow
- Martec
- Raven Rock MFG
- ScreenAway
- Smart Blinds
- Smart Home
- Uprise Smart Shades
The following hubs/bridges are also expected to work with this plugin:
- CM-20 Motion Blinds bridge
- CMD-01 Motion Blinds mini-bridge
- DD7002B Connector bridge
- D1554 Connector mini-bridge
- DD7002B Brel-Home box
- D1554 Brel Home USB plug
Note that the blinds/curtains/etc must already have been paired with the app in order for them to be visible to this plugin.
Instructions
use the access token gathered from this location:
- In the top-left corner of the screen, tap the Menu button (☰)
- Tap your account profile picture, then go to the About page
- Tap the screen five times to display the key.
For branded apps, the key can be obtained using similar approaches:
- In the Coulisse Motion Blinds app, go to Settings > About and tap the screen five times.
- In the Brel Home app, go to the Me page and tap five times on either the
version
field (iOS) or to the right of the photo placeholder (Android). - In the Bloc Blinds app, go to Settings > About and tap five times on the Bloc Blinds icon.
useage
import { ConnectorHubClient } from "blinds-connector-api";
const ip = "127.0.0.1";
const devices = await ConnectorHubClient.getDeviceList(ip);
const device = devices[0];
device.data.map(
(shade) => new ConnectorHubClient(accessKey, shade, ip, device.token)
);
Acknowledgements
- Thanks to @alexbacchin for putting together a repo full of documentation about the Connector hub network protocol.
- Thanks to Bernard Gorman for writing the Plugin this library is based on.