I have an arduino card that has multiple contacts / motion sensors tied to it. I can’t seem to find away to allow applications to interact with those contacts one by one (as most non-custom applications handle device types) therefore I need the arduino card to communicate with “fake” devices that act as individual sensors for applications. The only way I’ve figured out how to do this is by having a custom application that listens for each individual event and triggers a command within the fake device changing it’s state to match.
I’m curious…
- is there a better way to to do this?
- can I have the two deviceTypes interact directly to one another?