FezVrasta / node-red-matter

Create Virtual Devices with Ease for the Matter Protocol!
38 stars 7 forks source link

Example not working properly #15

Closed willi-d closed 3 months ago

willi-d commented 5 months ago

I think that the provided example has an error. The payload you actually have to send to the matter device control node (at least for a light) has to look like:

{ on: true|false }

So I guess there is a mapping needed after (or in) the on/off inject nodes. Also some documentation about the API of the nodes/devices would be great.

I tried the module in the last days to use it together with knx-ultimate and found that by try/error.

iam4k33m commented 5 months ago

Can confirm this is correct: Couldn't control device until I sent {"on": true} or {"on": false} rather than the true or false payload demonstrated.

FezVrasta commented 4 months ago

If someone would be so kind to send a PR to correct the documentation I would be extremely grateful. Thanks!