Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Command crashes homebridge #45

Open
quintcaec opened this issue Jul 18, 2018 · 1 comment
Open

Command crashes homebridge #45

quintcaec opened this issue Jul 18, 2018 · 1 comment

Comments

@quintcaec
Copy link

quintcaec commented Jul 18, 2018

Hi there,

Running a command to control my HarmonyHub, works on a Lubuntu install on a different HarmonyHub, but keeps failing (and crashing Homebridge) on a Raspberry Pi. Checked the logs, only bit of info I could dig up is below, hoping you could help:

TypeError: "file" argument must be a non-empty string
at normalizeSpawnArguments (child_process.js:380:11)
at exports.spawn (child_process.js:493:38)
at Object.exports.execFile (child_process.js:209:15)
at exports.exec (child_process.js:139:18)
at cmdSwitchPlatform.setPowerState (/usr/local/lib/node_modules/homebridge-cmdswitch2/index.js:222:3)
at Characteristic.emit (events.js:160:13)
at Characteristic.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:320:10)
at Service.setCharacteristic (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Service.js:183:32)
at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-cmdswitch2/index.js:237:12)
at ontimeout (timers.js:458:11)

@knilly
Copy link

knilly commented Aug 24, 2018

Same here.

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

No branches or pull requests

2 participants