-
Notifications
You must be signed in to change notification settings - Fork 28
RoboVac card no longer working in HA latest update #31
Comments
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. |
Yeah also have the message and currently using the X8 Hybrid |
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) |
I tried to re-add my X8 and I can sign in and select the RoboVac but it will not add |
Looks like @CodeFoodPixels has a fix: main...CodeFoodPixels:robovac:main |
I tried the changes from main...CodeFoodPixels:robovac:main in the 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 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:
***@***.***>
|
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 😁 |
@CodeFoodPixels, |
Confirmed working (with broken 'status') by replacing vacuum.py with this file. Thanks! |
Yes, confirmed working on a X8 as well. Thanks @CodeFoodPixels ! |
Awesome that's working on my X8, thanks @CodeFoodPixels |
did you edit line 338 of CodeFoodPixels code to include your model number? |
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 |
Seems to be working fine with the X8 Hybrid as well. No controls on the card but voice commands seem to work fine. |
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. |
I'm running into this issue as well. Any suggestions? |
@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. |
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. |
Mine is also working with the linked vacuum.py file...AFTER changing "T2262" to: "T2262", "T2262A", "T2261", "T2261A" to cover all the X8 variations. |
Thanks @rustymyers for the fix. |
Adding extra x8 versions bmccluskey#31 (comment)
Added to the pull request. Thanks for the update! |
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 |
Duplicate of #29 |
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. |
Given that the maintainer of this integration hasn't been active on GitHub since December 2022, I've forked this repo with a view to maintain it along with anyone else who would like to help (@rustymyers?). I'm also submitting my fork to be included in HACS by default. Fork is here, but happy to consider setting up an org or whatever: https://github.com/CodeFoodPixels/robovac |
@CodeFoodPixels Hi, is your fork able to connect to the tuya api if you're setting it for the first time ever? Because myself, and others are not able to as the tuya api doesn't accept correct credentials anymore (#14). All of the folks from here can get it fixed with the vacuum.py changes because their config already includes the token and id of the vacuum obtained back when they set it up 1st when pulling them from tuya api still worked, however it's impossible for a new user like myself. I have the token and id, but there's no option to enter them within this integration. An user in #14 mentioned he was able to bypass the online login with the token and id, however only outlined it in very vague way without instructions. Hope that makes sense and thanks for any answer. |
I've not updated any code around that, so I'm not sure if it's working.
…On Tue, 8 Aug 2023, 22:49 hugalafutro, ***@***.***> wrote:
@CodeFoodPixels <https://github.com/CodeFoodPixels> Hi, is your fork able
to connect to the tuya api if you're setting it for the first time ever?
Because myself, and others are not able to as the tuya api doesn't accept
correct credentials anymore (#14
<#14>).
All of the folks from here can get it fixed with the vacuum.py changes
because their config already includes the token and id of the vacuum
obtained back when they set it up 1st when pulling them from tuya api still
worked, however it's impossible for a new user like myself.
I have the token and id, but there's no option to enter them within this
integration. An user in #14
<#14> mentioned he was able
to bypass the online login with the token and id, however only outlined it
in very vague way without instructions.
Hope that makes sense and thanks for any answer.
—
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABEPFVBYZFPDDKT4WLZAQZ3XUKX7LANCNFSM6AAAAAA3CMQIOE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Oddly, it works for me. Perhaps it's region based? Where are you located @hugalafutro? |
@CodeFoodPixels I'm having the login issue as well. Located in Canada. |
@CodeFoodPixels UK here |
Huh, I'm in the UK too 🤔 I'll knock together a script to check some things tomorrow |
Mine is working but these logs keep getting thrown up. 2023-08-09 09:20:43.466 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf195c09a098232cb2un3s (192.168.0.92:6668) |
@xtrememeplease That looks like your vacuum isn't responding in time. Does the vacuum still work through HA? How frequent are these errors? |
Just to clarify what's the migration pathway from this to the new forked code? Uninstall old one and then add this one? Do I need to retrieve keys or anything from the old install first? |
@CodeFoodPixels It was working but stopped. I've removed and re-added the hover but its not asking for my IP. Where do I manually add the IP to the yaml? |
In HACS, add my repository, delete this one and then
In HACS, open the custom repositories screen, add my repo and remove this one (only remove this one from the custom repositories screen, do not do it in the integration itself). Then open the Robovac integration card and hit download |
If you go to the integration (MHA redirect link) and hit configure, do you not get the pop-up to add the IP? |
odd I have a DHCP reservation already in place and its picked up a new IP. working again. Thanks |
Excellent this worked straight away. Despite my robovac being offline due to a dead battery it picked it up as soon as I started charging it in the dock. |
Happy to help maintain! |
I was excited to add the integration, but unfortunately I get the error message that the version is out of date. |
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
The text was updated successfully, but these errors were encountered: