In short, I am trying to set up a simple “dummy” switch in ARTIK Cloud such that when I invoke it a message is generated that can be used in a rule so that I can perform an action on another device.
This is what I have done:
- I have manually added an “ARTIK Cloud Switch” to my device list (no physical device is present.). I’ll call this device “Dummy Switch”
- I have created a rule that sends an action to another device whenever a “state” field is included in a message for the Dummy Switch
- I send the “SetOn” action to the dummy device.
The action is successfully processed…so I was expecting the dummy device to send a message indicating the state is “true”…though perhaps because there is no physical device attached there is no message? Since there’s no message, the rule I created is not invoked.
So in short, how can I do what I want to do? That is, create a “dummy” switch (no physical device), such that when I invoke an action it generates a message that a rule can act on? Is there another standard device type that I can use…or do I need to learn how to develop my own?