Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlugIn throws error after startup #6

Open
derVicthor opened this issue Jan 5, 2023 · 3 comments
Open

PlugIn throws error after startup #6

derVicthor opened this issue Jan 5, 2023 · 3 comments

Comments

@derVicthor
Copy link

Hey there,

I've managed to install the plugin and all of its dependencies. But atm my log shows an error and the light strip can't be accessed:

[1/5/2023, 3:13:30 PM] [@lyliya/homebridge-ledstrip-ble] This plugin threw an error from the characteristic 'On': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'connected'). See https://homebridge.io/w/JtMGR for more info.

Anything I can do to help debug this issue?

@Lyliya
Copy link
Owner

Lyliya commented Jan 5, 2023

Can you send me your configuration ?

@derVicthor
Copy link
Author

derVicthor commented Jan 5, 2023

Sure thing:

{
"bridge": {
"name": "Homebridge C032",
"username": "XXX",
"port": 53785,
"pin": "XXX"
},
"accessories": [
{
"name": "Staubsaugen",
"stateful": true,
"reverse": false,
"time": 1000,
"resettable": false,
"accessory": "DummySwitch"
},
{
"name": "Schloss",
"stateful": true,
"reverse": false,
"time": 1000,
"resettable": false,
"accessory": "DummySwitch"
},
{
"name": "Schlafenszeit",
"stateful": true,
"reverse": false,
"time": 1000,
"resettable": false,
"accessory": "DummySwitch"
},
{
"accessory": "LedStrip",
"name": "Treppe",
"mac": "88ab00ce26e2"
}
],
"platforms": [
{
"name": "Config",
"port": 8581,
"auth": "form",
"theme": "auto",
"tempUnits": "c",
"lang": "de",
"platform": "config"
},
{
"email": "XXX",
"password": "XXX",
"platform": "NeatoVacuumRobot"
},
{
"name": "FritzPlatform",
"warn": true,
"error": true,
"extendedError": true,
"devices": [
{
"active": true,
"name": "Fritz!BOX 7590",
"host": "192.168.178.1",
"username": "XXX",
"password": "XXX",
"ssl": true,
"tr064": true,
"igd": false,
"wifiUnits": 2,
"master": true,
"connection": "dsl",
"options": {
"wps": "switch"
}
}
],
"presence": [
{
"active": true,
"name": "Cigdem",
"address": "B8:C3:85:29:3D:D4",
"accType": "occupancy"
},
{
"active": true,
"name": "Victor",
"address": "70:31:7F:E3:E8:48",
"accType": "occupancy"
}
],
"smarthome": [
{
"active": true,
"name": "Flur Heizung",
"ain": "XXX",
"temperature": false,
"battery": false,
"accType": "thermostat"
},
{
"active": true,
"name": "Bad Heizung",
"ain": "XXX",
"temperature": false,
"battery": false,
"accType": "thermostat"
},
{
"active": true,
"name": "Wohnzimmer Heizung",
"ain": "XXX",
"accType": "thermostat"
},
{
"active": true,
"name": "Büro Heizung",
"ain": "XXX",
"accType": "thermostat"
},
{
"active": true,
"name": "Schlafzimmer Heizung",
"ain": "XXX",
"accType": "thermostat"
}
],
"options": {
"polling": {
"timer": 15
}
},
"platform": "FritzPlatform"
},
{
"name": "Nuki",
"latch": true,
"platform": "NB"
},
{
"name": "TuyaWebPlatform",
"options": {
"username": "XXX",
"password": "XXX",
"countryCode": "49",
"platform": "tuya"
},
"defaults": [
{
"device_type": "form"
}
],
"scenes": false,
"platform": "TuyaWebPlatform"
},
{
"pollInterval": 5000,
"platform": "playstation"
},
{
"devices": [
{
"name": "Luftbefeuchter",
"ip": "192.168.178.27",
"token": "XXX",
"deviceId": "XXX",
"model": "deerma.humidifier.jsq5",
"pollingInterval": 10,
"deepDebugLog": false,
"buzzerControl": true,
"ledControl": true,
"childLockControl": true,
"modeControl": true
}
],
"platform": "miot"
},
{
"name": "deCONZ",
"_bridge": {
"username": "XXX",
"port": 51467
},
"platform": "deCONZ"
},
{
"name": "Govee",
"username": "XXX",
"password": "XXX",
"apiKey": "XXX",
"platform": "Govee"
}
],
"disabledPlugins": [
"homebridge-hue"
]
}

EDIT: Seems to be an OS issue though, since the device is not accessible outside of docker either. I will drill down here myself.

EDIT2: Ok, issues solved regarding "hcitool lescan". Works both on HOST and CONTAINER now. Same error persists though...

@Lyliya
Copy link
Owner

Lyliya commented Jan 5, 2023

Can you connect to your ledstrip using bluetoothctl > connect 88:AB:00:CE:26:E2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants