HomeGenie Forum
Automation Program Plugins and Wizard Scripting => APP Contributions => Topic started by: gbremmer on November 08, 2015, 11:25:19 AM
-
I would like to upgrade the Ping me at home to see who's home and optionally greet the person that enters the house (add this later-on).
I've added a new variable: Persons. This string will contain names of the persons that are at home. The old variables i've kept the same, so everything should still work.
Only error i've got is that i get the message: "Object reference not set to an instance of an object". Can somebody check what i've done wrong.
Additionally, I would like to create an widget that will display the names on the home page of Homegenie.
-
Hi!
Which HG version? It's works for me with v 1.1 r500.
-
Thank you, I also did an upgrade and now it seems to work.
Who can help me with the widget?
-
Hi!
You inspired me. ::)
I think, this is, what you want.
I creat a Ping Me at Home Extended program, which show, who's at home. And I add the widget, where you can see this informations. I modify the Status widget to show the informations well. the modification is: I move the big INFO icon to the header. You must copy this files (status widget.zip) to your homegenie folder. (..\HomeGenie\html\pages\control\widgets\homegenie\generic\). Replace the existing files.
Then import the program, and config it. IP addresses + Names...and enjoy. ;D
Edit:
I found a bug in the code. I repaired it.
-
I upgraded the code, because the status don't refresh, if the status changes, just if I refresh the page.
-
Hi Kazu,
Great work! I'm on holiday this week so I can't wait until I'm at home to test it.
-
Hi!
I modify the program code. So no need widget change. It use Sensor widget no Status widget. You can set 4 devices to ping. The widget only show the devices, what is can ping. And you can see the persons history in Android Plus app! ;)
-
Hi KaZe,
I install your program and i like it :).
Did you use pingathome to disarm alarm ?
If yes, how to do you do to arm without disarming with pingathome ?
Bye
-
Hi KaZe,
I install your program and i like it :).
Did you use pingathome to disarm alarm ?
If yes, how to do you do to arm without disarming with pingathome ?
Bye
The simple way to aauto arm your security is the new program (wizard script). I attach the config. You must set up the trigger code to PingMeatHomeExtended program PingMe parameter, and set up the program code to security program control.On paramter. The disarm is the opposite.
-
Ok that's ok for me, but I didn't think about that.
2 problems :
- arm: too risky for me because if all the devices are off or shutdown, or... I don't want to arm at all
- disarm: in case you arm successfully, but your phone is still on the WiFi, it will disarm but I don't want to...
-
To disarm, I think the solution to wait x minutes (1 minute or more) after arm to take care of pingmeathome result.
-
To disarm, I think the solution to wait x minutes (1 minute or more) after arm to take care of pingmeathome result.
Hi!
I think this programs help you.
1. is a virtual switch program. It create 1 virtual switch. (you can modify to create more then 1 virtual switches)
2. is an auto arm/disarm program. The program run only, when the virtual switch is on.
So, if you don't want to arm or disarm automatically the security system, just turn off the virtual switch. BTW, it arm automatically the AWAY mode.
cheers.
-
Thanks for this! Found a tiny typo in v5 on line 5
string param4 = "Sensor." + Program.Option("PingMe.Name3").Value;
should be PingMe.Name4
-
Yes, that was a typo. Thx for your warning. I use only 2 person, so I don't see it.
I corrected.
-
Does anyone Need the ping to home with Host as variable in case of not static IP's?
-
I would be interested in a ping me at home modification that does not rely on the absolute IP address as I typically use dynamic IP addresses for mobile devices at home. Not sure how to do this?
-
Hello,
A great program from you.
"Ping me at home" works. The phone is found.
Unfortunately, I do not get the ad in the Widgets.
Do you have a hint for me?
Many Thanks!
Thoralf
-
Hello,
A great program from you.
"Ping me at home" works. The phone is found.
Unfortunately, I do not get the ad in the Widgets.
Do you have a hint for me?
Many Thanks!
Thoralf
Hi!
Unfortunately the new widget (v525) don't show the unique sensor parameters, so you must add parameters manually to the widget.
http://www.homegenie.it/forum/index.php?topic=2140.msg11468#msg11468 (http://www.homegenie.it/forum/index.php?topic=2140.msg11468#msg11468)
-
Hello,
This is a logical explanation. Unfortunately, I do not understand where I need to adjust the widget (which line needs to be changed)
Can you please send me the customized sensor widget?
Many Thanks.
Thoralf
-
Hello,
This is a logical explanation. Unfortunately, I do not understand where I need to adjust the widget (which line needs to be changed)
Can you please send me the customized sensor widget?
Many Thanks.
Thoralf
This lines must be modify. I can'4 send the customized sensor, because it's unigue for me.
-
I don't know anything about this. But could it be possible to somewhere else set the parameter context to something that isn't unknown? Why is the value unknown? Feels like this is a solution to the symptom and not the disease.
-
Hello,
I'm having a problem with pingmeathome extended. The program crashes with the error, "Network is unreachable" sometimes within a few minutes to as long as perhaps a day.
Raspberry Pi, jesse lite, HG version 1.1 beta r525 direct ethernet connection.
Can someone help with this problem?
Also, if we could identify devices by MAC number, dynamic ip would work.
PS. Suggestion - I use this to check if my Chromecast device is present. This gives me an indication if the TV is on or off. Very handy.