Pushover or Pushbullet Notifications from Netduino Plus 2
#1
Posted 14 June 2014 - 12:59 AM
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
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
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
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
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
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
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
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
General →
General Discussion →
Netduino for my first productStarted by vishnusmoke, 12 Nov 2015 netduino, production, product |
|
|||
Hardware →
Netduino 3 →
ND3 hangs calling File.Delete()Started by ukkiwisurfer, 06 Nov 2015 SD, Wifi, Netduino |
|
|||
Hardware →
Netduino Mini →
Flashing Netduino Mini with Netduino 3Started by tridy, 13 Oct 2015 flashing, mini, netduino |
|
|||
Hardware →
Netduino Plus 2 (and Netduino Plus 1) →
Why do I have to reboot my device to change the IP address?Started by cSharper, 31 Jul 2015 webserver, ip, netduino, change and 1 more... |
|
|||
Hardware →
Netduino Plus 2 (and Netduino Plus 1) →
N+2 & Adafruit 7-segment LED Display with HT16K33 BackpackStarted by LennySh, 25 Jul 2015 Adafruit, seven, segment, LED and 5 more... |
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users