hi,
since I updated to the new version (with homebridge), homebridge won't start and log in red
"TypeError: Cannot read property 'length' of undefined
at TuyaIRPlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-tuya-ir/src/platform.ts:73:48)
at HomebridgeAPI. (/usr/local/lib/node_modules/homebridge-tuya-ir/src/platform.ts:42:12)
at HomebridgeAPI.emit (events.js:387:35)
at HomebridgeAPI.signalFinished (/usr/local/lib/node_modules/homebridge/src/api.ts:275:10)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:173:14)"
my config is
{
"name": "TuyaIR",
"client_id": "xxxxxxxxxxxxxxxxxx",
"secret": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
"region": "eu",
"smartIR": [
{
"autoFetchRemotes": true
}
],
"platform": "TuyaIR"
}
it worked well before the update, and I didn't change any of the parameters, so I need some advise here. thanks for your good job, and hope for help soon. Best regards
hi, since I updated to the new version (with homebridge), homebridge won't start and log in red "TypeError: Cannot read property 'length' of undefined at TuyaIRPlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-tuya-ir/src/platform.ts:73:48) at HomebridgeAPI. (/usr/local/lib/node_modules/homebridge-tuya-ir/src/platform.ts:42:12)
at HomebridgeAPI.emit (events.js:387:35)
at HomebridgeAPI.signalFinished (/usr/local/lib/node_modules/homebridge/src/api.ts:275:10)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:173:14)"
my config is
{
"name": "TuyaIR",
"client_id": "xxxxxxxxxxxxxxxxxx",
"secret": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
"region": "eu",
"smartIR": [
{
"autoFetchRemotes": true
}
],
"platform": "TuyaIR"
}
it worked well before the update, and I didn't change any of the parameters, so I need some advise here. thanks for your good job, and hope for help soon. Best regards