Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Error with heimcontrol #64

Closed
Adill14 opened this issue May 8, 2014 · 5 comments · Fixed by #97
Closed

Error with heimcontrol #64

Adill14 opened this issue May 8, 2014 · 5 comments · Fixed by #97

Comments

@Adill14
Copy link

Adill14 commented May 8, 2014

I am still fairly new with working with the pi along with all this stuff. It is a learning process.
I am currently working on a home automation system and I have mongodb working properly on my raspberry pi. When I try to start heimcontrol.js i get an error.

WARNING: change secret string in config/development.json
info -socket.io started
connect.multipart() will be removed in connect 3.0
heimcontrol.js listening on port 8080

events.js:72
throw er; //unhandled 'error' event
^
Error: Cannot open /dev/

Thanks much for any and all help.

@Adill14
Copy link
Author

Adill14 commented May 8, 2014

I have also looked at issues 50 and 57. I tried the things that were done in 50 but had no success. Not sure what is the problem.I get the same error still.

@demonic645
Copy link

Hi Adill14,

Is your Arduino board plugged in? Its needs to be plugged in when you boot up your pi.

@EmbeddedSam
Copy link

as far as I remember the arduino didn't need to be plugged in originally, I don't want to use an arduino as I don't have one or have any interest in using them. How do I get the library up and running without an arduino? thanks

@Opulence
Copy link

...try removing the Arduino plugin files before booting. They're recursively loaded in, so I'd imagine that'd solve it. ...as in it wouldn't initialise the Arduino.

@tjanson
Copy link
Contributor

tjanson commented Sep 29, 2014

This is still current: Heimcontrol requires an Arduino to be plugged in (and found etc.), which imho needs to be fixed in two ways:

  • Make the error message more meaningful. It’s presumably the most common Heimcontrol issue by far. Just adding “Cannot open /dev/ — failed to connect to Arduino” would help a ton.
  • Don’t exit if the Arduino is not found. Heimcontrol can definitely be useful without it, so why require it??

It’s on my todo; it’s really rather simple. (No promises.)

Done, see #97 and ni-c/duino#4.

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

Successfully merging a pull request may close this issue.

5 participants