robovac icon indicating copy to clipboard operation
robovac copied to clipboard

RoboVac card no longer working in HA latest update

Open xtrememeplease opened this issue 2 years ago • 47 comments

The custom integration robovac is extending the deprecated base class VacuumEntity instead of StateVacuumEntity. Please report it to the author of the robovac custom integration. Once an updated version of robovac is available, install it and restart Home Assistant to fix this issue.

Also the home and start commands at the bottom of the card don't work for the X8 I have to open the card to operate

xtrememeplease avatar Aug 03 '23 08:08 xtrememeplease

I confirm that I am seeing the same behavior after the update, as well as with the card. I have an X8 and an X8 Hybrid.

OtisPresley avatar Aug 03 '23 21:08 OtisPresley

Yeah also have the message and currently using the X8 Hybrid

muzzy00uk avatar Aug 04 '23 10:08 muzzy00uk

You can edit the vacuum.py to get rid of the message, but the 'status' entity of the vacuum breaks. All else works for me though I do not use card, I either tell alexa, or click the vacuum entity. (I have 30c model)

https://github.com/mitchellrj/eufy_robovac/pull/39/files

https://github.com/mitchellrj/eufy_robovac/issues/38

hugalafutro avatar Aug 04 '23 10:08 hugalafutro

I tried to re-add my X8 and I can sign in and select the RoboVac but it will not add

xtrememeplease avatar Aug 04 '23 10:08 xtrememeplease

Looks like @CodeFoodPixels has a fix: https://github.com/bmccluskey/robovac/compare/main...CodeFoodPixels:robovac:main

pwcazenave avatar Aug 04 '23 18:08 pwcazenave

I tried the changes from https://github.com/bmccluskey/robovac/compare/main...CodeFoodPixels:robovac:main in the vacuum.py from https://github.com/mitchellrj/eufy_robovac, but that was no bueno. Then I tried to use this integration, but I am running into https://github.com/bmccluskey/robovac/issues/14

edit: I have the ip, id and local token of the vacuum, is there any way to bypass the login part and force them in?

hugalafutro avatar Aug 04 '23 18:08 hugalafutro

I tried the changes from main...CodeFoodPixels:robovac:main in the vacuum.py from https://github.com/mitchellrj/eufy_robovac, but that was no bueno. Then I tried to use this integration, but I am running into #14

edit: I have the ip, id and local token of the vacuum, is there any way to bypass the login part and force them in?

@hugalafutro yes it's up and running again !

MrBurnz77 avatar Aug 04 '23 21:08 MrBurnz77

I'm not a python programmer, so I can't guarantee my code will work for everyone. It's working fine on my 15C Max though. I have a couple of bits I'd like to tidy up on it before doing a PR, but if anyone wants to use it, the only difference is vacuum.py

On Fri, 4 Aug 2023, 19:05 Pierre Cazenave, @.***> wrote:

Looks like @CodeFoodPixels https://github.com/CodeFoodPixels has a fix: main...CodeFoodPixels:robovac:main https://github.com/bmccluskey/robovac/compare/main...CodeFoodPixels:robovac:main

— Reply to this email directly, view it on GitHub https://github.com/bmccluskey/robovac/issues/31#issuecomment-1665992266, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEPFVAWCQXHTD3WV7UQOMTXTU2WRANCNFSM6AAAAAA3CMQIOE . You are receiving this because you were mentioned.Message ID: @.***>

CodeFoodPixels avatar Aug 04 '23 21:08 CodeFoodPixels

Yeah I'm not a code at all so not sure what needs changing. Is it the entire vacuum.py file that need replacing or a specific part?

muzzy00uk avatar Aug 05 '23 08:08 muzzy00uk

Yeah I'm not a code at all so not sure what needs changing. Is it the entire vacuum.py file that need replacing or a specific part?

The entire file.

pwcazenave avatar Aug 05 '23 08:08 pwcazenave

Yeah I'm not a code at all so not sure what needs changing. Is it the entire vacuum.py file that need replacing or a specific part?

The entire file.

OK that I can do 😁

muzzy00uk avatar Aug 05 '23 09:08 muzzy00uk

@CodeFoodPixels, I can confirm your modification also work on a 35C

jodur avatar Aug 05 '23 10:08 jodur

I'm not a python programmer, so I can't guarantee my code will work for everyone. It's working fine on my 15C Max though. I have a couple of bits I'd like to tidy up on it before doing a PR, but if anyone wants to use it, the only difference is vacuum.py On Fri, 4 Aug 2023, 19:05 Pierre Cazenave, @.> wrote: Looks like @CodeFoodPixels https://github.com/CodeFoodPixels has a fix: main...CodeFoodPixels:robovac:main <main...CodeFoodPixels:robovac:main> — Reply to this email directly, view it on GitHub <#31 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEPFVAWCQXHTD3WV7UQOMTXTU2WRANCNFSM6AAAAAA3CMQIOE . You are receiving this because you were mentioned.Message ID: @.>

Confirmed working (with broken 'status') by replacing vacuum.py with this file.

Thanks!

Verguldebarman avatar Aug 05 '23 10:08 Verguldebarman

Yes, confirmed working on a X8 as well. Thanks @CodeFoodPixels !

xhemp avatar Aug 05 '23 10:08 xhemp

Awesome that's working on my X8, thanks @CodeFoodPixels

xtrememeplease avatar Aug 05 '23 11:08 xtrememeplease

