You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used your code to connect my Debit to my home automation system. Unfortunately I had some problems and I think there are two errors in your code.
On line 15:
this.continent = ecovacsDeebot.countries['DE'].continent.toLowerCase();
should be:
this.continent = ecovacsDeebot.countries[country.toUpperCase()].continent.toLowerCase();
On line 17:
this.deviceId = EcoVacsAPI.md5(machineId.machineIdSync());
should be:
this.deviceId = EcoVacsAPI.getDeviceId(machineId.machineIdSync());
And in isDeviceReady() the connect() is missing -> I added in line 61: vacuum.connect();
Kind regards, Florian
The text was updated successfully, but these errors were encountered:
I just had a look and obviously did this... Why do you think, that I have to be careful? Did it work with previous versions of ecovacs-deebot without the 'vacuum.connect()'?
my robot did not work with the current version on github. with your changes I got mine to work. but your changes are not compatible with 0.4 of ecovacs-deebot. there are runtime errors. when I have time I will make a pull request.
there is also a mistake in the handleCommands function. If you have multiple robots the commands is executed on every device.
Hi Marius,
I used your code to connect my Debit to my home automation system. Unfortunately I had some problems and I think there are two errors in your code.
On line 15:
this.continent = ecovacsDeebot.countries['DE'].continent.toLowerCase();
should be:
this.continent = ecovacsDeebot.countries[country.toUpperCase()].continent.toLowerCase();
On line 17:
this.deviceId = EcoVacsAPI.md5(machineId.machineIdSync());
should be:
this.deviceId = EcoVacsAPI.getDeviceId(machineId.machineIdSync());
And in isDeviceReady() the connect() is missing -> I added in line 61: vacuum.connect();
Kind regards, Florian
The text was updated successfully, but these errors were encountered: