Page 3 of 3
Re: Ping
Posted: Fri Jul 18, 2014 5:24 pm
by shaggy79
krambriw wrote:What you really should look for is an app that is supporting geofencing. As example, look at OwnTrack.
In addition you will need a message broker, the MQTT. If you invest in a cheap Raspberry Pi you can install the MQTT broker here. You can then use my MQTT Client plugin to receive events when they are happening. No need for pinging, no need for polling...
I will try to make a test setup in this way myself.
PS If you have another Linux box or you prefere a Windows version running in your Windows box, you can of course run the MQTT broker there as long as you make it reachable. For security reasons, I would keep the brooker separated and use ssl certificates.
So far I have found only a german article how to secure the connection via certificates. Please check here:
https://www.hagen-bauer.de/2014/05/inst ... ry-pi.html
Hi Krambriw,
Thanks for the help but you completely lost me at ....."In addition you will need a message broker, the MQTT"
Sorry I'm new to EG and have never done anything like this before
sorry to be a pain but could you explain it again but this time "pretend" your speaking to a complete novice lol
Cheers Paul
Re: Ping
Posted: Sat Jul 19, 2014 5:07 am
by krambriw
Hi Paul,
No problems, first check and read the basics about OwnTracks and why MQTT is used. I think there are good explanations given there. After this, it is time to consider how to link this into EG.
BR Walter
http://owntracks.org/
https://github.com/owntracks/owntracks/wiki
https://github.com/owntracks/owntracks/ ... ng-started
Re: Ping
Posted: Sat Jul 19, 2014 5:31 am
by shaggy79
Thanks for your patience Krambriw,
I have installed the
"owntracks" app on my Phone so I could have a look at it.
I have also read the basics of it all (It really
REALLY hurt my head!)
And now I have no idea what to do with it (as in get it to
"tell" my
PC I'm home or away)

Re: Ping
Posted: Sat Jul 19, 2014 5:09 pm
by kalia
Just another suggestion. Don't want to complicate things more, but this is what I have set up:
My router has an option to forward Syslog messages to my PC. I use the "Syslog Server" plugin in EG. When I get home, the phone WIFI connects and an event is generated in EG. There is no Syslog message from my router when the WIFI disconnects.
kalia
Re: Ping
Posted: Sat Jul 19, 2014 6:15 pm
by krambriw
Good so far, I have created a little simple guide over in the MQTT Client thread where it belongs
viewtopic.php?f=9&t=5728&p=31682#p31682
@Kalia: sure, a ping solution or whatever will work as well but it might be a benefit to have an app like OwnTacks or Btraced, it gives additional features also visible in the phone
Re: Ping
Posted: Sun Jul 20, 2014 12:55 am
by shaggy79
Krambriw
YOU ARE A STAR!
I think I got it sorted,

it is working as far as I can tell just need to fine tune it a little.
once I get it
"set" right how would I make it secure ? As it shows my actual address! I don't want people knowing where I live

lol.
Once again
thank you for your help. It is
very much appreciated.
Paul
Re: Ping
Posted: Sun Jul 20, 2014 5:51 am
by krambriw
See my reply in the MQTT Client thread
Re: Ping
Posted: Sun Jul 20, 2014 5:15 pm
by shaggy79
Have & thankyou.
Re: Ping
Posted: Sun Jun 30, 2019 1:24 am
by qoheleth
Sem;colon wrote: Sun Aug 11, 2013 9:05 am
Since I want to keep on using this plugin, I had no choice but to modify it.
This new version (0.0.3) is more like version 0.0.1 but uses the "-t" option from ping.exe - so if you add a host, the PING process is created only once and runs until it is removed.
Since the "-t" option has no possibility to define a delay between pings, I removed this option for this - in fact that will cause problems when updating from an old version of Ping to this one.
If you used one of the previous versions, please remove all actions and the old plugin from your config before adding this one!
Thanks for modifying/updating the plugin. Using your version, I've been able to get Ping to work as a means of checking to see if my IP cameras have gone off line. (It sometimes happens due to heat.) When the Ping fails, I reboot the camera.