You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using python-matter-server v6.4.0 to control Matter bridged devices.
I have a strange behaviour when adding and removing bridged devices.
Here is the workflow I am doing using Postman (see json files attached):
1-connect to the websocket server
2-send a start_listening command
3-pair my bridge with one bridged device using the commission with code command
4-the pairing operation succeed and I receive a node_added event with the json. This json contains the description of the node, when I have a look to the partList of the descriptor cluster on endpoint 0 I have this and I see the endpoint for the aggregator and the endpoint for my bridged device so it is ok:
"0/29/3":[
1,
3
]
When I have a look to the partlist of the aggregator cluster on the endpoint 1 I have my bridged device so it is ok:
"1/29/3":[
3
]
5- I remove my bridged device of my Matter device, I receive an endpoint_removed event with the endpoint id 3
6- I send a get_node command to retreived the updated node
7- I receive the result with the json containing the node definition, when I look to the descriptor cluster on endpoint 0 I have and I still have the endpoint id 3 which I think is a mistake:
"0/29/3": [
1,
3
]
When I have a look to the partlist of the aggregator cluster on the endpoint 1 I no longer have the endpoint id 3 which is ok
"1/29/3": [],
I think the partlist of the descriptor cluster on endpoint 0 should not contains the endpoint 3 which has been removed. What do you think about this?
I have also noticed that if after removing the bridged device (endpoint id 3), if I add it again on my bridge with the same endpoint id I do not receive events such as node_updated or endpoint_added which I think should be sent, as I have them when I add the bridge device with another endpoint id.
When removing several endpoints (bridged devices) in a row, I receive endpoint_removed events for all the old removed endpoint not only the last one, for example if I have 3 bridged devices with endpoint id 3,4,5.
When I remove the endpoint 3 I receive:
endpoint_removed event with endpoint_id 3
Then when I remove the endpoint 4 I receive:
endpoint_removed event with endpoint_id 3
endpoint_removed event with endpoint_id 4
Then when I remove the endpoint 5 I receive:
endpoint_removed event with endpoint_id 3
endpoint_removed event with endpoint_id 4
endpoint_removed event with endpoint_id 5
Hello,
I am using python-matter-server v6.4.0 to control Matter bridged devices.
I have a strange behaviour when adding and removing bridged devices.
Here is the workflow I am doing using Postman (see json files attached):
1-connect to the websocket server
2-send a start_listening command
3-pair my bridge with one bridged device using the commission with code command
4-the pairing operation succeed and I receive a node_added event with the json. This json contains the description of the node, when I have a look to the partList of the descriptor cluster on endpoint 0 I have this and I see the endpoint for the aggregator and the endpoint for my bridged device so it is ok:
When I have a look to the partlist of the aggregator cluster on the endpoint 1 I have my bridged device so it is ok:
5- I remove my bridged device of my Matter device, I receive an endpoint_removed event with the endpoint id 3
6- I send a get_node command to retreived the updated node
7- I receive the result with the json containing the node definition, when I look to the descriptor cluster on endpoint 0 I have and I still have the endpoint id 3 which I think is a mistake:
"0/29/3": [
1,
3
]
When I have a look to the partlist of the aggregator cluster on the endpoint 1 I no longer have the endpoint id 3 which is ok
"1/29/3": [],
I think the partlist of the descriptor cluster on endpoint 0 should not contains the endpoint 3 which has been removed. What do you think about this?
I have also noticed that if after removing the bridged device (endpoint id 3), if I add it again on my bridge with the same endpoint id I do not receive events such as node_updated or endpoint_added which I think should be sent, as I have them when I add the bridge device with another endpoint id.
When removing several endpoints (bridged devices) in a row, I receive endpoint_removed events for all the old removed endpoint not only the last one, for example if I have 3 bridged devices with endpoint id 3,4,5.
When I remove the endpoint 3 I receive:
Then when I remove the endpoint 4 I receive:
Then when I remove the endpoint 5 I receive:
afterPairing.json
afterRemoved.json
The text was updated successfully, but these errors were encountered: