Open shaungorneau opened 1 year ago
hey man.. thanks for the bug report... its known that this first version doesnt support a lot of hubspace devices properly... as it was only made for my outdoor stringlights initially... im working on a formal 1.0 that will support most lighting devices and provide better debugging output for users as well so its easier for me to add support for additional devices.
Thanks for getting back to me! I fully understand.If you’d like any help whatsoever, I’d be happy to chip in wherever I can. I’m a seasoned web developer and API engineer if that helps in any way! Thanks for all your efforts!!
Shaun Gorneau
well, i would love that actually!
A bit of info first:
if you want, grab the src.. do a npm install
and then plug ur stuff into the constructor here in hscli: https://github.com/zenion/homebridge-plugin-hubspace/blob/adffc55ecbd584bb664203fafbd4f994b708e322/src/hscli.ts#L7
Then run the list
method on that little cli tool and give me the output in a gist or something... as im guessing ur issue is gonna be similar to otheres where you have multiple instances of lights but no "primary" instance for lack of a better term
In either case, im working on a refactor of the hubspace(afero) api interaction library that better models devices with multiple instances of functions into seperate "sub-devices" and such
if you have questions or want some sort of interactive convo feel free to ping me on discord Zenion#0001
Describe Your Problem: I have successfully installed the Homebridge plugin and added the Hubspace bridge to Homekit. My two devices (lightstrips) appear in HomeKit and appear to be "ready". Upon changing the light status from off to on (or on to off), the status immediately returns to the previous state with no effect on the lightstrip itself.
Logs:
Nothing in the logs about this issue
Plugin Config:
{ "bridge": { "name": "Homebridge C15D", "username": "0E:36:7C:C7:C1:5D", "port": 51529, "pin": "xxx-xx-xxx" }, "accessories": [ { "name": "It's Christmas Season", "stateful": true, "reverse": false, "time": 1000, "resettable": false, "accessory": "DummySwitch" } ], "platforms": [ { "name": "Config", "port": 8581, "auth": "form", "theme": "auto", "tempUnits": "f", "lang": "auto", "platform": "config" }, { "name": "Home Alarm", "cameras": true, "debug": true, "sensorRefresh": 2, "persistAccessories": true, "cameraOptions": { "enableHwaccelRpi": false }, "platform": "homebridge-simplisafe3.SimpliSafe 3" }, { "name": "CameraUI", "port": 8081, "atHomeSwitch": true, "logLevel": "info", "mqtt": { "active": false, "tls": false, "port": 1883 }, "http": { "active": false, "port": 7272, "localhttp": false }, "smtp": { "active": false, "port": 2727, "space_replace": "+" }, "ftp": { "active": false, "useFile": false, "port": 5050 }, "ssl": { "active": false }, "options": { "videoProcessor": "/usr/local/lib/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg" }, "cameras": [ { "name": "Test RTSP", "manufacturer": "Wyze", "model": "WyzeCam V3", "motion": true, "motionTimeout": 15, "unbridge": true, "hsv": true, "prebuffering": true, "prebufferLength": 4, "hksvConfig": { "source": "-i rtsp://user:camera@xxx.xxx.xxx.xxx/live" }, "videoConfig": { "source": "-i rtsp://user:camera@xxx.xxx.xxx.xxx/live", "subSource": "-i rtsp://user:camera@xxx.xxx.xxx.xxx/live", "stillImageSource": "-i rtsp://user:camera@xxx.xxx.xxx.xxx/live", "rtspTransport": "tcp", "maxStreams": 2, "vcodec": "copy", "acodec": "libfdk_aac", "audio": true }, "smtp": { "email": "Test RTSP" }, "videoanalysis": { "active": true }, "mqtt": {} } ], "platform": "CameraUI" }, { "name": "Hubspace Platform", "username": "my@email.com", "password": "mypassword", "_bridge": { "username": "0E:58:24:64:48:0C", "port": 45878 }, "platform": "hubspace" } ] }
Screenshots:
Environment: