OpenZWave / qt-openzwave

QT5 Wrapper for OpenZWave
GNU Lesser General Public License v3.0
105 stars 30 forks source link

Ability to query list of associations for a given node #181

Open m3ki opened 3 years ago

m3ki commented 3 years ago

Currently, we have the ability to query each node individually for each group:

OpenZWave/1/node/38/association/2/

For which I get

{
    "Name": "Basic_Set",
    "Help": "",
    "MaxAssociations": 5,
    "Members": [
        "36.0",
        "37.0"
    ],
    "TimeStamp": 1604267957
}

I would like to have an ability to get a result like this OpenZWave/1/node/38/associations For which I get

{
    "Name": "All associations",
    "Groups": {
        "1": [
            "36.0",
            "37.0"
        ],
        "2": [
            "36.0",
            "37.0"
        ]
    },
    "TimeStamp": 1604267957
}