This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Anyone connected a Neato?
#1
Has anyone connected a Neato D5 Connected?

Goal: is to schedule my Neato cleaning jobs by my LM4.
Reply
#2
There are some ready-made libraries in other languages. You can either try rewriting them in Lua or use your own server as a transport between LM and Neato cloud.
https://github.com/tomrosenback/botvac
Reply
#3
I see now there's a offical sdk and api. But only a sdk for ios, android and js on https://developers.neatorobotics.com/


Quote:You are now ready to start writing code using our SDKs or the API. The SDKs are very conveninent and they also automate the OAuth flow. Should you opt to use the API, you will need to implement the OAuth flow in your application. You might want to read the official OAuth 2.0 documentation as well to learn more about this protocol.

But is this possible in the LM?
Reply
#4
It depends, most OAuth flows are meant for user apps with UI where the end user can provide username/password. Basically, their API are just HTTP requests, the only tricky part is to get the auth token.
Reply
#5
I'll try to connect the Neato developers.

Because it looks like you need a gui, because i have to specify a returning url: https://developers.neatorobotics.com/api/nucleo
Reply
#6
The Cloud services for the Neato products are provided through two main servers, Beehive and Nucleo.

Beehive
Beehive is the provisioning API and OAuth server. It allows:
Users to login with OAuth.
See users' profiles.
Control users' robots.
Beehive documentation is available here.

Nucleo
Nucleo is the messaging bus server that allows users to interact with their connected robots. Every robot has an always-on connection to Nucleo, so that they are ready to react instantly to commands sent to them by applications.
Nucleo documentation is available here.

The Robot Remote Protocol
When sending commands to connected robots, Nucleo is just a proxy for JSON payloads. The content of the payload is defined in the Robot Remote Protocol, defined here.

Attached Files
.pdf   Neato Developer Network _ Beehive API.pdf (Size: 183.52 KB / Downloads: 29)
.pdf   Neato Developer Network _ Nucleo API.pdf (Size: 132.16 KB / Downloads: 18)
.pdf   Neato Developer Network _ Robot Remote Protocol.pdf (Size: 53.88 KB / Downloads: 16)
.pdf   Neato Developer Network _ Robot Remote Protocol format.pdf (Size: 260.92 KB / Downloads: 15)
.pdf   Neato Developer Network _ The OAuth Flow.pdf (Size: 158.12 KB / Downloads: 25)
Reply
#7
Hello,

I add the oauth flow pdf in previous message.

But how to do this in the lm?
Reply


Forum Jump: