Closed ebaauw closed 2 years ago
As other alternative, I'm considering writing a plugin against the HTTP API provided by the SOMA Connect bridge. I don't think that Homebridge will run on the same Pi as the Connect bridge though; the soma-connect
executable seems to open the mDNS port 5353 exclusively.
They don't provide any notifications, so I would need to poll the Connect bridge. The HTTP API doesn't provide a single call to get the state of all devices. Even position and battery for a single device need to be read using two different calls. A plugin against the HTTP API will be an interesting stress test for the Connect.
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: