Giter Site home page Giter Site logo

node-red-contrib-wio-seeed's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

node-red-contrib-wio-seeed's Issues

Unable to connect to new Wio servers

I am not able to connect to the new Wio server us.wio.seeed.io using my Seeed credentials. I can still connect to the old server with my original Wio credentials, but my Wio is registered to the new server so it doesn't appear online.

I also tried a manual Token but that did not work either.

Any suggestions?

[wio-sensor:Sensor] TypeError: Request path contains unescaped characters

I get this trying to run the nodes on a raspberry pi.

raspberry pi 3
npm: 5.3.0
node: 6.11.1

Im also running against a private server, however i have node-red and the wio nodes running from a ubuntu server with out issue ? they are both running simultaneously and the configs are the same other than the node and npm versions are older ?

ubuntu server 16.04
npm: 3.5.2
node: 4.2.0

Is this likely to be the issue, I was not able to get the nodes running with the stock node-red on rasbian.

Trying to use Grove PIR but says missing connection

image
I'm able to connect to the us.wio.seeed.io server just fine and it comes up with the correct sensors attached to my WIO node. However, even after configuring the "sensor" node in the node-red console...it keeps saying "missing connection" and I can't seem to find an explanation of what this error message is, nor can I find a log about it.

All I want is the ability to sense when the Grove_PIR is triggered and do an http-put to a server.

Adding new Module to the Sensor node

Hi, I tried to add Grove Barometer BME28 to the Sensor node adding following code to the wio-modules.json.

    "101020193": {
            "name": "Grove Barometer BME280 I2C",
            "module": "GroveBME280I2C0",
            "methods": {
                    "humidity": {
                            "name": "Humidity",
                            "value": "humidity"
                    },
                    "temperature": {
                            "name": "Celsius Temperature",
                            "value": "temperature"
                    },
                    "altitude": {
                            "name": "Altitude",
                            "value": "altitude"
                    },
                    "pressure": {
                            "name": "Pressure",
                            "value": "pressure"
                    }
            }
    },

Unfortunately, when triggered I get following error: "METHOD NOT FOUND WHEN CHECK ARGS"

At the same time, if I manually check the API:
https://us.wio.seeed.io/v1/node/GroveBME280I2C0/humidity?access_token=3221a46de0a4db5491f5a64be10a2a30
It works.

What am I missing?

Thank You,

     enrico

duty parameter of PWM node is better to be handled as float.

Hi,
I wanted to do accurate control of PWM (actually I want to control a (non-grove) servo) via wio-pwm. But the current implementation seems to be that it takes duty parameter as integer, rather than float, and the control of the servo angle becomes a bit rough.
https://github.com/WarriorRocker/node-red-contrib-wio-seeed/blob/master/wio-pwm/wio-pwm.js#L11
So I hope that the duty parameter will be handled as float.

Also I think that the parameters of wio-pwm will be better to be documented in "info" page. As I actually look into the source code to find that the value of the msg.payload will be set to "Auto-" values.

node-red crashed with SyntaxError when wio-sensor receives a response like "<"

Hi,
After I've run node-red server for several hours, the server crashed with this call stack,
image

So it crashed here, when parsing something like "<" .
https://github.com/WarriorRocker/node-red-contrib-wio-seeed/blob/master/wio-sensor/wio-sensor.js#L21
I guess that the seeed's server was in bad state at that time and it returns some error page, written in HTML.

So It will be better that the wio-sensor be able to handle non-JSON response string, maybe by adding try ~ catch.

FYI, Node-RED's http request node also seems to use try ~ catch on JSON.parse.
https://github.com/node-red/node-red/blob/master/nodes/core/io/21-httprequest.js#L160

wio-event stops receiving events after some time (needs reconnect?)

Thanks for the great nodes!
I'm running node-RED on my local Windows 8.1 pc.
I have a Wio Node that connects to a button module and a vibrator motor module. (just for a test)

After deployment, both the button (via wio-event) and the vibrator module (via wio-pwm) responds correctly. But several minutes later, the button stops responding, but the vibrator module still works like it should.

I used the Wio Link app to confirm that the button is alive, by GET request of the current pressed state.
So the Wio Node and the network and node-RED is working correctly, but the wio-event node is not responding.

Maybe the pc gone to sleep mode and got the websocket disconnected. It would be better to reconnect the websocket to work for longer period of time.

Error adding new node

Hi, I am trying to add custom nodes in wio palette in local node-red installation. Node adds to palette but general options don't appear.
Any help will be appreciated.

Cannot Login

I can not login with the wio-seeed nodes. My device is online and I am able to fetch the data in the flow using http get requests with wio api's. I add a new wio-configuration, enter the server, email and password (same as wio-app) and press login, but nothing happens.
PS: I am using a proxy server, but node-red (http get requests) is working behind the proxy server.

RGB

Testing RGB....

Firstly the node always initiates with error message underneath it. "Missing connection"
Then we managed to send "Hello world" - but there is no documentation we can see as to how to clear the screen, change the backlight colour or anything - just send text to a row and column.
Are we missing something?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.