NMS (Notify My Smartphone)

Questions and comments specific to a particular plugin should go here.

NMS (Notify My Smartphone)

Postby Pako » Sat Feb 09, 2013 9:03 am

This new plugin combines clients of services NMA and Prowl.
This means that you can simultaneously notify an iPhone as well as an Android device.
Of course this is not a requirement. You can use this plugin, even if you have all the devices of the same type (iPhone or Android).
NMS.png
Very significant help in the development and testing plugin provided me krambriw. Thank you very much!

Pako
Attachments
NMS_0.1.2.zip
Plugin NMS - version 0.1.2
(16.25 KiB) Downloaded 75 times
NMS.zip
plugin NMS - version 0.1.1
(16.22 KiB) Downloaded 172 times
You know flattr ? You can Image
User avatar
Pako
Plugin Developer
 
Posts: 2258
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: NMS (Notify My Smartphone)

Postby piert » Thu May 29, 2014 1:22 pm

I was made aware of this plugin when reading the Pushbullet plugin thread. Pako made this plugin (as many of the other very useful Eventghost plugins) and Walter seems to have been very involved in testing and development. No other people have tested this or responded to this topic. I must admit that I also 'overlooked' this before, as I only recently got to using my Android device.

I have been experimenting with the pushbullet plugin and I like it for getting alarms from my motion detectors from Eventghost to my Android tablet.
However, there are quite long lag times between events in Eventghost and notifications appearing on my Android tablet (sometimes up to several minutes).
Can Walter or Pako (or anyone else) comment on the speed of the notifications appearing on Android devices, compared to Pushbullet plugin?

Regards,
Perry
piert
Experienced User
 
Posts: 258
Joined: Tue Jun 14, 2011 2:53 pm

Re: NMS (Notify My Smartphone)

Postby Pako » Thu May 29, 2014 1:40 pm

It is difficult.
I can not make a precise comparison.
I use regularly only PushBullet.
I can confirm that the message comes sometimes delayed.
I'm not sure, but my experience says, that the problem is with the Android device (some power saving modes, etc.).
If the device is "fully awake", the message usually comes "immediately".
I think that when you use the NMS (NMA service) that can not be better.

Pako
You know flattr ? You can Image
User avatar
Pako
Plugin Developer
 
Posts: 2258
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: NMS (Notify My Smartphone)

Postby therealbiglou » Thu May 29, 2014 7:56 pm

To follow up with what Pako said, the Pushbullet plugin is pretty instantaneous. If you look at your push log on the Pushbullet website itslef, they appear near instant. If it's not displaying on your device immediately, it's probably an issue with the service not running all the time or being governed by the CPU/system.
therealbiglou
Experienced User
 
Posts: 100
Joined: Sat May 19, 2012 4:33 am

Re: NMS (Notify My Smartphone)

Postby krambriw » Fri May 30, 2014 6:05 am

I use the NMS plugin and a Prowl account with my iPhone. A notification arrives in the phone within a few seconds (typically within 2 seconds) after EG has triggered it.

Best regards, Walter
My latest plugins
http://plugins.krambriw.net/index.html

Two men in front of a huge excavator...
- that beast steels work from 100 men with shovels
- well, a 1000 men could do the same using teaspoons
krambriw
Plugin Developer
 
Posts: 2569
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden

Re: NMS (Notify My Smartphone)

Postby piert » Fri May 30, 2014 7:03 am

Thanks for your replies.

The near-instantaneous response that Walter experiences with his Iphone solution I can only match when I let Eventghost send an email to my Blackberry.
Alas, since it is my work-phone, I can not use it as freely as my Android tablet.
When I am connected to my own LAN, I can use networksender, which works fast, but not always reliably.

I will stick with the Pushbullet plugin solution for now and activate the email to Blackberry alarm sending whenever quick response is required.
piert
Experienced User
 
Posts: 258
Joined: Tue Jun 14, 2011 2:53 pm

Re: NMS (Notify My Smartphone)

Postby piert » Thu Aug 21, 2014 8:56 pm

Walter,

I have switched to Iphone for my work and am free to install applications on it.
Since you seem to be enthusiastic about the Prowl notification app, I would like your input on the reliability of the communication.

I am still using pushbullet and it works OK, but unfortunately the messages I send with pushbullet from my Iphone to the always-on PC with Eventghost are often not received by Eventghost at all.
This is a problem, as this then prevents me from remotely switching off the motion detection alarm configuration I have set up in Eventghost.
This means that, if there is a lot of motion going on in front of the detectors, I receive a flood of alarm notifications/photos on my Iphone.

