Closed cflurin closed 8 years ago
Ok I've found a solution, I changed package.json:
"dependencies": {
"serialport": "^4.0.1"
},
and index.js:
-- var SerialPort = require( "serialport" ).SerialPort
++ var SerialPort = require( "serialport" )
great! thanks for finding the bug and especialy for finding the fix. Pull requests allways welcome!
there are some breaking changes in 4.x so i go with 3.x for the time beeing. fixes the Problem as well. Thanks!
spot on! thanks for finding this. I do have some problems sending data with 4.x, so i reverted to using 3.x.x . It works like a charm and fixes the Bug you found. Thanks again! cheers Holger
cflurin notifications@github.com schrieb am Mo., 25. Juli 2016 um 17:12 Uhr:
Ok I've found a solution, I changed package.json:
"dependencies": { "serialport": "^4.0.1" },
and index.js:
-- var SerialPort = require( "serialport" ).SerialPort ++ var SerialPort = require( "serialport" )
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Holger-Will/node-enocean/issues/13#issuecomment-234982915, or mute the thread https://github.com/notifications/unsubscribe-auth/AKToNKWVe6GxkKIQSKf6Kgpo5QE0hgWNks5qZNJVgaJpZM4JUJ9M .
Für Rückfragen stehe ich Ihnen gern zur Verfügung und verbleibe
mit freundlichen Grüßen
Holger Will Geschäftsführer
h.will@klimapartner.de | Telefon Durchwahl 030-555795529
Klimapartner Haustechnische Handels GmbH Bürgerstrasse 53, 12347 Berlin Telefon (+49 30) 55579-030 | Fax -0379 kontakt@klimapartner.de | www.klimapartner.de
Umsatzsteuer-ID: DE136745233
Amtsgericht Berlin-Charlottenburg HRB16359 Geschäftsführer: Holger Will
Hi,
I've installed v1.5.1 on a RPi 2, it works with "serialport": "^3.0.0"
for me too.
BTW thanks for node-enocean
. I'm working on an application using node-enocean
, node-red and homebridge-mqtt.
Fantastic! thanks for the feedback.
cflurin notifications@github.com schrieb am Sa., 20. Aug. 2016 um 11:37 Uhr:
Hi, I've installed v1.5.1 on a RPi 2, it works with "serialport": "^3.0.0" for me too.
BTW thanks for node-enocean. I'm working on an application using node-enocean, node-red http://nodered.org/ and homebridge-mqtt https://github.com/cflurin/homebridge-mqtt.
— You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/Holger-Will/node-enocean/issues/13#issuecomment-241189950, or mute the thread https://github.com/notifications/unsubscribe-auth/AKToNHTg3iI-hRUN0L30VcDS69oNtScqks5qhsrHgaJpZM4JUJ9M .
Für Rückfragen stehe ich Ihnen gern zur Verfügung und verbleibe
mit freundlichen Grüßen
Holger Will Geschäftsführer
h.will@klimapartner.de | Telefon Durchwahl 030-555795529
Klimapartner Haustechnische Handels GmbH Bürgerstrasse 53, 12347 Berlin Telefon (+49 30) 55579-030 | Fax -0379 kontakt@klimapartner.de | www.klimapartner.de
Umsatzsteuer-ID: DE136745233
Amtsgericht Berlin-Charlottenburg HRB16359 Geschäftsführer: Holger Will
Hi, I tried basic.js, it works but I got this message:
I'm running node v6.3.1 on a Raspberry Pi 2, Jessie 4.4.9 v7.
Any idea?