I'm working on a plugin for an alarm system. It has several device types, one of which is a contact sensor. Those are added to Indigo and I'm getting back status changes that I expect.
I defined an event for the plugin that will fire any time a contact sensor opens. The idea is to replicate the typical alarm panel behavior that will chime when a door/window opens without having to create a trigger for every contact sensor. I have this setup right now to send a Pushover notification and that's working fine, and actually this works fine with a chime too. The thing with the Pushover notification is that it would be nice to know which device triggered the event. Is there a way to pass a little data along to the trigger, maybe device id? Or another way to accomplish this? I might be missing something obvious with firing the event from my plugin.