homebridge-soma-shades
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

Homebridge Plugin for SOMA Shades

This is a homebridge plugin for SOMA Smart Shades.

Currently supports:

Installation

Install bluetooth libraries

Ubuntu, Debian, Raspbian
sudo apt install bluetooth bluez libbluetooth-dev libudev-dev

See the document of the @abandonware/noble for other operating systems details.

Install package

sudo npm install -g homebridge-soma-shades

You can also install it on the homebridge plugins page.

Configuration

You can configure it using homebridge-config-ui-x or add below to config.json manually

{
    "discoverDelay": 15,
    "devices": [
        {
            "name": "Balcony Shades",
            "id": "CHANGE ME TO YOUR SHADES MAC ADDRESS WITHOUT COLON"
        }
    ],
    "platform": "SOMAShades"
}

TODO

  • [x] add a battery accessory for the shades
  • [ ] correctly read charging state
  • [ ] set polling rate through config

Known Issue

TypeError: Cannot set property 'mtu' of undefined

See abandonware/noble#164

Package Sidebar

Install

npm i homebridge-soma-shades

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

92.8 kB

Total Files

23

Last publish

Collaborators

  • fisherwise