Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document operations API call #119

Open
tschamm opened this issue Jan 11, 2025 · 0 comments
Open

Document operations API call #119

tschamm opened this issue Jan 11, 2025 · 0 comments

Comments

@tschamm
Copy link

tschamm commented Jan 11, 2025

When reading through the long polling results recently, I stumbled across a list of operations for some devices. For example the micromodule relais lists a sendImpulse operation:

    {
        "@type": "DeviceServiceData",
        "id": "ImpulseSwitch",
        "deviceId": "hdm:ZigBee:xxx",
        "state": {
            "@type": "ImpulseSwitchState",
            "impulseState": false,
            "impulseLength": 10,
            "instantOfLastImpulse": "..."
        },
        "operations": [
            "sendImpulse"
        ],
        "path": "/devices/hdm:ZigBee:xxx/services/ImpulseSwitch"
    },

I'm missing a documentation how to call these operations. What would be the correct API call?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant