RIAEvangelist / node-phidget-API

Node.JS Phidget API supporting all phidgets!
Other
10 stars 7 forks source link

Unable to connect to remote webservice #57

Closed openStove closed 7 years ago

openStove commented 8 years ago

I tried to connect to another webservice :

spatial.connect({"host":"192.168.178.30"})

conn=spatial.connect({"host":"192.168.178.30"}) node.log("connecting " + JSON.stringify(spatial,null,2))

But everything remain on default params :

    "params": {
      "type": "PhidgetSpatial",
      "host": "localhost",
      "port": 5001,
      "version": "1.0.10",
      "password": false,
      "rawLog": false,
      "serial": false,
      "label": false,
      "rate": 8
    }
RIAEvangelist commented 8 years ago

if you are using the version that is in npm it should work

make sure you have started the phidgetwebservice21

can you link me to your repo?