Awesome that's working on my X8, thanks @CodeFoodPixels

did you edit line 338 of CodeFoodPixels code to include your model number? i.e. elif self.model_code[0:5] in ["T2262", "T2261A", "T2261"]: # X

Credo102 avatar Aug 05 '23 11:08 Credo102

Awesome that's working on my X8, thanks @CodeFoodPixels

did you edit line 338 of CodeFoodPixels code to include your model number? i.e. elif self.model_code[0:5] in ["T2262", "T2261A", "T2261"]: # X

I didn't need to it was already in his code. my x8 model is T2262.

elif self.model_code[0:5] in ["T2262"]: # X

xtrememeplease avatar Aug 05 '23 12:08 xtrememeplease

Seems to be working fine with the X8 Hybrid as well. No controls on the card but voice commands seem to work fine. Nice one @CodeFoodPixels

muzzy00uk avatar Aug 05 '23 12:08 muzzy00uk

Is that the default card?

On Sat, 5 Aug 2023, 13:18 muzzy00uk, @.***> wrote:

Seems to be working fine with the X8 Hybrid as well. No controls on the card but voice commands seem to work fine. Nice one @CodeFoodPixels https://github.com/CodeFoodPixels

— Reply to this email directly, view it on GitHub https://github.com/bmccluskey/robovac/issues/31#issuecomment-1666490237, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEPFVEGHDR6KLFNU54AH53XTY22XANCNFSM6AAAAAA3CMQIOE . You are receiving this because you were mentioned.Message ID: @.***>

CodeFoodPixels avatar Aug 05 '23 13:08 CodeFoodPixels

Is that the default card? On Sat, 5 Aug 2023, 13:18 muzzy00uk, @.> wrote: Seems to be working fine with the X8 Hybrid as well. No controls on the card but voice commands seem to work fine. Nice one @CodeFoodPixels https://github.com/CodeFoodPixels — Reply to this email directly, view it on GitHub <#31 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEPFVEGHDR6KLFNU54AH53XTY22XANCNFSM6AAAAAA3CMQIOE . You are receiving this because you were mentioned.Message ID: @.>

hey @CodeFoodPixels i thought it was but i realised that i put in the entity without a specific card so there were no buttons... sorry for the confusion.

muzzy00uk avatar Aug 05 '23 13:08 muzzy00uk

I tried the changes from main...CodeFoodPixels:robovac:main in the vacuum.py from https://github.com/mitchellrj/eufy_robovac, but that was no bueno. Then I tried to use this integration, but I am running into #14 edit: I have the ip, id and local token of the vacuum, is there any way to bypass the login part and force them in?

@hugalafutro yes it's up and running again !

I'm running into this issue as well. Any suggestions?

cdn4lf avatar Aug 05 '23 21:08 cdn4lf

@cdn4lf The guy in #14 mentions he was able to bypass it by editing config_flow.py, I asked for more details there hopefully he'll see the message

In my understanding this integration cannot be set up freshly - the tuya login broke at some point in past and the integration only works for people who already had it set up from when it used to work and their config has the id, token etc saved already.

hugalafutro avatar Aug 06 '23 05:08 hugalafutro

Looks like @CodeFoodPixels has a fix: main...CodeFoodPixels:robovac:main

I've finally got it to work with my G10 Hybrid. I had to add the G10 vacuums model code "T2150" to the vacuum.py file for it to work.

Fabian-Heinrich avatar Aug 06 '23 15:08 Fabian-Heinrich

Mine is also working with the linked vacuum.py file...AFTER changing "T2262" to: "T2262", "T2262A", "T2261", "T2261A" to cover all the X8 variations.

OtisPresley avatar Aug 07 '23 15:08 OtisPresley

Thanks @rustymyers for the fix. I'm using your repo and it's working again.

morpheus302 avatar Aug 07 '23 16:08 morpheus302

Mine is also working with the linked vacuum.py file...AFTER changing "T2262" to: "T2262", "T2262A", "T2261", "T2261A" to cover all the X8 variations.

Added to the pull request. Thanks for the update!

rustymyers avatar Aug 07 '23 16:08 rustymyers

Yeah I'm not a code at all so not sure what needs changing. Is it the entire vacuum.py file that need replacing or a specific part?

The entire file.

How do I actually copy the code? If I click the little copy icon, it just copies the file name. If I highlight all the code, again it just copies and pastes the file name.

I am clearly being stupid but I need someone to tell me just HOW stupid please

chesterflaps avatar Aug 08 '23 12:08 chesterflaps

Yeah I'm not a code at all so not sure what needs changing. Is it the entire vacuum.py file that need replacing or a specific part?

The entire file.

How do I actually copy the code? If I click the little copy icon, it just copies the file name. If I highlight all the code, again it just copies and pastes the file name.

I am clearly being stupid but I need someone to tell me just HOW stupid please

Worked it out

chesterflaps avatar Aug 08 '23 12:08 chesterflaps

Duplicate of #29

rustymyers avatar Aug 08 '23 13:08 rustymyers

Perfect works for me thanks @rustymyers I just removed the old repo and re added everything. Seems to be functioning as expected, and as a plus the start stop commands now work as well which was an issue I opened last year. Just had to do one final restart after everything was configured which seems to sort out the comms with the vacuums.

HumanSkunk avatar Aug 08 '23 19:08 HumanSkunk