Now that I know how to de-commission the Nano Matter, when trying different demos, I have found that almost none of them work- apart from the lightbulb, when using my Amazon Echo (newest version).I delete any found Nano device on Alexa, before going on to the next demo.
- Thermostat device- does not work at all- isn't even discovered, although the nano serial monitor shows that it has connected to Thread network OK.
- Occupancy sensor. I did get this to work once- it got discovered and Alexa would show the occupied state, which changes every few seconds in the demo. Later on, having tried other demos, I could no longer get this demo to work- or even be discovered.
- On-off outlet. I did get this to work once .
- Contact sensor. After many tries (re-flashing bootoader to de-commission between each try) I did get it to connect to thread network, but not discovered. Finally I did get it discovered, but Alexa always showed the contacts as being closed , even when the Nano board user switch was pressed. I added the code:
matter_contact_sensor.set_state(true);
and
matter_contact_sensor.set_state(false);
in the button press/release ISRs, but that didn't help. - Flow sensor: never got discovered.
- Switch: will connect to the Thread network. Alexa will sometimes discover the Nano hub and display it, but not the actual switch.
After trying all of these demos, now the only one that consistently works is the light bulb. Others that did occasionally work earlier, no longer get discovered.
I realize that the lightbulb is the only demo certified for Matter, but what is the point of providing all of the other demos which don't work?
I've looked at the demo code, as well as the .h files associated with the demo for each device, and can't see anything obvious there.