Implementation of the ability to also use the yeedi API
mrbungle64 opened this issue ยท 16 comments
The feature request
Implementation of the ability to also use the yeedi API. They seem very similar.
Since I don't own a yeedi device, I need help with the implementation.
Current status
- Login works
- "yeedi mop station" (
vthpeg
,K850_PLUS
) works - "yeedi k650" works
- "yeedi 2 hybrid" works
- "yeedi vac hybrid" works
Additional information
Can you please compare this request with the corresponding ("auth/getAuthCode") request from the mobile app?
[EcovacsAPI] Calling main api user/getAuthCode with {"uid":"xxx","accessToken":"xxx"}
[EcoVacsAPI] callUserAuthApi calling https://gl-de-openapi.yeedi.com/v1/global/auth/getAuthCode
[EcoVacsAPI] callUserAuthApi config uid=xxx&accessToken=xxx&authTimespan=1654241898113&bizType=ECOVACS_IOT&deviceId=xxx&openId=global&authAppkey=xxx&authSign=xxx
I suspect that something is wrong with one of the parameters
Thanks to @apfelnutzer the login now works properly ๐
I deleted the alpha/0.8.3 branch. Please use the alpha/yeedi branch now
What model do you own?
Did some testing with my Mob Station today (based on app2.js
) - intermediate results:
Working:
vacbot.clean();
vacbot.pause();
vacbot.resume();
vacbot.stop();
vacbot.charge();
vacbot.spotArea(...);
Not working (properly):
vacbot.edge();
- not supported by model?vacbot.spot();
- performs spot cleaning (1m * 1m) but does not stop engines afterwards - not really supported by model?
I just released version 0.8.3-alpha.2 (with yeedi support) and I also published this version on npm ๐
I have also deleted the feature branch. Please use the master branch from now on.
It's possible to implement this library to Homebridge ? I has too Yeedi (2 hybrid) and I trying to add this vac to my homekit.
It's possible to implement this library to Homebridge ? I has too Yeedi (2 hybrid) and I trying to add this vac to my homekit.
Please post your feedback in the issue that you also created in the homebridge-deebot repo ๐
https://github.com/bwp91/homebridge-deebot/wiki/Beta-Version
Experimental yeedi support is available since this afternoon ๐
What model do you own?
I have a Yeedi K650
Sorry for the long time to answer, many things to do at the same time and this got lost
I can confirm it is working :)
Also, I assume your node-red lib (https://github.com/mrbungle64/node-red-contrib-ecovacs-deebot) uses this, so this vacuum should work with node-red too?
I have a Yeedi K650
...
I can confirm it is working :)
Thanks for the feedback ๐๐ป
Also, I assume your node-red lib (https://github.com/mrbungle64/node-red-contrib-ecovacs-deebot) uses this, so this vacuum should work with node-red too?
Yes, but I have not bumped the version of the library yet.
But the next version of the node will have yeedi login support.
Have you already tried running some clean commands with the library?
cd $HOME/.node-red
npm install https://github.com/mrbungle64/node-red-contrib-ecovacs-deebot.git
You may have to use different path to your Node-RED user data directory.
Have you already tried running some clean commands with the library?
The clean command does work
@nfacha
Have you already tried running some clean commands with the library?The clean command does work
Thanks for the feedback ๐๐ป
Have you also tried the Node-RED node yet?
cd $HOME/.node-red
npm install https://github.com/mrbungle64/node-red-contrib-ecovacs-deebot.gitYou may have to use different path to your Node-RED user data directory.
Also, I assume your node-red lib (https://github.com/mrbungle64/node-red-contrib-ecovacs-deebot) uses this, so this vacuum should work with node-red too?
Do you actually use Node-RED? I just released version 0.4.2 with initial yeedi support.
I would appreciate some feedback ๐
- Login works
- "yeedi mop station" works
- "yeedi k650" works
- "yeedi 2 hybrid" works
- "yeedi vac hybrid" works