Open codystoica opened 1 year ago
Hello, may be just change Vaccum to DreameVacuum in miio_server.py (2 occurences line 17 and 94).
And update pip_req.txt with recent version :
android-backup==0.1.0 asn1crypto==0.23.0 attrs==23.2.0 cffi==1.15.1 click==8.1.7 construct==2.10.68 cryptography==37.0.2 enum-compat==0.0.2 gevent==1.4.0 greenlet==0.4.15 idna==2.6 msgpack-python==0.4.8 netifaces==0.11.0 pretty-cron==1.0.2 pycparser==2.21 pycrypto==2.6.1 python-miio==0.5.12 pytz==2017.3 six==1.11.0 typing==3.6.2 zeroconf==0.131.0
I did this for my old model (viomi.vacuum.v7) and it works (changed Vaccum into ViomiVaccum in my case).
It can be adapted for any Vaccum devices supported by python-miio. Just have a look the the class of your model in python-miio/tree/master/miio/integrations/
Hello, It would help the community if you could integrate this model into this repository. This submodel is integrated in latest python-miio: Vacuum xiaomi mop 2 pro+ (dreame.vacuum.p2041o); Thank you!