evilmachina / telldus-core-js

node wraper for TelldusCore
11 stars 5 forks source link

Segmentation fault, raw event #7

Closed plastbox closed 11 years ago

plastbox commented 11 years ago

Telldus-core-js is working very nicely, except for the "Segmentation fault" I invariably get when I trigger a raw device event. Running the latest Raspbian Wheezy on Raspberry Pi. Everything is up-to-date, including node.js

Error happens with both my Nexa Doorbell (LMLT-711) and a NEXA 2-channel transmitter (WBT-912).

var telldus = require('../node_modules/telldus-core-js');

function rawevent()
{
    console.log('rawevent',arguments);
}
telldus.addRawDeviceEventListener(rawevent);

function foo()
{
    console.log('.');
}
setInterval(foo, 1000);
plastbox commented 11 years ago

Fixed in the fork I created.

PatrikBichis commented 11 years ago

Hello plastbox

I read that you where using an raspberry pi to run telldus-core-js, I have not bean able to build it on my pi see issue 3.

Did you install it with npm install telldus-core-js?

I'm building an web based home automation software for pi. More info: https://plus.google.com/u/0/communities/100516743030464969029?partnerid=gplp0