I can see how I could use subscribe to catch all events, then parse some of the data in a handler to determine if it’s addressed to this specific device processing the event. But is there not a better way?
I know you can use subscribe to catch your responses, but I need to send this to a select few devices, not just the one that made the publish.
When you want to publish to a specific device, the recommended method is to prefix the event name with the Device ID you are targeting. This is common for webhook responses. For example:
You just made my day. I am trying to manage 500 devices over a county, in 5 different physical locations. This really makes a massive difference. Thank you again!