npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

homebridge-mysmartblinds-bridge

v3.0.1

Published

Homebrige plugin for mysmartblinds (using hardware bridge)

Downloads

227

Readme

homebridge-mysmartblinds-bridge

mit license npm npm verified-by-homebridge donate

Homebridge plugin which communicates with MySmartBlinds through the MySmartBlinds Smart Bridge.
Configure your blinds and bridge with the official iOS or Android app first in order to use this Homebridge plugin.

This plugin is not affiliated with the MySmartBlinds product.

Features

  1. Uses bridge to auto-detect all blinds setup in the MySmartBlinds app, no need to specify each blind
  2. Supports blind percentages
  3. Shows battery level for each blind (updated only when blind is open/closed)
  4. Issues a low battery indicator if battery is below 20%
  5. Logging (via Homebridge) of all actions done
  6. Blinds can close down or up (via config option)
  7. Polling so that blinds update if changed outside of HomeKit

Notes

  1. Use the 'MySmartBlinds' app to calibrate a blind if it is not opening perfectly straight
  2. If switching to closeUp it's best to Open all blinds first and then restart Homebridge
  3. If you see duplicate blinds, make sure to delete any 'disconnected'/invalid blinds within the iOS/Android app. (see #23)
  4. Polling Interval will be ignored if the (auth0) API Rate Limit Policy is reached

Configuration

This easiest way to use this plugin is to use homebridge-config-ui-x.
To configure manually, add to the platforms section of Homebridge's config.json after installing the plugin.

Config:

{
  "platform": "MySmartBlindsBridge",
  "name": "MySmartBlindsBridge",
  "username": "<email address>",
  "password": "<password>"
}

Field | Description ------------------------|------------ platform | Must always be "MySmartBlindsBridge" name | Best to set to "MySmartBlindsBridge" username | MySmartBlinds app username (usually email address) password | MySmartBlinds app password closeUp | (optional true/false, defaults to false) Blinds close in the upwards position statusLog | (optional true/false, defaults to false) logs position changes allowDebug | (optional true/false, defaults to false) Outputs a lot of debug info to stdout pollingInterval | (optional) Polling Interval (in minutes)

Testing

Use npx homebridge-mysmartblinds-bridge to test your credentials.

Sponsors

mrferreira89 (reddit user) - primary tester/sponsor and provided project hardware
gregmichael - sponsor and tester
name99-org - sponsor

Code credits

ianlevesque/smartblinds-client - used to understand mysmartblinds bridge API
Nicnl/homebridge-minimal-http-blinds - used as an example of blind accessory
crashtestoz/homebridge-http-window-blinds - also used as an example of blind accessory homebridge/homebridge-plugin-template - v2.0 rewrite based on this template