I’m creating my own device & device type with the arduino shield. I’ve figured most of it out, and have created a new Device Type (with a couple custom commands) and a new Smart App to be the if-this-happens brains behind the device type.
However, I can’t figure out how to call any of my custom commands. It seems the custom capabilities (which bind a specific set of allowed commands) aren’t supported yet, but what about if the commands are known?
I’m building a “bedside monitor” with some LEDs & alarms when something happens (for example, front porch detects motion -> front porch LED comes on, alarm sounds). My Smart App asks for which “Bedside Monitor” to work with (I used the “alarm” capability to tag it for association in the Smart App) and asks for the (currently) two motion sensors to handle. However, it seems no commands would be available on the “monitor” because it is an “alarm”. Is there any way for me to call my
If this is completely not possible, I’d like opinions on my potential workaround:
I was toying with the idea of making my Monitor implement the
capability.speechSynthesis capability, since it implements the simple
speak(String) command that I can use. Anyone have an opinion if this is a good approach?