Giter Club home page Giter Club logo

homebridge-soma-shades's Introduction

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

  • 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

homebridge-soma-shades's People

Contributors

mylylyl avatar

Stargazers

 avatar Jake Jarrett avatar  avatar Mitch avatar  avatar Damien Erambert avatar Florian Wendelborn avatar  avatar

Watchers

 avatar  avatar

homebridge-soma-shades's Issues

Access to Morning Mode

Is your feature request related to a problem? Please describe:

Currently, morning mode is apparently only accessible through the official Soma Connect bridge. To eliminate the need for the bridge, morning mode would be important for this plugin.

Describe the solution you'd like:

If possible, the implementation of morning mode to make it accessible for automation would be highly appreciated.

SmartShades 3 not detected

Describe The Bug:

Trying to connect to SmartShades 3, the plugin fails with peripheral c1bb0e9ed142 failed to discover services: Error: timed out. My suspicion is that the UUIDs for the services for the SmartShades 3 are different from the SmartShades 2.

To Reproduce:

Try to connect to SmartShades 3.

Expected behavior:

Should connect.

Logs:

[23/08/2023, 23:18:45] Registering platform 'homebridge-soma-shades.SOMAShades'
[23/08/2023, 23:18:45] [SOMAShades] Initializing SOMAShades platform...
[23/08/2023, 23:18:45] [SOMAShades] Finished initializing platform
[23/08/2023, 23:18:45] [SOMAShades] Loading accessory from cache: Bedroom Shades
[23/08/2023, 23:18:45] [SOMAShades] on DID_FINISH_LAUNCHING. Looking for new accessories
[23/08/2023, 23:18:45] [SOMAShades] delay discovery for 15 seconds
[23/08/2023, 23:19:00] [SOMAShades] noble is not running. waiting for it to power on...
[23/08/2023, 23:19:00] [SOMAShades] noble is powered on
[23/08/2023, 23:19:00] [SOMAShades] start noble scanning
[23/08/2023, 23:19:00] [SOMAShades] peripheral 1bac1bab8c9a is not in config
[23/08/2023, 23:19:00] [SOMAShades] peripheral ee7877967e9f is not in config
[23/08/2023, 23:19:00] [SOMAShades] peripheral 1a0314cc955a is not in config
[23/08/2023, 23:19:00] [SOMAShades] peripheral 02942eaaebeb is not in config
[23/08/2023, 23:19:00] [SOMAShades] peripheral 326a6978cb77 is not in config
[23/08/2023, 23:19:00] [SOMAShades] discovered peripheral c1bb0e9ed142, adding to accessories
[23/08/2023, 23:19:00] [SOMAShades] restoring existing accessory from cache: Bedroom Shades
[23/08/2023, 23:19:00] [SOMAShades] peripheral c1bb0e9ed142 is not connected to get info characteristics
[23/08/2023, 23:19:00] [SOMAShades] peripheral c1bb0e9ed142 is not connected
[23/08/2023, 23:19:01] [SOMAShades] discovered all peripherals
[23/08/2023, 23:19:01] [SOMAShades] peripheral c1bb0e9ed142 is connected
[23/08/2023, 23:19:01] [SOMAShades] peripheral c1bb0e9ed142 is not initialized
[23/08/2023, 23:19:01] [SOMAShades] peripheral c1bb0e9ed142 is getting services
[23/08/2023, 23:19:01] [SOMAShades] peripheral c1bb0e9ed142 disconnected
[23/08/2023, 23:19:11] [SOMAShades] peripheral c1bb0e9ed142 failed to discover services: Error: timed out
[23/08/2023, 23:19:11] [SOMAShades] peripheral c1bb0e9ed142 has invalid services
[23/08/2023, 23:19:11] [SOMAShades] accessory Bedroom Shades failed to get device information: Error: invalid services

Plugin Config:

{
    "discoverDelay": 15,
    "devices": [
        {
            "name": "Bedroom Shades",
            "id": "c1bb0e9ed142"
        }
    ],
    "platform": "SOMAShades"
}

