Ping

Questions and comments specific to a particular plugin should go here.
shaggy79
Experienced User
Posts: 129
Joined: Sun Jul 13, 2014 4:57 pm

Re: Ping

Post by shaggy79 » Fri Jul 18, 2014 5:24 pm

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" :oops:
Sorry I'm new to EG and have never done anything like this before :oops:
sorry to be a pain but could you explain it again but this time "pretend" your speaking to a complete novice lol
Cheers Paul

krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Ping

Post by krambriw » Sat Jul 19, 2014 5:07 am

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

shaggy79
Experienced User
Posts: 129
Joined: Sun Jul 13, 2014 4:57 pm

Re: Ping

Post by shaggy79 » Sat Jul 19, 2014 5:31 am

krambriw wrote: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
Thanks for your patience Krambriw, :mrgreen:

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!) :oops:
And now I have no idea what to do with it (as in get it to "tell" my PC I'm home or away) :?:

kalia
Experienced User
Posts: 109
Joined: Wed Aug 12, 2009 1:10 am

Re: Ping

Post by kalia » Sat Jul 19, 2014 5:09 pm

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

krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Ping

Post by krambriw » Sat Jul 19, 2014 6:15 pm

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

shaggy79
Experienced User
Posts: 129
Joined: Sun Jul 13, 2014 4:57 pm

Re: Ping

Post by shaggy79 » Sun Jul 20, 2014 12:55 am

8) Krambriw 8)
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 :shock: lol.
Once again thank you for your help. It is very much appreciated.

Paul

krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Ping

Post by krambriw » Sun Jul 20, 2014 5:51 am

See my reply in the MQTT Client thread

shaggy79
Experienced User
Posts: 129
Joined: Sun Jul 13, 2014 4:57 pm

Re: Ping

Post by shaggy79 » Sun Jul 20, 2014 5:15 pm

Have & thankyou.

qoheleth
Posts: 2
Joined: Sat Jun 29, 2019 3:25 pm

Re: Ping

Post by qoheleth » Sun Jun 30, 2019 1:24 am

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.

Post Reply