Pushover or Pushbullet Notifications from Netduino Plus 2 - Netduino Plus 2 (and Netduino Plus 1) - Netduino Forums
   
Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Pushover or Pushbullet Notifications from Netduino Plus 2

Netduino plus pushover pushbullet push notification JSON POST

  • Please log in to reply
7 replies to this topic

#1 LennySh

LennySh

    Member

  • Members
  • PipPip
  • 29 posts

Posted 14 June 2014 - 12:59 AM

I was wondering if anybody has attempted or hopefully succeeded in pushing notifications from their Netduino to their phone or computer using either Pushover, Pushbullet, or any other notification service. I'm currently using a webserver as a middle-man to receive info from the Netduino and then push said information to my phone. I'd like to be able to eliminate the webserver from the equation.

Surprisingly, a Google search shows nothing related to this topic. I would of figured by now, this would at least had been attempted.

Anyone got any ideas? Any help would be greatly appreciated.

My doorbell sends me a text message and a push notification, does yours?


#2 LennySh

LennySh

    Member

  • Members
  • PipPip
  • 29 posts

Posted 16 June 2014 - 06:01 PM

Nobody has any idea's?


My doorbell sends me a text message and a push notification, does yours?


#3 jrlyman3

jrlyman3

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts
  • LocationNorth St Paul. MN

Posted 17 June 2014 - 02:13 AM

Why don't you use SMTP to send an email?  You could use email direct to your cellphone or use it to send the phone a text message.



#4 LennySh

LennySh

    Member

  • Members
  • PipPip
  • 29 posts

Posted 17 June 2014 - 02:39 PM

Why don't you use SMTP to send an email?  You could use email direct to your cellphone or use it to send the phone a text message.

 

I was using that originally (Bansky), but with my current Pushover method, I get the messages faster.  I was just trying to eliminate the ASP page/web server middle-man requirement.

 

Not to mention, now that I removed all the Bansky email stuff, I have a lot smaller footprint.


My doorbell sends me a text message and a push notification, does yours?


#5 jrlyman3

jrlyman3

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts
  • LocationNorth St Paul. MN

Posted 17 June 2014 - 03:40 PM

I think that you're stuck with some kind of server because: 1) your phone is not always connected to the internet, and 2) it's IP address will change based on how you're connected.  Even if that were not true the available apps are setup to work that way so you would have to write your own app otherwise.

 

If you're OK with writing your own app then I think you want your phone to poll your Netduino when it's connected to see if there is anything to notify you about.  That would require your Netduino to have a fixed IP address, or you have to use a server to get the IP address ...

 

If you're on your local WiFi then you could use a discovery protocol to find the Netduino.

 

Looks, like you've already got a good solution (except maybe privacy) ...

 

Email was too slow ... Mmmm, I guess I might have to learn more about these new methods :).

 

John



#6 LennySh

LennySh

    Member

  • Members
  • PipPip
  • 29 posts

Posted 18 June 2014 - 10:28 PM

I think that you're stuck with some kind of server because: 1) your phone is not always connected to the internet, and 2) it's IP address will change based on how you're connected.  Even if that were not true the available apps are setup to work that way so you would have to write your own app otherwise.

 

If you're OK with writing your own app then I think you want your phone to poll your Netduino when it's connected to see if there is anything to notify you about.  That would require your Netduino to have a fixed IP address, or you have to use a server to get the IP address ...

 

If you're on your local WiFi then you could use a discovery protocol to find the Netduino.

 

Looks, like you've already got a good solution (except maybe privacy) ...

 

Email was too slow ... Mmmm, I guess I might have to learn more about these new methods :).

 

John

 

With Pushover, all I need to do is a JSON POST to their server with the needed information.  Their server pushes the notification to my phone without any other needs.  So the only requirement is to have my Netduino online to do the POST.  The rest is handled by the Pushover API and the installed Pushover app on all my android devices.

 

Here's the C# snippet on POSTing to Pushover (note, this code isn't for Netduino, lol):

public void PushOverSend(string strTitle, string strMsg)
{
	NameValueCollection queryString = HttpUtility.ParseQueryString(string.Empty);
	queryString("token") = "<TOKEN>";
	queryString("user") = "<USER>";
	queryString("title") = strTitle;
	queryString("message") = strMsg;

	try {
		using (client == new WebClient()) {
			client.UploadValues("https://api.pushover.net/1/messages.json", queryString);
		}

	} catch (Exception ex) {
		Debug.Print(ex.Message);
	}
}

My doorbell sends me a text message and a push notification, does yours?


#7 LennySh

LennySh

    Member

  • Members
  • PipPip
  • 29 posts

Posted 20 June 2014 - 07:01 PM

Anybody have any more ideas?


My doorbell sends me a text message and a push notification, does yours?


#8 uffe

uffe

    Member

  • Members
  • PipPip
  • 15 posts

Posted 25 August 2014 - 11:46 AM

Hi. I´m a little late to the party, but you can do this with XSockets.NET

Actually you will be abel to push data from the netduino to anything connected to XSockets. And you will also be able to call the netduino from other connected clients since the communication is full-duplex.

 

There is a experimental client for NETMF as well.

http://xsockets.net/...-microframework

 

Regards

Uffe







Also tagged with one or more of these keywords: Netduino, plus, pushover, pushbullet, push, notification, JSON, POST

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.