Closed L4RGER closed 4 years ago
I need the full logs. The error is just out of the viewport in your screen shot.
hb-service logs
[2/23/2020, 10:44:43 AM] Loaded plugin: homebridge-tuya-lan2 [2/23/2020, 10:44:43 AM] Registering platform 'homebridge-tuya-lan.TuyaLan' [2/23/2020, 10:44:43 AM] --- [2/23/2020, 10:44:43 AM] ==================== [2/23/2020, 10:44:43 AM] ERROR LOADING PLUGIN homebridge-wiz-lan: [2/23/2020, 10:44:43 AM] /usr/local/lib/node_modules/homebridge-wiz-lan/lib/client/index.js:256 setPilot = (host, state) => { ^
SyntaxError: Unexpected token =
at new Script (vm.js:79:7)
at createScript (vm.js:251:10)
at Object.runInThisContext (vm.js:303:10)
at Module._compile (internal/modules/cjs/loader.js:657:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
[2/23/2020, 10:44:43 AM] ====================
[2/23/2020, 10:44:43 AM] ====================
[2/23/2020, 10:44:43 AM] ERROR LOADING PLUGIN homebridge-zigbee-v2:
[2/23/2020, 10:44:43 AM] Error: Cannot find module '../model/group'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.
This is a plugin issue as per the logs.
homebridge-zigbee-v2
is causing you problems. Did you mean to install -v2
?
Check your config matches the instructions for the plugin, otherwise you should raise the issue on that plugins project page.
I’ve just uninstalled that one and wiz I’ll do a reboot and see
Also thank you for the quick responses. I went for v2 because it was newer. I’d hoped to set up home bridge prior to buying devices, to save time. Probably not the best way to do it
I'm not familiar with either of the homebridge-zigbee
plugins so can't help much in that department.
If Homebridge is ever "Not Running" just check the logs, usually the error will be in red text and if you read carefully you'll see the name of the plugin in it somewhere.
All sorted after I removed those plugins and rebooted.
Hi, Please forgive me if this is incorrect. I’m trying. I’m new to all this, yesterday I set up homebridge and config-ui-x, I restarted the Rpi through the ui. Since then the ui has only shown the homebridge as not running. I checked homebridge status through systemctl status homebridge and it’s active. I think I’ve since got another instance of homebridge running as I typed ‘homebridge’ in terminal. I’ve added a bunch of plugins, without devices yet. The only device I’ve added is a tuya light.
Logs: Not sure if you want a copy and paste or screenshot Here’s a screen shot of the UI logs
Homebridge Config: I can copy and paste full config if required but here’s a screenshot
Screenshots:
Environment: