HomeGenie Forum

Automation Program Plugins and Wizard Scripting => APP Contributions => Topic started by: MickEE on November 05, 2014, 07:50:12 PM

Title: Home / Away application
Post by: MickEE on November 05, 2014, 07:50:12 PM
I have put together an app that will turn on selected devices when a person comes home and turns them off when leaving. It will work for multiple users, each one can be given a custom name in the module options.

The app is controlled by Web Service calls. The first parameter is the name of the person and the second is the status, Home(1) | Away(0).

http://IP-ADDRESS/api/HomeAutomation.HomeAway/NAME/1

Modules can be added to a person's home/away action by checking the feature in the module option (picture). Additional actions will be run if there exists a program with the name of structure "NAME Home" / "NAME Away". For example a program named "MickEE Home" will also be run in my case.

USAGE:
My Android phone with Takser (https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=en) installed will recognize when I come or leave home. The app will then make a HTTP-get to the given URL.


Known Issues:
I have not found a way to remove program parameters and features, which means old names will be stored after new ones are inserted. If you know how to reset parameters/features, please let me know.
Title: Re: Home / Away application
Post by: Bitcraze on June 24, 2015, 08:10:12 AM
Hi, MickEE

What would the advantage be using this over "Ping me at Home"?