ollieparsley / node-lightwaverf

A NodeJS library for controlling devices using the LightwaveRF Wi-Fi Link
Other
11 stars 7 forks source link

Test code not communicating with WiFi link #2

Open jimeney opened 9 years ago

jimeney commented 9 years ago

The following test code:

var LightwaveRF = require("lightwaverf"); var lw = new LightwaveRF({ip:"192.168.1.231"});

console.log("LightwaveRF object created");

lw.turnDeviceOn(1,1, function(error, content) { if (error) { console.log("Error turning device on " + error.message); } else { console.log("Response: " + content); } });

console.log("Command Sent");

Yields only the following output when executed:

LightwaveRF object created Command Sent Receiver socket listening 0.0.0.0:9761

No error or response is returned to the command for turning a device on, nor does the WiFi link provide any visual prompt to register the new device. Should I expect the Receiver socket IP address to be 0.0.0.0 or is this also an issue?

Any ideas?

ollieparsley commented 9 years ago

@jimeney Apologies for not getting back to you sooner. Is this still an issue?

Mr-Chilly commented 7 years ago

Can I bump this? Same code with no other response... I'm not sure I've wired it up correctly!