I hope you can share some of your experience about possibilities, speed and reliability of Prowl in combination with EG and Iphone.

Thanks in advance,

Best regards,
Perry
piert
Experienced User
 
Posts: 258
Joined: Tue Jun 14, 2011 2:53 pm

Re: NMS (Notify My Smartphone)

Postby krambriw » Fri Aug 22, 2014 10:02 am

Hi Perry,
I have been using NMS and Prowl for a long period now and it has been working very well. However, Prowl can only receive events, not send anything from the iPhone to EG.

There are some but very few and rare occasions when a transmission from EG to Prowl has failed

It is very fast I think, I receive events within a few seconds even if the iPhone is only on edge or 3g network

Best regards, Walter
My latest plugins
http://plugins.krambriw.net/index.html

Two men in front of a huge excavator...
- that beast steels work from 100 men with shovels
- well, a 1000 men could do the same using teaspoons
krambriw
Plugin Developer
 
Posts: 2569
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden

Re: NMS (Notify My Smartphone)

Postby piert » Fri Aug 22, 2014 10:23 am

Mm mm, no sending from iPhone to EG possible with Prowl, that is a pity.

Can you think of any alternatives to Pushbullet for sending from iPhone to EG via 3G/Internet?
piert
Experienced User
 
Posts: 258
Joined: Tue Jun 14, 2011 2:53 pm

Re: NMS (Notify My Smartphone)

Postby MikeMelga » Wed Apr 15, 2015 1:34 pm

Pako,

Thanks for this plugin. It's awesome.
I've been using it for ages without any problem except for the fact that (now and then) it gives me this error and fails to send the notification although it works almost everytime.

Code: Select all
Error starting plugin: NMS
Traceback (most recent call last) (1700):
File "C:\Program Files\EventGhost\eg\Classes\PluginInstanceInfo.py", line 177, in Start
  self.instance.__start__(*self.args)
File "C:\Program Files\EventGhost\plugins\NMS\__init__.py", line 406, in __start__
   nList, pList = self.GetApiKeyLsts(act.args[0], self.apikeys)
File "C:\Program Files\EventGhost\plugins\NMS\__init__.py", line 749, in GetApiKeyLsts
   eg.PrintError(text.errMess1 % api)
NameError: global name 'text' is not defined


Any idea why this happens?
Also, when this happens the NMS plugin line becomes red.

Thanks.

Regards
MikeMelga
 
Posts: 31
Joined: Wed May 09, 2012 4:45 pm

Re: NMS (Notify My Smartphone)

Postby Pako » Wed Apr 15, 2015 2:42 pm

It is no mystery.
It is a common bug :D .
This bug, however, only appears when attempting to print the message NMA: Unknown API key "%s".
You can download corrected version.

Pako
You know flattr ? You can Image
User avatar
Pako
Plugin Developer
 
Posts: 2258
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: NMS (Notify My Smartphone)

Postby MikeMelga » Thu Apr 16, 2015 10:18 am

Thanks Pako.

Great work!
MikeMelga
 
Posts: 31
Joined: Wed May 09, 2012 4:45 pm

Re: NMS (Notify My Smartphone)

Postby MikeMelga » Wed Aug 23, 2017 10:57 am

Hi.

Since 2 or 3 days ago my NMS plugin stopped working completely.
It throws the following error messages:

11:23:52 NMA: Sending notification failed.
11:23:52 Cause: _ssl.c:493: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error (error 1)

No update or change was made either on EG or the OS.
Is it just me?
MikeMelga
 
Posts: 31
Joined: Wed May 09, 2012 4:45 pm

Re: NMS (Notify My Smartphone)

Postby MikeMelga » Wed Aug 23, 2017 1:39 pm

Update:

Prowl twitted the following on 20th August:

Prowl‏ @prowlapp 20th Aug

SSL now requires SNI. If you're on something super old please use non-SSL. To be honest this probably affects few if any users.
MikeMelga
 
Posts: 31
Joined: Wed May 09, 2012 4:45 pm

Re: NMS (Notify My Smartphone)

Postby MikeMelga » Thu Aug 24, 2017 9:37 am

Update:

Ok. Got it running by making some changes on the pyrowl.py file.

Changed both HTTPSConnection instances to HTTPConnection.

NMS now works but without SSL.
MikeMelga
 
Posts: 31
Joined: Wed May 09, 2012 4:45 pm


Return to Plugin Support

Who is online

Users browsing this forum: No registered users and 4 guests