aholstenson / miio

Control Mi Home devices, such as Mi Robot Vacuums, Mi Air Purifiers, Mi Smart Home Gateway (Aqara) and more
MIT License
1.86k stars 353 forks source link

New sensor_wleak.aq1 which is detected as a "lumi.generic.55" device #183

Open lboue opened 6 years ago

lboue commented 6 years ago

Hello,

I am facing an issue with my new sensor_wleak.aq1 which is detected as a "lumi.generic.55" device. Somebody knows why this behavior?

pi@raspberrypi:~ $ miio inspect 158d0002705***
 INFO  Attempting to inspect 158d0002705***

Device ID: 158d0002705***
Model info: lumi.generic.55
Address: Owned by miio:520514**
Token: Automatic via parent device
Support: At least basic

Type info: miio, miio:subdevice, sub-thing
Capabilities: 

Parent:
  Device ID: 520514**
  Model info: lumi.gateway.v3
  Address: 192.168.1.4
  Token: 81264c64d56238aa92dcfb82f774**** via auto-token
  Support: At least basic

How can I add support for this device?

Regards,

soupgrey commented 5 years ago

I haven't found a way to use waterleak sensor with this library (but haven't tried much). This one supports waterleak sensor https://github.com/quibusus/node-xiaomi-smart-home/ - it works for me. Still using miio for air purifires and temperature sensors.