Skip to content

Notify access support for MIoT Device #843

Description

@tiandeyu

Hi
I'm developing a plugin for a miot based smart cover, the response for miot call is slow, so I can't get the current position in real-time. But I found there is a notify access in miot-spec-v2. How can we utilize these notify feature in miot?

{
    "iid": 2,
    "type": "urn:miot-spec-v2:property:current-position:00000039:babai-bb82mj:1:0000C805",
    "description": "Current Position",
    "format": "uint8",
    "access": [
        "read",
        "notify"
    ],
    "unit": "percentage",
    "value-range": [
        0,
        100,
        1
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions