You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

blinds-connector-api

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blinds-connector-api

a package that allows to talk to the Connector ecosystem

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
5
25%
Maintainers
1
Weekly downloads
 
Created
Source

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:

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

Keywords

dooya

FAQs

Package last updated on 02 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts