Open sebastien247 opened 4 years ago
Solved?
Hello, I have exactly the same problem after updating all my Homebridge system. Any solution ?
Works perfectly without any accessory, but when I add an accessory, Homebridge crases with same error log.
I have the same problem - I think the new Homebridge version is expecting additional characteristics such as "Identify" and "FirmwareVersion"
Perhaps @doom369 may have someone that can fix this for us poor coding newbies who are more likely to do more harm than good ;-). I can't wait to say "Hey Siri, turn on my ESP32-Blynk light."
[Logs:]()
Secondary Homebridge Logs here
TypeError: Cannot read property 'getCharacteristic' of undefined
at Accessory._this._sideloadServices (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Accessory.js:1060:17)
at Function.Accessory.deserialize (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1718:15)
at Function.deserialize (/usr/local/lib/node_modules/homebridge/src/platformAccessory.ts:150:33)
at /usr/local/lib/node_modules/homebridge/src/server.ts:263:34
at Array.map (<anonymous>)
at Server.loadCachedPlatformAccessoriesFromDisk (/usr/local/lib/node_modules/homebridge/src/server.ts:262:58)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:149:10)
at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
[11/18/2020, 6:32:11 PM] [HB Supervisor] Homebridge Process Ended. Code: 0, Signal: null
Homebridge Config:
{
"bridge": {
"name": "Homebridge XXXX",
"username": "XX:XX:XX:XX:XX",
"port": 51238,
"pin": "000-00-000"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"auth": "form",
"theme": "auto",
"tempUnits": "c",
"lang": "auto",
"platform": "config"
},
{
"platform": "Blynk",
"name": "Blynk",
"serverurl": "10.1.1.1:8080",
"token": "******************************",
"pollerperiod": "10",
"accessories": [
{
"name": "LampOnOff",
"widget": "Switch",
"mode": "SWITCH",
"caption": "Table Lamp",
"pin": "V0"
}
]
}
]
}
Node.js Version: v14.15.0
NPM Version: v6.14.8
Homebridge Version: v1.1.6
Operating System: Raspbian
Process Supervisor: hb-service
homebridge-blynk: v0.9.0
Hello,
Have you resolved the issue? I have exactly the same.
Thank you all
Hi I don’t remember if it’s working now, i´ve switched to home-assistant and i use node-red to interact with HA using Blynk web api. My homebridge now only use for connecting my Nest thermostat with Homekit
I have the same mistake. Is there a solution? Thanks
you can use homebridge-blynk-platform plugin it works perfectly
Hi,
I obtain an error when I add an accessory to the config.json.
My config file:
Without this part:
homebridge can start without any problem.
Thanks