Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module './accessories/CMD.js' #3

Open
ahd71 opened this issue Jan 24, 2016 · 0 comments
Open

Error: Cannot find module './accessories/CMD.js' #3

ahd71 opened this issue Jan 24, 2016 · 0 comments

Comments

@ahd71
Copy link

ahd71 commented Jan 24, 2016

Hi,

I get "Error: Cannot find module './accessories/CMD.js'" when starting homebridge (if I configure an accessory using the "CMD" type).

i installed the plugin with "sudo npm install -g homebridge-cmd", no errors.
I can see files were created in "~/homebridge/node_modules/homebridge-cmd" but there is no file related to this in the ~/homebridge/accessories catalogue.

Any ideas of what I'm doing wrong, or forgot as prereq?

I'm attempting to use the plugin to control nexa devices via cmd line (and the command line part works fine already)

{
"accessory": "CMD",
"name": "nexa-1",
"on_cmd": "tdtool --on 2",
"off_cmd": "tdtool --off 2"
}

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

No branches or pull requests

1 participant