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.

Event Ghost and Android

If you have a question or need help, this is the place to be.
Post Reply
BottledHate
Posts: 4
Joined: Sun Dec 13, 2009 9:03 pm

Event Ghost and Android

Post by BottledHate »

I have recently installed EventGhost for Android. Everything is working fine so far. I'm am able to create and trigger events from the Android App.

What i would like to do is have an event triggered by the android app 'Locale'http://www.twofortyfouram.com/. Locale is a popular android app that can change settings and do a number of things based on time, gps location, person calling, sms's, and a whole lot more.

Without a native EG plugin for 'Locale' the only way i can think to trigger an event is with a http post/get plugin for 'locale'


I have loaded up the webserver plugin on EG and loaded a page i found here on the forum. Everything works ok through the web interface.
http://www.eventghost.org/forum/viewtop ... ver#p11901

Can anyone help me with what i need to do to use this 'http post' plugin to work with EG's webserver plugin?????


Thanks for your time!

here's what the plugin looks like:
Image
BottledHate
Posts: 4
Joined: Sun Dec 13, 2009 9:03 pm

Re: Event Ghost and Android

Post by BottledHate »

thinking about this some more... could this be achieved by a simple input box on a web page that passes on the text put in it as an event to EG? Then i could send any command i want through one web interface.... i lack the html/java skills to make it happen tho. :(

thanks for any help!
liquid8
Posts: 35
Joined: Thu Feb 19, 2009 4:20 am

Re: Event Ghost and Android

Post by liquid8 »

Hello,

Just to clear things up, EventGhost for Android is separate from what (I think) you are trying to do.

It sounds like you want to send something from Locale (with the HTTP Post plugin) to EventGhost on your PC (which has the webserver plugin) .. you wouldn't need EventGhost for Android or the EventGhost Android plugin to do that.. You would just need to configure the webserver plugin for EventGhost (on your PC), then set the appropriate details in the locale plugin.

I understand why it could be confusing - app with plugins (Locale), app with plugins (EventGhost for PC), app with plugins (EventGhost for Android) - that all send events back and forth :)

The EventGhost for Android app (using either the Network Sender/Receiver plugins, or the EventGhost Android plugin) allows you to interface with EventGhost by:
  • Triggering events - i.e. sending them to your PC
    Receiving events that occur on your PC and react to them on your Android device (send you a message, open an app, etc)
So, there could be other Android apps that would interact with EventGhost (either directly, or via a plugin) ...

i.e. An alternate method for triggering (sending) events to your PC is what (I think) you are doing, which is using Locale to interface with the EventGhost Webserver plugin.
BottledHate
Posts: 4
Joined: Sun Dec 13, 2009 9:03 pm

Re: Event Ghost and Android

Post by BottledHate »

+1 rep to liquid8 fr his help here and in email.....


well i found a way t make it work....

a "Get" request to the following url http://192.168.0.100:8434/?myEvent

i have it set up on that port.... substitute the local host for my
dyndns and poof! Event Ghost on my pc sees "HTTP.myEvent"

found it digging around in here:
http://www.eventghost.org/forum/viewtop ... POST#p4863
BottledHate
Posts: 4
Joined: Sun Dec 13, 2009 9:03 pm

Re: Event Ghost and Android

Post by BottledHate »

liquid8 wrote:Hello,

i.e. An alternate method for triggering (sending) events to your PC is what (I think) you are doing, which is using Locale to interface with the EventGhost Webserver plugin.
exactly...

i still love your app for making layouts for different devices!

in the android app 'locale' when gps triggers that i'm home.... the 'locale' plugin 'http post' sends a "GET" request to the Event Ghost Web Server Plugin on my PC and triggers and event.

mouthful..
Post Reply