Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
looking for an plugin.
looking for an plugin.
im looking for some sort of plugin that kan create an action if the internet connection is lost/down, is there any of that kind?
its like this, my modem(fiber) sometimes looses the connection towards the internet, and to get it to work again i need to reboot the modem, my isp cant really help me, with that, and i cant figure it out either.
I have a tellstick duo, and with that one, i could use and remote switch that i thought could kill the power to the modem and turn it back on.
So is there anything that could help me?
its like this, my modem(fiber) sometimes looses the connection towards the internet, and to get it to work again i need to reboot the modem, my isp cant really help me, with that, and i cant figure it out either.
I have a tellstick duo, and with that one, i could use and remote switch that i thought could kill the power to the modem and turn it back on.
So is there anything that could help me?
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: looking for an plugin.
One way could be to use the Ping plugin.
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: looking for an plugin.
Sounds interesting, where can i find it?
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: looking for an plugin.
it's apart of the standard EventGhost plugins library.
so right click your EG tree and click on add plugins. scroll down to the bottom and you should see it there.
K
so right click your EG tree and click on add plugins. scroll down to the bottom and you should see it there.
K
Re: looking for an plugin.
i found it, thank you.
i have tried it and in the plugin config there is this : string to match, what is this?
it seems to work with the other settings, witch action should i use, ad host or one ping now?
i have tried them both and both seem to work, i get the ping offline action when i kill the modem, and ping online action when the modem connects again.
but the problem is that when i starts the modem and the connection is being made i get the online action, but emideatley afterwards i get an offline action, and right after that i get an new online action, i think that the problem is the offline action between the online actions would kill the modem again.
Wow i hope you inderstand what i mean by this problem.
thanks
i have tried it and in the plugin config there is this : string to match, what is this?
it seems to work with the other settings, witch action should i use, ad host or one ping now?
i have tried them both and both seem to work, i get the ping offline action when i kill the modem, and ping online action when the modem connects again.
but the problem is that when i starts the modem and the connection is being made i get the online action, but emideatley afterwards i get an offline action, and right after that i get an new online action, i think that the problem is the offline action between the online actions would kill the modem again.
Wow i hope you inderstand what i mean by this problem.
thanks
Re: looking for an plugin.
Can i increase the ping time? I think if that is the problem why i get the online,offline,online actions when the connection is made.
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: looking for an plugin.
Use Add Host action, try with www.google.com
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: looking for an plugin.
With the Ping plugin, I have configured the 'Add Host' action like below. You should give enough time for the checks to avoid false alarms. Remember that your internet connection might be fully operational also in cases where the host is not responding. Therefore you should select a host that is likely to be available 365/24/7
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: looking for an plugin.
An alternative way of monitoring your internet connection is described in this guide:
viewtopic.php?f=13&t=8168
viewtopic.php?f=13&t=8168
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: looking for an plugin.
krambriw wrote:With the Ping plugin, I have configured the 'Add Host' action like below. You should give enough time for the checks to avoid false alarms. Remember that your internet connection might be fully operational also in cases where the host is not responding. Therefore you should select a host that is likely to be available 365/24/7
thank you for your help.
i have tried your suggestions but i still get problems, is it possible to increase the pingtime even more? i think 5000ms is maxium.
The problem is that i get more than one ping dead action, and that wont work because that action will force the modem to reboot again and im in a loop.
heres a peice of the log from eventghost.
14:49:14 TellStickDuo.modem.OFF u"selflearning-switch:nexa.90.0"
14:49:14 Ping.pingdead
14:49:22 TellStickDuo.modem.ON u"selflearning-switch:nexa.90.0"
14:50:30 Ping.pingdead
14:51:36 Ping.pingalive
14:51:36 Ping.pingalive
14:51:41 Ping.pingdead
14:51:45 Ping.pingalive
as you can see in the beginnig of the log i turn the nexa switch of, and i get the pingdead, then i turn the switch on and i get one more pingdead.
and then when the connection is made i get 2 pingalive followed by a pingdead, and that will cause a reboot again.
do you have any solution?
thanks.
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: looking for an plugin.
This solution http://eventghost.net/forum/viewtopic.php?f=13&t=8168 has been working in my system since this morning without any 'false alarms'. It mightbe a bit more to configure.
I am not able to answer how the Ping plugin really works inside.
I am not able to answer how the Ping plugin really works inside.
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: looking for an plugin.
krambriw wrote:This solution http://eventghost.net/forum/viewtopic.php?f=13&t=8168 has been working in my system since this morning without any 'false alarms'. It mightbe a bit more to configure.
I am not able to answer how the Ping plugin really works inside.
ok, im going to look more into this option then, the only thing im a bitt confused about it that Mott thing, it seems like i need a subscription of some sort?
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: looking for an plugin.
No, you need not, just follow the guide but define your own unique topicit seems like i need a subscription of some sort?
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: looking for an plugin.
ok, thanks, im at your ftp site but you have 3 different mqtt klients, wich one should i use?krambriw wrote:No, you need not, just follow the guide but define your own unique topicit seems like i need a subscription of some sort?
i have tried the one only named MQTT klient, but that one just freezes eventghost.
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: looking for an plugin.
Use the one named 'MQTT Client using Paho'
Did you also do this: viewtopic.php?f=9&t=5728&start=90#p40274
Did you also do this: viewtopic.php?f=9&t=5728&start=90#p40274
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
