iobroker-community-adapters / ioBroker.mihome-vacuum

Control your Xiaomi vacuum cleaner
MIT License
109 stars 51 forks source link

S6 Pure #726

Open tommyMX opened 1 year ago

tommyMX commented 1 year ago

Hi

is the s6 also working ?

thx

dirkhe commented 1 year ago

Did you mean roborock s6, than definitely, because I also have one

tommyMX commented 1 year ago

S6 Pure , yes...

but Iobroker said: Model ijai.vacuum.v19 not supported! Please open issue on

dirkhe commented 1 year ago

So it is not a roborock, but ijai. This will not be supported yet. We need someone, who owned a ijai device and can implement this.

tommyMX commented 1 year ago

Hi Dirkhe,

mhh it was called roborock S6 Pure (https://amzn.eu/d/iZgqfDy) anyway, i have it at home right now to test it.

Also i am using mii home app and login is working over the cloud.

Token i also added.

So i have the Device at home and already tried to initialize in iobroker.

What information do you need to implement it?

tommyMX commented 1 year ago

@dirkhe Which S6 did you bought? over amazon? I thought this is the one i bought :-(

dirkhe commented 1 year ago

I have the roborock S6, I guess you have an old model? What you can try edit the file ioBroker/iobroker.mihome-vacuum/main.js and add your model to the roborock list, like 'ijai.vacuum.v19': VacuumManager on line 40 restart adapter. if than the most will work, we can add this generally, otherwise someone has to implement a new library for ijai

tommyMX commented 1 year ago

its from 2019....

can i edit it from iobroker the file or login to my server? maybe the better way....

i will try

is there a list which devices are fully working?

So you cant implement or make a new library?

Which model S6 have you? have you a link from amazon that i can see the right model?

tommyMX commented 1 year ago

but i see the S6 Pure is in the main,js but au different model name.... mhhh :-(

dirkhe commented 1 year ago

I'm searching for the differneces...

tommyMX commented 1 year ago

maybe i have the german model?

dirkhe commented 1 year ago

https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/issues/200 Seem' to be a different supplier. I thinbk, there is a new libary needed...

tommyMX commented 1 year ago

But he has created some new states...

dirkhe commented 1 year ago

yes, because the adapter think this is a roborock....

You can try to wait 15 minutes, but I guess, this will not help, sorry.

You have to implement more or less a new a new adapter for this or to map all api calls...

tommyMX commented 1 year ago

what do you mean with to map all api calls?

tommyMX commented 1 year ago

so the factory changed and thats the problem :-( maybe for alle roborock models...not good

dirkhe commented 1 year ago

You have to understand the hole communication between the device and the app. You can use the logic depending to ioBroker, but the communication is fully new, I guess

tommyMX commented 1 year ago

so i must wait? :-)

dirkhe commented 1 year ago

Yes, until implement this new devices, sorry

tommyMX commented 1 year ago

i saw you made a link to the another topic, so we will get informed when the have updates.

so the plugin code must be rewritten again ?

dirkhe commented 1 year ago

yes, because they try to understand the communication and than this has to be adapt to iobroker

tommyMX commented 1 year ago

but when the fixed it , it is easy for you to bring it to this adapter?

tommyMX commented 1 year ago

https://home.miot-spec.com/spec?type=urn:miot-spec-v2:device:vacuum:0000A006:ijai-v19:1

tommyMX commented 1 year ago

maybe the commands changed?

tommyMX commented 1 year ago

is that the only file where i add a new device? Because i cant beleive only why a factory is changed that they make so hard changes? uhh?

dirkhe commented 1 year ago

Thi is the cloud api, the current Adapter cummunicated mostly direct to the device. It could be that this will be chnged in future, but than I stop the firmware updates, because I didn't want , that everything goes to the cloud

tommyMX commented 1 year ago

yes i understand, i also dont like the cloud things :-(

so it looked they changed something...so from your side you cant do anything more?

when i gave you my login credentials and you can look how the app is communcating... ?

dirkhe commented 1 year ago

without device it makes no sense. And it is a lot of work, there I have not enough time to do this.

tommyMX commented 1 year ago

but i have the device at home :-) so when you tell me what i must do, i will do

tommyMX commented 1 year ago

i think all models will have the soon the new device name...when the factory changed...

tommyMX commented 1 year ago

Model ijai.vacuum.v19 not supported! Please open issue on

i can help you in anyway...let me know what i should do with my device...

dirkhe commented 1 year ago

Sorry, I can't help here, because of reasons above. Fork this repository and try by your self and make a PullRequest afterwards.

tommyMX commented 1 year ago

i have no idea how to write a plugin like that :-(

so I thought you are the developer here?

i hinkt I must wait

tommyMX commented 1 year ago

@dirkhe Hi, I found a plugin on GitHub which is for home bridge. And that plugin knows my device.

Will this help?

https://github.com/merdok/homebridge-miot

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.