Re: Send growl notification over local network (no internet connection) from Pic controller or Arduino

218 views
Skip to first unread message

Daniel Siemer

unread,
Dec 15, 2012, 12:18:05 PM12/15/12
to Growl Discuss
So, to be sure I understand what you are trying to do, you want to
send from a microcontroller, to your phone over the local network? Or
are you trying to send from your microcontroller to Growl running on a
computer?

The second case is definitely something we can help with. Growl uses
GNTP, a protocol for sending notifications over a network that is easy
to implement. You mentioned arduino, and I do know of an arduino
library, https://github.com/tzikis/gntp-arduino, although it isn't
terribly active in development, and I can't speak to how well it
works. GNTP is relatively easy to deal with for sending basic
messages, and depending on your needs, you could hardcode your
messages (You will need to register before notifying as a heads up).
The GNTP spec can be found here: http://growl.info/documentation/developer/gntp.php

For the first case, if you are running a computer in the middle, and
its internet connection is more reliable, then Growl has a number of
plugins you could use for sending messages to your phone (Prowl,
Boxcar, SMS and email). For more direct local connection (either
direct, or using growl on a computer as an intermediary), Im not
entirely sure what you would need to do. I seem to recall an iOS to
Growl bridge, and there might have been one for the other way, but
they were for jailbroken devices to tie into iOS's notification center
directly.

On Dec 14, 4:27 pm, jimbolivings...@gmail.com wrote:
> Hi
>
> I have a project built on flyport (openpicus.com), and part of it's
> function sends a notification to an iPhone.  I currently do this by having
> the micro controller send an email.  This works fine when there is a
> connection to the internet, but the environment where I'm using this has a
> very intermittent connection, and is out of mobile network range.  I am
> trying to figure out how to accomplish the same notification but have the
> whole process take place locally.
>
> Anyone have any hints that could point me in the right direction?  The
> microcontroller is pretty much programmed in C/C++, and it has a simple
> webserver running on it for local network access.
>
> Suggestions mightily welcome!
>
> J

James Livingston

unread,
Dec 26, 2012, 11:51:14 PM12/26/12
to growld...@googlegroups.com
Hi Daniel,
Thanks for the reply. Sorry for my delay.
I hope you had a merry Christmas!

I'm trying to send a notification from a micro controller to a phone over the local network. (The phone could be iphone, or even ipad). Would do android if I have to.
If it helped, I could use a computer in the middle, but prefer not to do so. BTW, the micro controller that I'm using currently has a webserver built in, if that helps anything, and is already running on the WLAN.
This will be used on a boat, where we will.most often be out of mobile network range, and where the Internet connection is over satellite, and subject to interruption from weather, antenna blockages, shadowing, etc.. So there is no reliable Internet connection in this scenario to any of the components, and I'm looking for a 99% plus reliability.
The messages that I want to send are few, so can be hard coded, no problem there, and I'm already registered with growl as I have been using Growl and Prowl already in this system. I'm happy with the way that works, I just need to cut out the cloud based sections of the project, so that it always works, and it would be nice to reduce the time to execute the notification.
I'll look into the gntp stuff.
Thanks for giving this some thought.
Any more ideas very welcome!
Jim

Reply all
Reply to author
Forward
0 new messages