naofireblade / homebridge-neato

A Neato vacuum robot plugin for homebridge.
MIT License
69 stars 18 forks source link

Avoid plaintext configuration of password #16

Open bhagyas opened 6 years ago

naofireblade commented 6 years ago

I don't know any better solution that works with homebridge at the moment. Do you have a recommendation?

bhagyas commented 6 years ago

Maybe we can look at the oAuth based authentication provided by the Neato Developer accounts, along with the use of Neato SDK.

naofireblade commented 6 years ago

I used the existing npm library node-botvac for the neato communication because I have no time to develop one on my own atm. That library sadly does not support oAuth yet. If you want to dedicate some spare time that would be awesome. The author of the library accepts pull requests.

yourfate commented 5 years ago

It seems like node-botvac added some support for oauth tokens: https://github.com/Pmant/node-botvac/commit/4ec89aefe3527985aef4fb59d73a4f176f0a9385