rytilahti / python-miio

Python library & console tool for controlling Xiaomi smart appliances
https://python-miio.readthedocs.io
GNU General Public License v3.0
3.64k stars 550 forks source link

implementation in Domoticz #1733

Open codystoica opened 1 year ago

codystoica commented 1 year ago

Hello!

Is your feature request related to a problem? Please describe. I did not find any plugin developed for this model Xiaomi Vacuum 2 Pro+ "dreame.vacuum.p2041o" with implementation in Domoticz.

Describe the solution you'd like you can adapt this plugin for Domoticz, I noticed that the phython-miio library has support for this model "dreame.vacuum.p2041o". I aim to be able to turn on the light bulbs automatically in the room where it is vacuuming at night, this would be possible if it reported the room_id in which it is vacuuming.

I would be very grateful

Device information: If the enhancement is device-specific, please include also the following information.

Use miiocli device --ip <ip address> --token <token> info.

rytilahti commented 1 year ago

I don't think this device reports the that information, you can see https://github.com/rytilahti/python-miio/blob/master/miio/integrations/dreame/vacuum/dreamevacuum_miot.py#L77-L122 for the full list of sensors, settings, and actions of the device.

Regarding to domoticz support, I don't know anything about that and it's best to ask them about that.