apexad / eufy-robovac

NodeJS library to control Eufy RoboVac
MIT License
59 stars 17 forks source link

Moving the default port value to the port parameter in the Tuya API constructor #26

Closed davidhaas6 closed 2 years ago

davidhaas6 commented 2 years ago

I was having trouble connecting my Robovac 30C via this API. Specifically, I was getting this error message after running the demo:

Connecting... Robovac Error {} Disconnected!

I found moving 6668 to the port parameter fixed this, or at least allowed me to receive the nebulous "find() timed out" error. I'm not sure of the original reasoning for including 6668 in the ip field, so let me know if I'm misinterpreting something.

It would also be helpful to have a comment or a constant describing what 6668 is.