Some feedback. I've used the following Flow connected to Alexa.
[{"id":"71982e92b78ed209","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"53c0ebf3e0a091e2","type":"debug","z":"71982e92b78ed209","name":"debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":800,"y":300,"wires":[]},{"id":"7a6a0d332795c247","type":"ui_switch","z":"71982e92b78ed209","name":"","label":"switch-1","tooltip":"","group":"61e6d4c4.e7619c","order":0,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"state","topicType":"str","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"className":"","x":580,"y":300,"wires":[["53c0ebf3e0a091e2","5bf2f8a3b9d8cfd3"]]},{"id":"cc002be580542179","type":"rbe","z":"71982e92b78ed209","name":"","func":"rbe","gap":"","start":"","inout":"out","septopics":true,"property":"payload","topi":"topic","x":350,"y":300,"wires":[["7a6a0d332795c247"]]},{"id":"074cf23fdd15cf1c","type":"debug","z":"71982e92b78ed209","name":"debug 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":340,"y":240,"wires":[]},{"id":"5bf2f8a3b9d8cfd3","type":"matteronofflight","z":"71982e92b78ed209","name":"switch 1","bridge":"106746443e4b4655","x":180,"y":300,"wires":[["cc002be580542179","074cf23fdd15cf1c"]]},{"id":"61e6d4c4.e7619c","type":"ui_group","name":"RF Plugs","tab":"d680797a.2f8b88","order":1,"disp":true,"width":"5","collapse":false,"className":""},{"id":"106746443e4b4655","type":"matterbridge","name":"switch 1br","vendorId":"0xFFF1","productId":"0x8000","vendorName":"Node-RED-Matter","productName":"Node-RED-Bridge","networkInterface":"wlan0","logLevel":"ERROR"},{"id":"d680797a.2f8b88","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]
While, when functioning well, it allows the Switch to be operated from Alexa voice, Alexa App, or the Flow Dashboard with appropriate State update on the devices, it is not always responsive. I've attached a snippet of the log to show the errors.
at ExchangeManager.onMessage (/home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/ExchangeManager.js:88:16)
at /home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/ExchangeManager.js:58:18
at /home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/net/UdpInterface.js:38:80
at Socket.messageListener (/home/pi/.node-red/node_modules/@project-chip/matter-node.js/dist/net/UdpChannelNode.js:96:13)
at Socket.emit (node:events:517:28)
2023-09-25 21:18:22.617 ERROR SubscriptionHandler Error sending subscription update message (error count=21): Error
at MessageExchange.retransmitMessage (/home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/MessageExchange.js:219:44)
at TimerNode.callback (/home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/MessageExchange.js:234:100)
at Timeout._onTimeout (/home/pi/.node-red/node_modules/@project-chip/matter-node.js/dist/time/TimeNode.js:25:18)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7)
2023-09-25 21:18:22.618 ERROR SubscriptionHandler Sending update failed 3 times in a row, canceling subscription 2394764860 and let controller subscribe again.
2023-09-25 21:18:23.963 ERROR ExchangeManager Cannot find a session for ID 7312
at ExchangeManager.<anonymous> (/home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/ExchangeManager.js:94:23)
at Generator.next (<anonymous>)
at /home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/ExchangeManager.js:13:71
at new Promise (<anonymous>)
at __awaiter (/home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/ExchangeManager.js:9:12)
at ExchangeManager.onMessage (/home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/ExchangeManager.js:88:16)
at /home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/ExchangeManager.js:58:18
at /home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/net/UdpInterface.js:38:80
at Socket.messageListener (/home/pi/.node-red/node_modules/@project-chip/matter-node.js/dist/net/UdpChannelNode.js:96:13)
at Socket.emit (node:events:517:28)
2023-09-25 21:18:32.962 ERROR ExchangeManager Cannot find a session for ID 24397
at ExchangeManager.<anonymous> (/home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/ExchangeManager.js:94:23)
at Generator.next (<anonymous>)
at /home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/ExchangeManager.js:13:71
at new Promise (<anonymous>)
at __awaiter (/home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/ExchangeManager.js:9:12)
at ExchangeManager.onMessage (/home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/ExchangeManager.js:88:16)
at /home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/ExchangeManager.js:58:18
at /home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/net/UdpInterface.js:38:80
at Socket.messageListener (/home/pi/.node-red/node_modules/@project-chip/matter-node.js/dist/net/UdpChannelNode.js:96:13)
at Socket.emit (node:events:517:28)
2023-09-25 21:18:38.178 ERROR SubscriptionHandler Error sending subscription update message (error count=36): Error
at MessageExchange.retransmitMessage (/home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/MessageExchange.js:219:44)
at TimerNode.callback (/home/pi/.node-red/node_modules/@project-chip/matter.js/dist/cjs/protocol/MessageExchange.js:234:100)
at Timeout._onTimeout (/home/pi/.node-red/node_modules/@project-chip/matter-node.js/dist/time/TimeNode.js:25:18)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7)
2023-09-25 21:18:38.179 ERROR SubscriptionHandler Sending update failed 3 times in a row, canceling subscription 1012964284 and let controller subscribe again.
Hope it proves useful for debugging.
It has the potential for a being a really useful node. I currently use node-red-contrib-wemo-emulator as a simple Alexa control switch in Flows, but of course it is not interactive as a switch state can't be sent from the Flow dashboard to the Alexa App.