Screenshots:

Using the LightBlue app on my MacBook, this is the advertisement data of the shades:

CleanShot 2023-08-23 at 23 46 35@2x

None of the UUIDs match with any of the UUIDs in https://github.com/aiden0w0/homebridge-soma-shades/blob/2490adab96e53d29d90ec075be67fd214014387a/src/somaDevice.ts#L4-L18

Environment:

  • Plugin Version: 1.2.0
  • Homebridge Version:
  • Node.js Version: 18.16.0
  • NPM Version:
  • Operating System: Raspberry

Plug-in not running

I can't get the plug-in to do anything. I believe the error is related to this message I get when I restart home bridge:

"noble warning: adapter state unauthorized, please run as root or with sudo
or see README for information on running without root/sudo:
https://github.com/sandeepmistry/noble#running-on-linux
[5/10/2021, 5:16:21 AM] [SOMAShades] noble is not running. waiting for it to power on..."

I'm out of ideas!

Environment:

  • Plugin Version: Current
  • Homebridge Version: Current
  • Node.js Version: Unsure
  • NPM Version: current
  • Operating System: <!-- Raspbian

Some files not available while installing Bluetooth libraries

Describe Your Problem:

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:
0589F5F2-71CD-4732-B695-FB1ECBD2D702

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:

Shades not detected on macOS

Describe The Bug:

Hi, I just received the new SOMA SmartBlinds 3. They are supposed to eventually support Matter over Thread, but are still waiting for a certification according to SOMA (who knows when). So for now are Bluetooth only or through Soma Connect U1. I was hoping to avoid the extra $70 for the U1 and just use Homebridge for now.

I got the plugin and noble working and scanning a bunch of Bluetooth devices, but it doesn't seem to recognize the SOMA device. I can also see the SOMA smart blinds device under the MAC address I put ni the config in a different Bluetooth scanning app.

To Reproduce:

Put in MAC address of Soma Blinds 3 device on macOS

Expected behavior:

Should detect the Smart Blinds 3

Logs:

