ShinobiPlatform.didFinishLaunching() error: Cannot read property '0' of undefined
rbressers opened this issue · comments
rbressers commented
How great would it be to get my camera's from Shinobi into Homebridge! Unfortunately I get an error without any extra information pointing me in the right direction. I triple and quadruple checked the API and URL but still it won't budge.
The log entry:
homebridge | [4/5/2020, 7:39:43 PM] [Shinobi] Started HTTP server for homebridge-shinobi webhooks on port '8929'
homebridge | [4/5/2020, 7:39:43 PM] Homebridge is running on port 53989.
homebridge | [4/5/2020, 7:39:43 PM] [Shinobi] ShinobiPlatform.didFinishLaunching() error: Cannot read property '0' of undefined
vectronic commented
Can you please provide your homebridge config? It looks to me like the plugin is failing to get an array of named monitors from your config e.g.:
"platforms": [
{
"platform": "Shinobi",
"shinobi_api": "http://192.168.3.3:8080",
"api_key": "xxxx",
"group_key": "work",
"monitors": [
"rear",
"reception",
"front"
],
"web_hook_port": "8843"
},
vectronic commented
@rbressers is this issue resolved or do you need more assistance?