Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor icon indicating copy to clipboard operation
Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor copied to clipboard

Support for Ijai vacuums

Open FH-C opened this issue 3 years ago • 142 comments

image

FH-C avatar Dec 14 '21 06:12 FH-C

I have never heard about this model. You can try setting API manually to check if it works with existing ones:

force_api: xiaomi

or

force_api: viomi

or

force_api: roidmi

PiotrMachowski avatar Dec 14 '21 09:12 PiotrMachowski

ijai is new company which builds vacuum cleaners for mijia (so far only mi branded sold by xiaomi). they have 6 models already in mi home and >10 in dev.

rezmus avatar Jan 01 '22 19:01 rezmus

@rezmus yeah, but I suppose they use one of already existing map formats, I'm not able to test it by myself though :)

PiotrMachowski avatar Jan 01 '22 20:01 PiotrMachowski

@PiotrMachowski I have a Mi Robot Vacuum-Mop 2 Pro (ijai.vacuum.v3) already. If you explain how can I help you with testing, I'm available. I do not understand the protocol, so I'm not able to make changes by myself in this repo

angeldeejay avatar Jun 08 '22 12:06 angeldeejay

@angeldeejay actually I have received a raw map file from this model and it doesn't use any already existing api, so it has to be implemented from the scratch

PiotrMachowski avatar Jun 08 '22 12:06 PiotrMachowski

Eventually any updates will be posted here?

LordHenry76 avatar Jun 27 '22 07:06 LordHenry76

@LordHenry76 exactly

PiotrMachowski avatar Jun 27 '22 08:06 PiotrMachowski

any update here guys?

mohannadalsharief avatar Jul 17 '22 11:07 mohannadalsharief

@angeldeejay actually I have received a raw map file from this model and it doesn't use any already existing api, so it has to be implemented from the scratch

@PiotrMachowski can you provide me this raw map file you received to add the feature requested?

angeldeejay avatar Jul 19 '22 21:07 angeldeejay

I got one from @evenywchen and one from @Dejv311. I can send you them if they allow me to do it

PiotrMachowski avatar Jul 19 '22 21:07 PiotrMachowski

I got one from @evenywchen and one from @Dejv311. I can send you them if they allow me to do it

OK

evenywchen avatar Jul 20 '22 06:07 evenywchen

+1 on this 😄

lucasgiovanny avatar Sep 09 '22 09:09 lucasgiovanny

Having the same issue here! +1

dieugab avatar Sep 11 '22 10:09 dieugab

Same issue here. :)

Curiosity87 avatar Sep 13 '22 16:09 Curiosity87

same issue here! +1

tobsik avatar Sep 20 '22 12:09 tobsik

same issue here! +1

ylevavi-tenable avatar Oct 12 '22 08:10 ylevavi-tenable

+1 on this. I'm willing to try parsing the new map format, but I don't know where to start. I have downloaded the raw map with name "map_data_ijai.vacuum.v3.unknown" (Mop 2 pro), how could I read it to understand how to parse to your structure?

KingLudwig94 avatar Oct 21 '22 09:10 KingLudwig94

original plugins source code (before webpack/bundle) of ijai models v1/v13, v17 and v24. can be helpful in reverse map format.

rezmus avatar Oct 21 '22 11:10 rezmus

+1 in waiting.

eugene-ki avatar Nov 05 '22 14:11 eugene-ki

Same here,waiting. I'm not able with codes,but i have this model and i'm here for a hand.✌️

Altar82 avatar Nov 08 '22 09:11 Altar82

@angeldeejay @PiotrMachowski

Do either of you have a raw map file for these vacs? I have a v2 (Xiaomi Mop Essential) and it appears to be using the same format. @rezmus dropped the source code and I am an experienced js/angular/vue/react dev which is perfect granted the source contains the logic to parse the map which I should be able to refactor and apply for our usage with this plugin.

I was not able to convince my vac to give me a map dump sadly to progress.

503Dev avatar Nov 10 '22 01:11 503Dev

@503Dev yes, I do have maps extracted from ijai vacuums. I can test your implementation on them, but I can't send you these maps without permission from people that have sent me them.

PiotrMachowski avatar Nov 10 '22 01:11 PiotrMachowski

@PiotrMachowski That makes perfect sense, thank you. I will see if I can find some sample mapa data in the meantime. I do not have an implementation 100% yet as some of the logic is a bit... tedious and without a map it's hard to speculate on how some of it may work. I will see if I can get a prototype working.

503Dev avatar Nov 10 '22 02:11 503Dev

@PiotrMachowski is there any sensitive data on the raw file? @503Dev I can try to extract it and send it to you (ijai.vacuum.v3) if you want.

Altar82 avatar Nov 10 '22 09:11 Altar82

@Altar82 That would be awesome. Looking at the source code there does not appear to be too much in the map files that is sensetive, the main thing is that it would be the layout of your house (space), any room names, furniture items added, etc. I guess in a specific scenario that could be sensetive data.

503Dev avatar Nov 10 '22 21:11 503Dev

@503Dev where i send it to you? With email?

Altar82 avatar Nov 10 '22 21:11 Altar82

@Altar82 sure, [email protected] is my dev email. Feel free if it's not too much of a hassle, I will not post it anywhere for privacy, just use it to test my parser before sending it to Piotr.

503Dev avatar Nov 10 '22 22:11 503Dev

@Altar82 Got it, thanks! Will start testing and keep everyone informed over the next day or two.

503Dev avatar Nov 11 '22 07:11 503Dev

@503Dev @PiotrMachowski Ty for your work guys ✌️

Altar82 avatar Nov 11 '22 07:11 Altar82

Anything new here? I have the ijai.vacuum.v19 Model. If you need anything for this Model, i can send it to you, when you can say me how to extract the needed Files.

Caliban2017 avatar Nov 16 '22 23:11 Caliban2017