[8/12/2023, 12:34:57 AM] [HB Supervisor] Restarting Homebridge...
[8/12/2023, 12:34:57 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -D
[8/12/2023, 12:34:57 AM] [HB Supervisor] Started Homebridge v1.6.1 with PID: 5566
[8/12/2023, 12:34:57 AM] Loaded config.json with 0 accessories and 4 platforms.
[8/12/2023, 12:34:57 AM] Loaded 2 cached accessories from cachedAccessories.
[8/12/2023, 12:34:57 AM] ---
[8/12/2023, 12:34:58 AM] Loaded plugin: [email protected]
[8/12/2023, 12:34:58 AM] Registering platform 'homebridge-config-ui-x.config'
[8/12/2023, 12:34:58 AM] ---
[8/12/2023, 12:34:58 AM] Loaded plugin: [email protected]
[8/12/2023, 12:34:58 AM] Registering platform 'homebridge-dyson-pure-cool.DysonPureCoolPlatform'
[8/12/2023, 12:34:58 AM] ---
[8/12/2023, 12:34:58 AM] Disabled plugin: [email protected]
[8/12/2023, 12:34:58 AM] ---
[8/12/2023, 12:34:58 AM] Loaded plugin: [email protected]
[8/12/2023, 12:34:58 AM] Registering platform 'homebridge-soma-shades.SOMAShades'
[8/12/2023, 12:34:58 AM] ---
[8/12/2023, 12:34:58 AM] Loading 4 platforms...
[8/12/2023, 12:34:58 AM] Ignoring config for the platform "ElgatoKeyLights" in your config.json as the plugin "homebridge-keylights" has been disabled.
[8/12/2023, 12:34:58 AM] [DysonPureCoolPlatform] Initializing DysonPureCoolPlatform platform...
[8/12/2023, 12:34:58 AM] [DysonPureCoolPlatform] Homebridge API available.
[8/12/2023, 12:34:58 AM] [DysonPureCoolPlatform] Credentials generator website started.
[8/12/2023, 12:34:58 AM] [SOMAShades] Initializing SOMAShades platform...
[8/12/2023, 12:34:58 AM] [SOMAShades] Finished initializing platform
[8/12/2023, 12:34:58 AM] [DysonPureCoolPlatform] Cached accessories loaded.
[8/12/2023, 12:34:58 AM] [DysonPureCoolPlatform] Device with serial number X4E-US-RKA0151A: product type 527K
[8/12/2023, 12:34:58 AM] [DysonPureCoolPlatform] X4E-US-RKA0151A - MQTT connection requested for 192.168.86.31.
[8/12/2023, 12:34:58 AM] [DysonPureCoolPlatform] Accessories initialized.
[8/12/2023, 12:34:58 AM] [SOMAShades] on DID_FINISH_LAUNCHING. Looking for new accessories
[8/12/2023, 12:34:58 AM] [SOMAShades] delay discovery for 15 seconds
[8/12/2023, 12:34:58 AM] Publishing bridge accessory (name: Homebridge 69A4, publishInfo: {
  username: '0E:A9:9D:D2:69:A4',
  port: 51553,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'bonjour-hap'
}).
Setup Payload:
X-HM://0024X24CJWSQ4
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐
    │ 875-52-899 │
    └────────────┘

[8/12/2023, 12:34:58 AM] Homebridge v1.6.1 (HAP v0.11.1) (Homebridge 69A4) is running on port 51553.
[8/12/2023, 12:34:58 AM] [DysonPureCoolPlatform] X4E-US-RKA0151A - MQTT connection established.
[8/12/2023, 12:34:58 AM] [DysonPureCoolPlatform] X4E-US-RKA0151A - MQTT message received: {"msg":"CURRENT-STATE","time":"2023-08-12T07:34:59.000Z","mode-reason":"PUI","state-reason":"MODE","rssi":"-45","channel":"36","fqhp":"0","fghp":"37344","product-state":{"fpwr":"ON","auto":"OFF","oscs":"ON","oson":"ON","nmod":"OFF","rhtm":"ON","fnst":"FAN","ercd":"12E1","wacd":"NONE","nmdv":"0004","fnsp":"0006","bril":"0002","corf":"OFF","cflr":"INV","hflr":"0058","cflt":"NONE","hflt":"GCOM","sltm":"OFF","osal":"0170","osau":"0215","ancp":"0350","hmod":"OFF","hmax":"2935","tilt":"OK","hsta":"OFF","psta":"OFF","fdir":"ON"},"scheduler":{"srsc":"0000000000000000","dstv":"0001","tzid":"0001"}}
[8/12/2023, 12:34:58 AM] [DysonPureCoolPlatform] X4E-US-RKA0151A - MQTT message received: {"msg":"ENVIRONMENTAL-CURRENT-SENSOR-DATA","time":"2023-08-12T07:34:59.000Z","data":{"tact":"2983","hact":"0052","pm25":"0001","pm10":"0000","va10":"0009","noxl":"0003","p25r":"0001","p10r":"0001","hcho":"NONE","hchr":"NONE","sltm":"OFF"}}
[8/12/2023, 12:35:03 AM] [DysonPureCoolPlatform] X4E-US-RKA0151A - MQTT message received: {"msg":"CURRENT-STATE","time":"2023-08-12T07:35:04.000Z","mode-reason":"PUI","state-reason":"MODE","rssi":"-45","channel":"36","fqhp":"0","fghp":"37344","product-state":{"fpwr":"ON","auto":"OFF","oscs":"ON","oson":"ON","nmod":"OFF","rhtm":"ON","fnst":"FAN","ercd":"12E1","wacd":"NONE","nmdv":"0004","fnsp":"0006","bril":"0002","corf":"OFF","cflr":"INV","hflr":"0058","cflt":"NONE","hflt":"GCOM","sltm":"OFF","osal":"0170","osau":"0215","ancp":"0350","hmod":"OFF","hmax":"2935","tilt":"OK","hsta":"OFF","psta":"OFF","fdir":"ON"},"scheduler":{"srsc":"0000000000000000","dstv":"0001","tzid":"0001"}}
[8/12/2023, 12:35:03 AM] [DysonPureCoolPlatform] X4E-US-RKA0151A - MQTT message received: {"msg":"ENVIRONMENTAL-CURRENT-SENSOR-DATA","time":"2023-08-12T07:35:04.000Z","data":{"tact":"2983","hact":"0052","pm25":"0001","pm10":"0000","va10":"0009","noxl":"0003","p25r":"0001","p10r":"0001","hcho":"NONE","hchr":"NONE","sltm":"OFF"}}
[8/12/2023, 12:35:08 AM] [DysonPureCoolPlatform] X4E-US-RKA0151A - MQTT message received: {"msg":"CURRENT-STATE","time":"2023-08-12T07:35:09.000Z","mode-reason":"PUI","state-reason":"MODE","rssi":"-45","channel":"36","fqhp":"0","fghp":"37344","product-state":{"fpwr":"ON","auto":"OFF","oscs":"ON","oson":"ON","nmod":"OFF","rhtm":"ON","fnst":"FAN","ercd":"12E1","wacd":"NONE","nmdv":"0004","fnsp":"0006","bril":"0002","corf":"OFF","cflr":"INV","hflr":"0058","cflt":"NONE","hflt":"GCOM","sltm":"OFF","osal":"0170","osau":"0215","ancp":"0350","hmod":"OFF","hmax":"2935","tilt":"OK","hsta":"OFF","psta":"OFF","fdir":"ON"},"scheduler":{"srsc":"0000000000000000","dstv":"0001","tzid":"0001"}}
[8/12/2023, 12:35:08 AM] [DysonPureCoolPlatform] X4E-US-RKA0151A - MQTT message received: {"msg":"ENVIRONMENTAL-CURRENT-SENSOR-DATA","time":"2023-08-12T07:35:09.000Z","data":{"tact":"2983","hact":"0052","pm25":"0001","pm10":"0000","va10":"0009","noxl":"0003","p25r":"0001","p10r":"0001","hcho":"NONE","hchr":"NONE","sltm":"OFF"}}
[8/12/2023, 12:35:13 AM] [SOMAShades] noble is not running. waiting for it to power on...
[8/12/2023, 12:35:13 AM] [SOMAShades] noble is powered on
[8/12/2023, 12:35:13 AM] [SOMAShades] start noble scanning
[8/12/2023, 12:35:13 AM] [SOMAShades] peripheral 9e49a0a13676168d1634e8f85b7c2ce8 is not in config
[8/12/2023, 12:35:13 AM] [SOMAShades] peripheral 8efc3940b5869f3980cd76011ee66289 is not in config
[8/12/2023, 12:35:13 AM] [SOMAShades] peripheral 8b01d50dc31296bb3fe6d17fd390a823 is not in config
[8/12/2023, 12:35:13 AM] [SOMAShades] peripheral 549fd7d666339565c4c33329118d435e is not in config
[8/12/2023, 12:35:13 AM] [SOMAShades] peripheral 3402e3ef24b67d3a6d4f6b03f7e9a9f8 is not in config
[8/12/2023, 12:35:13 AM] [SOMAShades] peripheral 14f39da1c6ae1bb91e34bd72d79c9b5a is not in config
[8/12/2023, 12:35:13 AM] [SOMAShades] peripheral 7c5f24ab3a886cf30ec21acbab216169 is not in config
[8/12/2023, 12:35:13 AM] [SOMAShades] peripheral 105c41080e226e384c3ac9fa0e7b4f6f is not in config
[8/12/2023, 12:35:13 AM] [SOMAShades] peripheral a311c9f5a131d01b2f6e856c66f314ad is not in config
[8/12/2023, 12:35:13 AM] [SOMAShades] peripheral b2c256901662556a9369dc8d66b9227f is not in config
[8/12/2023, 12:35:13 AM] [SOMAShades] peripheral ec98a8af3cc8e7eabe84322858271be3 is not in config
[8/12/2023, 12:35:13 AM] [SOMAShades] peripheral bc9320485dbfcc508b488d37b62cd71d is not in config
[8/12/2023, 12:35:13 AM] [DysonPureCoolPlatform] X4E-US-RKA0151A - MQTT message received: {"msg":"CURRENT-STATE","time":"2023-08-12T07:35:14.000Z","mode-reason":"PUI","state-reason":"MODE","rssi":"-47","channel":"36","fqhp":"0","fghp":"37344","product-state":{"fpwr":"ON","auto":"OFF","oscs":"ON","oson":"ON","nmod":"OFF","rhtm":"ON","fnst":"FAN","ercd":"12E1","wacd":"NONE","nmdv":"0004","fnsp":"0006","bril":"0002","corf":"OFF","cflr":"INV","hflr":"0058","cflt":"NONE","hflt":"GCOM","sltm":"OFF","osal":"0170","osau":"0215","ancp":"0350","hmod":"OFF","hmax":"2935","tilt":"OK","hsta":"OFF","psta":"OFF","fdir":"ON"},"scheduler":{"srsc":"0000000000000000","dstv":"0001","tzid":"0001"}}
[8/12/2023, 12:35:13 AM] [DysonPureCoolPlatform] X4E-US-RKA0151A - MQTT message received: {"msg":"ENVIRONMENTAL-CURRENT-SENSOR-DATA","time":"2023-08-12T07:35:14.000Z","data":{"tact":"2983","hact":"0052","pm25":"0001","pm10":"0000","va10":"0009","noxl":"0003","p25r":"0001","p10r":"0001","hcho":"NONE","hchr":"NONE","sltm":"OFF"}}
[8/12/2023, 12:35:14 AM] [SOMAShades] peripheral bf9a15d517c89700abaac5a333f3ad99 is not in config
[8/12/2023, 12:35:14 AM] [SOMAShades] peripheral 47a50109a78b1295a470018457547b82 is not in config
[8/12/2023, 12:35:14 AM] [SOMAShades] peripheral 549fd7d666339565c4c33329118d435e is not in config

It just repeats forever like this.

Plugin Config:

{
    "discoverDelay": 15,
    "devices": [
        {
            "name": "Bedroom Shades",
            "id": "c1bb0e9ed142"
        }
    ],
    "platform": "SOMAShades"
}

Screenshots:

Environment:

  • Plugin Version: 1.2.0
  • Homebridge Version: 1.6.1
  • Node.js Version: 19.0.1
  • NPM Version: 8.19.2
  • Operating System: macOS Ventura 13.4.1

Help configuring

I've installed the package and the bluetooth libraries, but where to next?
can you help as I don't know where to find the mac addresses of my soma devices.

Support SOMA Tilt v2

Is your feature request related to a problem? Please describe:

SOMA Tilt v2 seems to be discovered alright; accessory is created with Window Covering and Battery services, but it doesn't work. The log suggests the plugin doesn't like the services it exposes.

The TILT can be controlled from the SOMA app, and from the SOMA Connect bridge.

I made sure to close the SOMA app, and shut down the SOMA Connect bridge.

Describe the solution you'd like:

Support for the TILT v2, obviously.

Happy to contribute. I'm very experienced in Homebridge, but haven't done anything Bluetooth before. Where did you get the Bluetooth API for the Shades?

Describe alternatives you've considered:

Native SOMA Connect bridge exposes the SOMA Tilt v2 alright, but no Battery service. Also they defined the Close Upwards and Morning Mode characteristics as write-only. I don't know any HomeKit app that likes that.

The Connect bridge is based on HAP-NodeJS alright, but they seem to have packed everything into a single executable - I cannot find any Javascript files to tamper with.

Additional context:

[Jul 29 23:12:54] [Soma] Launched child bridge with PID 21061
[Jul 29 23:12:54] [Soma] Loaded homebridge-soma-shades v1.2.0 child bridge successfully
[Jul 29 23:12:54] [Soma] Finished initializing platform
[Jul 29 23:12:54] [Soma] on DID_FINISH_LAUNCHING. Looking for new accessories
[Jul 29 23:12:54] [Soma] delay discovery for 15 seconds
[Jul 29 23:13:09] [Soma] noble is not running. waiting for it to power on...
[Jul 29 23:13:09] [Soma] noble is powered on
[Jul 29 23:13:09] [Soma] start noble scanning
[Jul 29 23:13:09] [Soma] peripheral xxxxxxxxxxxx is not in config
(...)
[Jul 29 23:13:22] [Soma] peripheral xxxxxxxxxxxx is not in config
[Jul 29 23:13:23] [Soma] discovered peripheral f87e821702d6, adding to accessories
[Jul 29 23:13:23] [Soma] adding new accessory: Office
[Jul 29 23:13:23] [Soma] peripheral f87e821702d6 is not connected to get info characteristics
[Jul 29 23:13:23] [Soma] peripheral f87e821702d6 is not connected
[Jul 29 23:13:23] [Soma] discovered all peripherals
[Jul 29 23:13:23] [Soma] peripheral f87e821702d6 is connected
[Jul 29 23:13:23] [Soma] peripheral f87e821702d6 is not initialized
[Jul 29 23:13:23] [Soma] peripheral f87e821702d6 is getting services
[Jul 29 23:13:23] [Soma] peripheral f87e821702d6 disconnected
[Jul 29 23:13:33] [Soma] peripheral f87e821702d6 failed to discover services: Error: timed out
[Jul 29 23:13:33] [Soma] peripheral f87e821702d6 has invalid services
[Jul 29 23:13:33] [Soma] accessory Office failed to get device information: Error: invalid services
[Jul 29 23:15:30] [Soma] Office failed to set position because shade is at 0 already
[Jul 29 23:15:30] [Soma] moving Office up to 1
[Jul 29 23:15:30] [Soma] peripheral f87e821702d6 is not connected for getTargetPosition
[Jul 29 23:15:30] [Soma] peripheral f87e821702d6 is not connected
[Jul 29 23:15:39] [Soma] moving Office up to 61
[Jul 29 23:15:39] [Soma] peripheral f87e821702d6 is not connected
[Jul 29 23:15:39] [Soma] peripheral f87e821702d6 is not connected for getTargetPosition
[Jul 29 23:15:40] [Soma] peripheral f87e821702d6 failed to connect Error: timed out
[Jul 29 23:15:40] [Soma] Office failed to set target position: Error: Error: timed out
[Jul 29 23:15:49] [Soma] peripheral f87e821702d6 failed to connect Error: timed out
[Jul 29 23:15:49] [Soma] Office failed to set target position: Error: Error: timed out
[Jul 29 23:15:57] [Soma] peripheral f87e821702d6 disconnected
[Jul 29 23:15:57] [Soma] peripheral f87e821702d6 disconnected

Not working

Hi I have installed on my Raspberry pi 4. It is appearing as an accessory but does not work. After a restart in debug mode. Any help? It just gets stuck saying opening but not actually doing anything. I don't know if those other peripherals it talks about ones I have since removed.

Here are the logs:

[12/28/2020, 2:57:31 PM] [SOMAShades] Initializing SOMAShades platform...
[12/28/2020, 2:57:31 PM] [SOMAShades] Finished initializing platform
[12/28/2020, 2:57:31 PM] [SOMAShades] Loading accessory from cache: Blinds
[12/28/2020, 2:57:31 PM] [SOMAShades] Executed didFinishLaunching callback
[12/28/2020, 2:57:31 PM] [SOMAShades] start noble scanning
Setup Payload:
X-HM://002518L3O16H4
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 945-73-012 │     
└────────────┘     

[12/28/2020, 2:57:31 PM] Homebridge is running on port 51606.
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 6be6c5449c89 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 434bae918423 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 662ccc578713 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 357bdbcfc359 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 3cf271d93bc4 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 76f331d338fd is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 733aa9512799 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 7f99c06d6566 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 1f2abc75a0f6 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 7f61b78097fd is not configured
[12/28/2020, 2:57:33 PM] [Homebridge UI] Homebridge Config UI X v4.36.0 is listening on :: port 8581
[12/28/2020, 2:57:32 PM] [SOMAShades] peripheral 78bdbc7252ff is not configured
[12/28/2020, 2:57:35 PM] [SOMAShades] peripheral 469d2a02998c is not configured
[12/28/2020, 2:58:10 PM] [SOMAShades] peripheral 76bcf87907ad is not configured
[12/28/2020, 2:59:59 PM] [SOMAShades] peripheral 229567699a37 is not configured
[12/28/2020, 3:00:56 PM] [SOMAShades] peripheral 0b99743a78ff is not configured
[12/28/2020, 3:00:56 PM] [SOMAShades] peripheral 18716ea1aca3 is not configured

Help pls

Do I need soma connect product when I use this plugin?

HomeKit keeps thinking blinds are closing when not

Describe The Bug:

Going into the Home app shows both my Soma Shades as actively closing when they are both sitting idling. If I open the accessory in the HomeBridge accessories page, they are both correctly listed as idle in the open state.

To Reproduce:

  1. Restart homebridge server.
  2. Launch Home app
  3. Check soma status
  4. Status says “opening”

Expected behavior:

Expected Home app status to match homebridge and blinds actual status.

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version: Latest
  • Homebridge Version: Latest
  • Node.js Version:
  • NPM Version:
  • Operating System: Raspbian

Invalid services after configuring the MAC address

Describe Your Problem:

I am new to this plugin. I just bought my SOMA Smart Shades 2, connected to the soma app. I failed to flash the official SOMA Connect image, and I also dont want to waste a raspberry pi just for running such services.

The problem that I encounter is that I wasn't able to add my shade to HOOBS with this plugin. I typed to following information to config, where the id is the mac address of my shades.
截圖 2021-05-18 23 34 06

I scan the MAC address with sudo hcitool lescan, use the mac address with name RISEAPP252. Is there any possible reason is that the mac address I input is wrong?

I got a fake accessory searched, but inside log, it said invalid services.

截圖 2021-05-18 23 36 56

Logs:

2021/5/18 下午11:26:38 Got SIGINT, shutting down Bridge...
2021/5/18 下午11:26:40 Initializing HAP-NodeJS v0.9.2...
2021/5/18 下午11:26:41 Loaded plugin 'homebridge-soma-shades'
2021/5/18 下午11:26:41 [5/18/2021, 9:26:41 AM] Registering platform 'homebridge-soma-shades.SOMAShades'
2021/5/18 下午11:26:41 Loading 1 platforms...
2021/5/18 下午11:26:41 [SOMAShades] Initializing SOMAShades platform...
2021/5/18 下午11:26:41 Preparing Advertiser for 'HOOBS 65EF' using bonjour-hap backend!
2021/5/18 下午11:26:41 Starting to advertise 'HOOBS 65EF' using bonjour-hap backend!
2021/5/18 下午11:26:41 Bridge is running on port 51826.
2021/5/18 下午11:26:56 [SOMAShades] Bedroom is not configured, removing...
2021/5/18 下午11:26:56 [SOMAShades] noble is not running. waiting for it to power on...
2021/5/18 下午11:26:56 [SOMAShades] noble is powered on
2021/5/18 下午11:26:56 [SOMAShades] discovered peripheral 756caa12a791, adding to accessories
2021/5/18 下午11:26:56 [SOMAShades] discovered all peripherals
2021/5/18 下午11:26:57 [SOMAShades] peripheral 756caa12a791 has invalid services
2021/5/18 下午11:26:57 [SOMAShades] accessory Bedroom failed to get device information: Error: invalid services

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version: 1.2.0 published 1/25/2021
  • Homebridge Version: HOOBS Core Current Version: 3.3.3
  • Node.js Version:
  • NPM Version:
  • Operating System:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.