jghaanstra / com.xiaomi-miio

Homey app to control Mi Home devices that implement the miIO protocol and Xiaomi gateway child devices
GNU General Public License v3.0
456 stars 85 forks source link

New Device Model Xiaomi Robot Vacuum X10 (dreame.vacuum.r2209) #258

Closed PatriceVolkmer closed 10 months ago

PatriceVolkmer commented 10 months ago

Supply the device details

Current support

The token can be extract but the device (via the windows app by https://github.com/Maxmudjon). The problem is that with the token and ip adresse that the Xiaomi Robot Vacuum X10 can not add to the homey pro system.

I use the app "Xiaomi Mi Home -Control Xiaomi Mi Home devices using Homey by Jelger Haanstra" and get the following by all versions of vacuum robots.

image

Additional information

jghaanstra commented 10 months ago

This device is already supported and the error you get is because you are using the wrong token. Sometimes you need to reset the device to get a fresh working token. If you need support, use the support forum: https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118

PatriceVolkmer commented 10 months ago

hey Jelger,

I do a reset and get a new token but the Message still is the same and it does not work. I try several version (2nd Screenshot).

Any ideas or should I create the threads in the homey forum?

Kind Regards, Patrice

image image

jghaanstra commented 10 months ago

I was mistaken, this model isnt supported yet. I will add it with the next release. I do doubt if this is the cause of this error though as that is usually a token (or a networking) error. But it's best to wait until I have implemented and test it again on the new release.

PatriceVolkmer commented 10 months ago

Ok perfect. I will test the next release and will provide active feedback

jghaanstra commented 10 months ago

Support for this device model has been added in release 3.2.21 which is now pending approval in the app store. Please test it.

https://homey.app/a/com.xiaomi-miio/test/

PatriceVolkmer commented 10 months ago

hey Jelger, I use for the r2209 this icon but get the following message again: image

image

Any idea?

jghaanstra commented 10 months ago

Any idea?

The error "Could not connect to device, handshake timeout" usually means you are using an incorrect token or there are networking issues. Try resetting the device and start from scratch. There is nothing more I can do for you

PatriceVolkmer commented 10 months ago

i will check that. Which asset type is the correct one? image

jghaanstra commented 10 months ago

The first one. See https://github.com/jghaanstra/com.xiaomi-miio/wiki/Supported-Devices.

PatriceVolkmer commented 9 months ago

@jghaanstra : unfortunatelly it does not work. I reset the device and got a new token but still the same error. when i ping the dreame robot a get an answer. how can I troubleshoot the problem?

jghaanstra commented 9 months ago

how can I troubleshoot the problem?

The error indicates there is something wrong with the network traffic between Homey and the device. That's either the token or something in your network config (not using correct Ip adddres, the devices are not in the same LAN, etc. etc.). You should look into that.