Closed jdevelvis closed 10 years ago
First thing I'd check is the device path, it may be incorrect on the new board. It's also worth using the by-id
/dev
paths too as e.g. /dev/ttyUSB0
can change depending on boot probe order.
Sorry for the long delay in responding, didn't get a chance to test it out for quite awhile. Looks like the new board didn't have the proper USB to Serial drivers, which is why the z-stick wasn't being exposed and was giving me that message. Thanks for your response, it pointed me directly to the problem!
I know this an old thread, but any chance you know which driver you then used? I don't know that I have a driver issue, test.js works, but TTS doesn't pull in any of the z-wave devices and I'm trying anything. 1.10 RPI image.
How long do you give it? TTS takes a long time to load z-wave devices for me.
Or, check your config file, if you have excluded z-wave (or excluded everything and not explicitly included it) then it won't load. What does your console say for the z-wave devices?
Jason
On Nov 13, 2014, at 10:30 AM, zimler notifications@github.com wrote:
I know this an old thread, but any chance you know which driver you then used? I don't know that I have a driver issue, test.js works, but TTS doesn't pull in any of the z-wave devices and I'm trying anything. 1.10 RPI image.
— Reply to this email directly or view it on GitHub https://github.com/jperkin/node-openzwave/issues/27#issuecomment-62907364.
Thanks for the reply. I'm trying to locate the steward config file where I would identify which port the Z-Stick is plugged into. I think that is where I am missing something.
On Thu, Nov 13, 2014 at 12:11 PM, Jason DeVelvis notifications@github.com wrote:
How long do you give it? TTS takes a long time to load z-wave devices for me.
Or, check your config file, if you have excluded z-wave (or excluded everything and not explicitly included it) then it won't load. What does your console say for the z-wave devices?
Jason
On Nov 13, 2014, at 10:30 AM, zimler notifications@github.com wrote:
I know this an old thread, but any chance you know which driver you then used? I don't know that I have a driver issue, test.js works, but TTS doesn't pull in any of the z-wave devices and I'm trying anything. 1.10 RPI image.
— Reply to this email directly or view it on GitHub https://github.com/jperkin/node-openzwave/issues/27#issuecomment-62907364.
— Reply to this email directly or view it on GitHub https://github.com/jperkin/node-openzwave/issues/27#issuecomment-62938619 .
I believe it's in the database directory.
Jason
Sent from my iPhone
On Nov 13, 2014, at 6:58 PM, zimler notifications@github.com wrote:
Thanks for the reply. I'm trying to locate the steward config file where I would identify which port the Z-Stick is plugged into. I think that is where I am missing something.
On Thu, Nov 13, 2014 at 12:11 PM, Jason DeVelvis notifications@github.com wrote:
How long do you give it? TTS takes a long time to load z-wave devices for me.
Or, check your config file, if you have excluded z-wave (or excluded everything and not explicitly included it) then it won't load. What does your console say for the z-wave devices?
Jason
On Nov 13, 2014, at 10:30 AM, zimler notifications@github.com wrote:
I know this an old thread, but any chance you know which driver you then used? I don't know that I have a driver issue, test.js works, but TTS doesn't pull in any of the z-wave devices and I'm trying anything. 1.10 RPI image.
— Reply to this email directly or view it on GitHub https://github.com/jperkin/node-openzwave/issues/27#issuecomment-62907364.
— Reply to this email directly or view it on GitHub https://github.com/jperkin/node-openzwave/issues/27#issuecomment-62938619 .
— Reply to this email directly or view it on GitHub.
the config or config example file?
On Thu, Nov 13, 2014 at 6:32 PM, Jason DeVelvis notifications@github.com wrote:
I believe it's in the database directory.
Jason
Sent from my iPhone
On Nov 13, 2014, at 6:58 PM, zimler notifications@github.com wrote:
Thanks for the reply. I'm trying to locate the steward config file where I would identify which port the Z-Stick is plugged into. I think that is where I am missing something.
On Thu, Nov 13, 2014 at 12:11 PM, Jason DeVelvis < notifications@github.com> wrote:
How long do you give it? TTS takes a long time to load z-wave devices for me.
Or, check your config file, if you have excluded z-wave (or excluded everything and not explicitly included it) then it won't load. What does your console say for the z-wave devices?
Jason
On Nov 13, 2014, at 10:30 AM, zimler notifications@github.com wrote:
I know this an old thread, but any chance you know which driver you then used? I don't know that I have a driver issue, test.js works, but TTS doesn't pull in any of the z-wave devices and I'm trying anything. 1.10 RPI image.
— Reply to this email directly or view it on GitHub < https://github.com/jperkin/node-openzwave/issues/27#issuecomment-62907364>.
— Reply to this email directly or view it on GitHub < https://github.com/jperkin/node-openzwave/issues/27#issuecomment-62938619>
.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/jperkin/node-openzwave/issues/27#issuecomment-62992251 .
It's been awhile, but I believe the config example file has a line in it that enabled the zwave search for me. Use it for reference, but the example file is exactly that - an example. You have to overwrite (or create) the regular config file for TTS to use it
Jason
On Thursday, November 13, 2014, zimler notifications@github.com wrote:
the config or config example file?
On Thu, Nov 13, 2014 at 6:32 PM, Jason DeVelvis <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:
I believe it's in the database directory.
Jason
Sent from my iPhone
On Nov 13, 2014, at 6:58 PM, zimler <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:
Thanks for the reply. I'm trying to locate the steward config file where I would identify which port the Z-Stick is plugged into. I think that is where I am missing something.
On Thu, Nov 13, 2014 at 12:11 PM, Jason DeVelvis < notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:
How long do you give it? TTS takes a long time to load z-wave devices for me.
Or, check your config file, if you have excluded z-wave (or excluded everything and not explicitly included it) then it won't load. What does your console say for the z-wave devices?
Jason
On Nov 13, 2014, at 10:30 AM, zimler <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:
I know this an old thread, but any chance you know which driver you then used? I don't know that I have a driver issue, test.js works, but TTS doesn't pull in any of the z-wave devices and I'm trying anything. 1.10 RPI image.
— Reply to this email directly or view it on GitHub <
https://github.com/jperkin/node-openzwave/issues/27#issuecomment-62907364>.
— Reply to this email directly or view it on GitHub <
https://github.com/jperkin/node-openzwave/issues/27#issuecomment-62938619>
.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub < https://github.com/jperkin/node-openzwave/issues/27#issuecomment-62992251>
.
— Reply to this email directly or view it on GitHub https://github.com/jperkin/node-openzwave/issues/27#issuecomment-62993830 .
That makes sense, I'm unsure of where I should locate the actual config file. Thanks again.
I was digging through a couple of files and based on this from the utility.js file, I'm going to throw a config file right in the db directory and see what happens.
try {
exports.configuration = JSON.parse(fs.readFileSync(__dirname + '/../db/configuration.json', { encoding: 'utf8' }));
} catch(ex) {
if (ex.code !== 'ENOENT') exports.logger('steward').error('utility', { diagnostic: ex.message });
}
Hello,
I have also the problem of Failed to start driver and I have already changed the device path but I still have the same message. It's my first time using the openzwave library so I cannot locate the origin of the problem. Please if you have any idea help me!
Thanks in advance, Wissal
Same problem here. "Failed to start driver", Raspberry 3, Aeon Z-Wave dongle
Problem solved, by checking group permission of /dev/ttyACM0
It could be the name of your usb stick, check it with this command ls -al /dev/tty*
I'm attempting to get a new board up and running, and be able to use openzwave on it. I'm using the Aeon Labs z-stick, and it works as expected on my Raspberry Pi using the SD card image from The Thing System.
However, when I try to run the test.js sample provided I get "failed to start driver" - since it currently works on the RPi, I'm guessing it's a dependency issue. Any chance you have a list of deps/reqs that I can use to make sure I have what I need to get it working on the new board? Thanks!