Use case for subscribe the same event for multiple device and know him

You do not need multiple lines. The first string is not an exact match. It’s only a prefix. So a single line of

Mesh.subscribe("temp", myHandler);

should match all devices - whatever comes after “temp”. Then in the event handler you can extract the device number from the passed in event name.

2 Likes