Sending Push notifications to Arduino

+1 vote
Could anyone tell me if there is anything like GCM for Arduino?

I'm working on a project where I need to send push notifications to the arduino connected with WiFi shield.

Any idea how could I do that?

Thanks.
Mar 5, 2019 in IoT (Internet of Things) by Shubham
• 13,490 points
1,455 views
Hi Guys,

It will be really great if anyone can answer this question, that how can i send a push notification to arduino wifi setup from cloud

1 answer to this question.

0 votes

Include Parse library to make sure the following code works.

/setup function/

void setup() {

  Bridge.begin();
  Serial.begin(9600);

  while (!Serial);

  Parse.begin("***E0uUjQkMa7nj5D5BALvzegzfyVNSG22BD2FJ", "umPSsggp5JgMFmSHfloewW5oixlM5ibt9LBS***");
    // In this example, we associate this device with a pre-generated installation

   Parse.getInstallationId();
   Parse.startPushService();

}//setup function block


void loop() {

if (Parse.pushAvailable()) {

    Serial.println("Start push");

    ParsePush push = Parse.nextPush();
    // Print whole JSON body

    String message = push.getJSONBody();
    // Serial.print("New push message size: ");
    //  Serial.println(message.length());
    // Serial.print("New push message content: ");
    Serial.println(message);
    // Do something with the push
    // IMPORTANT, close your push message
    push.close();
    checkStatus(message);   
    Serial.println("End Push");


  }//if push notification block

} //loop 

answered Mar 5, 2019 by Upasana
• 8,620 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Azure - What service to use for Arduino data (iot)

That's because the two services do completely ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
846 views
0 votes
1 answer

How to send a data from arduino uno to a webpage through esp8266 wifi module?

You are missing a few \r\n and the length ...READ MORE

answered Aug 9, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
3,435 views
0 votes
1 answer

Transfer Data from Arduino Board to SQL Server

If you want to send it to ...READ MORE

answered Aug 29, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
4,363 views
0 votes
1 answer

Using Google Maps to track GPS enabled Arduino Board

What is the GPS Module which you ...READ MORE

answered Sep 6, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
2,276 views
0 votes
1 answer
0 votes
1 answer

Suggest Implementation method for Smart Parking Points

They are different things. Raspberry PI is ...READ MORE

answered Aug 24, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
427 views
0 votes
1 answer

OMA LWM2M communication with Arduino

You'll have to understand that an Arduino ...READ MORE

answered Aug 28, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,435 views
0 votes
1 answer

MQTT server sending a message to a client declaring unauthorization

It would return a CONNACK packet with ...READ MORE

answered Apr 25, 2019 in IoT (Internet of Things) by Upasana
• 8,620 points
909 views
+1 vote
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP