- Android > Select clothes
- Android > Sends push notification
- Arduino > Takes notification
- Arduino > do something (move clothes, blink LEDs)
ParsePush push = new ParsePush();
push.setChannel("channelName");
push.setMessage("The is the push message of push notification".);
push.sendInBackground();
Parse.initialize(this, "---", "---);
ParseInstallation.getCurrentInstallation().saveInBackground();
ParsePush.subscribeInBackground("channelName");