Closed zuozhehao closed 2 years ago
my device https://home.miot-spec.com/spec/lumi.acpartner.v3
➜ ./miio device --ip=192.x.x.x --token=xxxxxxxx property -s 2 -p 1 ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │ 14:21:35.120 (+0:00:00.644419) ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ │ 💡 Setting service 2 property 1 of device 259135139 to true. └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │ 14:21:35.127 (+0:00:00.651541) ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ │ ⛔ Command failed with error from device: │ ⛔ code: -32601 │ ⛔ message: Method not found. └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Make sure your device support MIoT Spec Control. Or you have to use legacy prop api.
my device https://home.miot-spec.com/spec/lumi.acpartner.v3