bmccluskey / robovac

Add a Eufy RoboVac easily to Home Assistant
Other
120 stars 28 forks source link

X8 cleaning minutes and sq ft indicator not updating on vacuum card #22

Open bobdenvarian opened 1 year ago

bobdenvarian commented 1 year ago

I was able to add this very easily by copying your code snippets. After adding the vacuum card, the auto clean and docking controls work, but the area that shows how long the machine has been running and the sq footage remain unchanged. I can see the info in the eufy app, is it possible this isn't making it into HA?

Screenshot_20230331_111855_Home Assistant

Credo102 commented 1 year ago

I am having this issue too. Also, the fan speed list only has "Standard" as the only option in the list. Looking at the /config/custom_components/robovac/vacuum.py line 272 it may be that it is because my model number "T2261A" (which is x8 Hybrid) is not listed?

I tried adding it to the code and restarting HA but no success. Any Ideas?

Credo102 commented 1 year ago

I was able to add this very easily by copying your code snippets. After adding the vacuum card, the auto clean and docking controls work, but the area that shows how long the machine has been running and the sq footage remain unchanged. I can see the info in the eufy app, is it possible this isn't making it into HA?

Screenshot_20230331_111855_Home Assistant

Oh I think I've sorted it. i'm not quite sure what part of the process fixed it but here is what i did:

1) edit line 272 of /config/custom_components/robovac/vacuum.py to read as below (adding in my model number with and without the A suffix as i was not sure it was needed) elif self.model_code[0:5] in ["T2262", "T2261A", "T2261"]: # X

2) Re-configured the Eufy Intergration on the integrations page. i.e. filled in the details again

3) Rebooted (not "restarted") home assistant. from under the advanced options of the restart tab

bobdenvarian commented 1 year ago

nice work! I did the changes you suggested and sure enough i now i have some stats!

the sq meter readout looks correct, but there is something up with the cleaning time. as soon as i started cleaning the card read 130 mins, and about 5 mins in it read 240 mins.

also the pause / stop / dock buttons stopped working.

looks like this card needs some help, great progress though, something is better than nothing. :-D

Credo102 commented 1 year ago

Oh dear, I've not noticed those issues on mine yet. i will have to test more.

FYI after sending my posti found this where someone did something similar but also they suggest that they did a whole lot more changes to the vacuum.py (though i can't really see what at a glance) https://community.home-assistant.io/t/eufy-robovac-35c-working-with-home-assistant-updated-11-2020-how-to-guide-now-with-edge-cleaning/152690/394?u=credo102

hopefully this helps