Comments (7)
node-red V: 0.17.4
from node-red-contrib-wio-seeed.
Another discovery, the node-red nodes do not even seem to be hitting the wio server, so this seems to be breaking before the request to the wio server?
from node-red-contrib-wio-seeed.
Another test result, creating a http request node and populating correctly from the raspberry pi works and produces the correct output.
Of course i would prefer to use the actual wio nodes as i have spent a fare amount of time on this and dont really want to parse the output at this stage if possible.
Of course this does narrow down the fact that is seems to be the actual wio-nodes that are having issues.
Any ideas?
from node-red-contrib-wio-seeed.
The error you are getting implies a typo in you server address. Do you have an extra space or other random character?
from node-red-contrib-wio-seeed.
I have checked and double checked everything. i am using two different hosts. One ubuntu 16.04 everything works. the node red config has been imported to the second node red instance from which it does not work. the second is a raspberry pi with updated node-red and npm as this is the only way to install this node module. the node read wio-modules is also copied form the working server.
Where would the server config be i have checked the node red config ?
from node-red-contrib-wio-seeed.
Also i forgot to mention in my previous post. The ability to receive my token by the login method would show that the server configuration is working no?
Once i config the server connection i get the node info and its status (up) (down) which is accurate. but the ports or methods do not auto populate.
Please keep in mind i had to upgrade npm and node as the wio modules do not load on standard reasbian jessie.
node -v 6.11.2
npm -v 3.10.10
from node-red-contrib-wio-seeed.
I figured it out.
for some reason on the ubuntu install it does not seem to care that the sku for the I2C1 port is "101020197"
However on the raspbian install the sku has to be "101020193" (the actual sku that is returned from the wio)
I found this by re-construction the URL built by wio-common.js in the reloadPortSelect function
so basically:
https://your.server/v1/node/config?access_token=your-node-token (can be found in the app under api)
You will get the sku of the I2C1 port.
Mine looks like this now but originally the 193 was 197 (which is working on the ubuntu install still)?:
"101020193": {
"name": "Grove Barometer BME280 I2C",
"module": "GroveBME280",
"methods": {
"temperature": {
"name": "Celsius Temperature",
"value": "temperature"
},
"altitude": {
"name": "Altitude",
"value": "altitude"
},
"pressure": {
"name": "Pressure",
"value": "pressure"
}
}
},
I hope this helps some one, im not a programmer AT ALL. so may be im missing something and this could be explained a lot better but it is now working for me.
from node-red-contrib-wio-seeed.
Related Issues (10)
- wio-event stops receiving events after some time (needs reconnect?) HOT 2
- duty parameter of PWM node is better to be handled as float. HOT 2
- node-red crashed with SyntaxError when wio-sensor receives a response like "<" HOT 2
- Unable to connect to new Wio servers HOT 4
- RGB HOT 1
- Cannot Login HOT 1
- Error adding new node HOT 2
- Adding new Module to the Sensor node HOT 6
- Trying to use Grove PIR but says missing connection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-wio-seeed.