Giter Club home page Giter Club logo

node-botvac's People

Contributors

az0uz avatar dependabot[bot] avatar jbtibor avatar koush avatar naofireblade avatar petervoronov avatar pmant avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

node-botvac's Issues

Use oauth?

Hello @Pmant!
Let me introduce myself, I am Roberto Ostinelli, Neato Robotics' Director of Cloud Services.

I'm impressed with the work that you've put into integrating with our robots! Great job!

Given the interest that we've seen from developers like yourself and around the forums we've listened and have just released the Neato Developer Network. In there, amongst other things you will find official documentation and SDKs for JavaScript, iOS and Android (for now, we plan on expanding to other languages too!).

This issue is for you to consider switching to proper OAuth instead of the internal logins mechanisms that you are using in this gem. BTW these mechanisms and other things have already been integrated in the official Neato JavaScript SDK, so maybe all this needs is a port to node?

It would be the official way to proceed, and you would avoid some improper implementations. For example, you should not pass token and platform here: they are not needed, raise errors on our systems - since tokens are invalid - and this could eventually result in the blocking of user accounts by our automated systems if abused. We definitely wouldn't want that!

Please note that all of this is in Beta, we're a small team but are doing our best!

All the best,
r.

PS: I've opened the same issue on the gem that, to my knowledge, started it all. :)

Feature/persistent maps and boundaries

Adding support for persistent maps and boundaries including getting the persistent maps, getting the boundaries, setting the boundaries, cleaning a (polygon type) boundary (zone) would be very beneficial to your module. This would allow for zone and spot cleaning support with plugins that use node-botvac.

Release update with axios 0.21.1 to npm

Hi, the current version of node-botvac on npm is 0.4.0. It would be really cool if you release the current 0.4.1 with the axios 0.21.1 dependency on npm. I use your package as a dependency in homebridge-neato and users currently get a security warning because of the old axios dependency in 0.4.0.

No Secret returned on getRobots();

Hey there,

I just noticed that when I use getRobots() on my robots it doesn't return the secret. So when I run robot.getState() I get the error message: "No serial or secret".

Any clues what might cause this? Or how to fix it?

api.request() catches errors from callback

This line

.catch(function (error) {
not only catches errors from the axios request but also from the callback in this line:
if (typeof callback === 'function') callback(undefined, response.data);

The library should not interfere with exception handling of the application. The result is that the callback function gets called twice:

  1. response success, callback gets called, errors occurs in callback
  2. Line 33 catches the error and calls the callback again.

Manual control

Would it be possible to extend the lib to control the robot via left,right,forward commands?

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.