maxinminax / node-mihome

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

Aqara subdevice #35

Closed pyxiscloud closed 3 years ago

pyxiscloud commented 3 years ago

Hi, I'm trying to use aqara device:

  1. load devices from MiCloud
  2. parse devices to mihome.device
  3. and then control them

On the step 2, i'm tried to use "parent" field, but it need "sid". Problem is that on the device list step 1 we don't have sid (We have only parent did (device id)). When I'm using manualy extracted sid - all works, but I need to use autoextracted sid (from miCloud or when got "iam" report from GW). Can You add feature to control by parent did (device id), please?

pyxiscloud commented 3 years ago

find it works when "parent" leave empty