philliphoff / carwings2

A Node.js client library for the Nissan Leaf "Carwings" API
MIT License
12 stars 6 forks source link

Create a node-red node #6

Open fab33 opened 8 years ago

fab33 commented 8 years ago

It will be fine if we can have a node-red node for NissanConnect EV.

philliphoff commented 8 years ago

I'm not familiar with Node-RED, but it looks interesting. Is there a particular function that you'd like to perform as part of a "flow"? For example, it looks like the existing Carwings-related node provided only the basic status of the vehicle, as opposed to starting/stopping charging or climate control.

fab33 commented 8 years ago

We could have a configuration node with ID, password and server region. And 1 node for information with time between update as parameter (ouput an object with different properties) 1 node for remote control charging and another for climate control. It will be fine to handle error. It's just an idea, I don't know a lot about node-red internals