Open DukeNukem49 opened 8 years ago
@DukeNukem49 Do you have access to a linux, mac or raspberry pi? Its generally much easier to get going on the non-windows environments.
At the Moment I would like to work with Windows because everything else here is set up with Windows.
To ensure that Windows is not blocking the HID communication I have tested a few things in the meantime like turning off the virus scanner/ firewall but unfortunately without any success. I also tried the green bean SDK on a PC with a “fresh” installed Windows 7 without any additional installed software. But there also comes exactly the same error message.
@DukeNukem49 what version of node and node-hid are installed (run npm ls
in the green-bean directory)?
@MylesCaley These are the versions that are installed: node: 4.2.3 node-hid: 0.5.1
Hello I wander if there was a solution provided for this issue. I’m getting the same error on raspberry pi when running examples from green-bean. I have few additional comments:
Thanks Andrew Mysliwiec
I am having a similar problem with my program.
am using the subscribe function, after a few minutes Poof.
Can you subscribe to multiple elements at the same time?
running on a pi, with an older version of node 0.10.12 and node-hid 0.5.1
I also get this. I've worked around it for now by running the script like this:
$ while (true); do (cd dishwasher; node --abort-on-uncaught-exception dishwasher-to-websocket-proxy.js
...where "dishwasher-to-websocket-proxy.js" is a script that just connects to my appliance (a dishwasher), subscribes to everything, continually polls everything, and forwards all the responses to a WebSocket server of another (long-running) script running on the same raspberry pi which then actually interprets the messages. (see https://github.com/Hixie/dishwasher/)
The "dishwasher-to-websocket-proxy.js" script connects, works for a while, then has the error reported in this issue, this causes node to abort (because of --abort-on-uncaught-exception) and that causes bash to restart the process. Since the restart is quick I don't generally miss anything.
Hello,
I am trying to communicate with a washer using the green bean and a Windows 7 notebook. I managed it to get everything installed but unfortunately it seems that there is no communication to the green bean at all.
If I run the following simple script in cmd.exe as admin I always get the same error message regardless of whether the washing machine is plugged to the green bean or not.
Program output:
I would be glad if somebody could tell me what to try to achieve a proper communication.
Thanks Duke Nukem