Open donald-ong opened 3 years ago
Hello, I've checked your device's spec. Unfortunately, the device does not support setting target position. And this device seems has been fixed according to #227. Are you using the latest version of the component?
{"type":"urn:miot-spec-v2:device:airer:0000A00D:hyd-znlyj1:1","description":"Airer","services":[{"iid":1,"type":"urn:miot-spec-v2:service:device-information:00007801:hyd-znlyj1:1","description":"Device Information","properties":[{"iid":1,"type":"urn:miot-spec-v2:property:manufacturer:00000001:hyd-znlyj1:1","description":"Device Manufacturer","format":"string","access":["read"]},{"iid":2,"type":"urn:miot-spec-v2:property:model:00000002:hyd-znlyj1:1","description":"Device Model","format":"string","access":["read"]},{"iid":3,"type":"urn:miot-spec-v2:property:serial-number:00000003:hyd-znlyj1:1","description":"Device Serial Number","format":"string","access":["read"]},{"iid":4,"type":"urn:miot-spec-v2:property:firmware-revision:00000005:hyd-znlyj1:1","description":"Current Firmware Version","format":"string","access":["read"]}]},{"iid":2,"type":"urn:miot-spec-v2:service:airer:00007817:hyd-znlyj1:1","description":"Airer","properties":[{"iid":1,"type":"urn:miot-spec-v2:property:fault:00000009:hyd-znlyj1:1","description":"Device Fault","format":"uint8","access":["read","notify"],"unit":"none","value-list":[{"value":0,"description":"No Faults"},{"value":1,"description":"Obstruction"},{"value":2,"description":"Overweight"},{"value":3,"description":"Overheated"}]},{"iid":2,"type":"urn:miot-spec-v2:property:motor-control:00000038:hyd-znlyj1:1","description":"Motor Control","format":"uint8","access":["write"],"unit":"none","value-list":[{"value":0,"description":"Pause"},{"value":1,"description":"Up"},{"value":2,"description":"Down"}]},{"iid":3,"type":"urn:miot-spec-v2:property:current-position:00000039:hyd-znlyj1:1","description":"Current Position","format":"uint8","access":["read","notify"],"unit":"none","value-range":[0,2,1]},{"iid":4,"type":"urn:miot-spec-v2:property:status:00000007:hyd-znlyj1:1","description":"Status","format":"uint8","access":["read","notify"],"unit":"none","value-list":[{"value":0,"description":"Stopped"},{"value":1,"description":"Up"},{"value":2,"description":"Down"},{"value":3,"description":"Pause"}]}]},{"iid":3,"type":"urn:miot-spec-v2:service:light:00007802:hyd-znlyj1:1","description":"Light","properties":[{"iid":1,"type":"urn:miot-spec-v2:property:on:00000006:hyd-znlyj1:1","description":"Switch Status","format":"bool","access":["read","write","notify"],"unit":"none"}]}]}
Device Info as follows
Keep hitting error when setting the target position of the rack.
Please help to check this out when you are free.
Thank you.