It worked perfectly on my raspberry pi when I used the EnOcean USB dongle and accessed the data through ttyUSB0
However , I currently trying to use the enocean pi . I'm using raspberry pi 3 , therefore the ttyAMA0 is used the the built in BLE . So the the EnOcean pi is on ttyS0.
I tested the basic code which is :
var enocean = require("node-enocean")();
enocean.listen("/dev/ttyS0");
enocean.on("data",function(data){
console.log(data)
});
it only works for a few seconds and then doesn't console log any thing after that . Any ideas for why this is happening ?
Hello ,
Thanks again for providing this great npm .
It worked perfectly on my raspberry pi when I used the EnOcean USB dongle and accessed the data through ttyUSB0
However , I currently trying to use the enocean pi . I'm using raspberry pi 3 , therefore the ttyAMA0 is used the the built in BLE . So the the EnOcean pi is on ttyS0.
I tested the basic code which is :
it only works for a few seconds and then doesn't console log any thing after that . Any ideas for why this is happening ?