I’m in the middle of writing a Device Handler for the FortrezZ MIMO, which is a multi-channel device (it has two inputs and two outputs). I can communicate with the device without any trouble, where I am having some trouble is figuring out what events to send to the ST system so that potential SmartApps can consume the data.
Here’s the question: How can I send events from the device handler using the standard capabilities whilst differentiating between Signal 1 and Signal 2? Similarly, how can I receive standard events (on/off) and determine which relay to turn on and off? I would like to avoid a situation where every SmartApp using the second channel needs to be hard coded to accept the right events.
Thanks for your help!