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.

android widget plugin?

If you have a question or need help, this is the place to be.
Post Reply
tjabas
Experienced User
Posts: 98
Joined: Sun Feb 07, 2016 6:28 pm

android widget plugin?

Post by tjabas »

Hi!

i use a tellstick duo to switch on and off lights in my home, what i wonder is if there are any eventghost plugins that can be controlled by a android smartphone, what i ask for is an app that i install in my android phone that have widgets that i can put on my home screen, i want a simple on and off switch/widget.

is this possible?
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: android widget plugin?

Post by Pako »

I think the easiest solution is to use Tasker and Pushbullet. Tasker lets you create shortcuts for any action. Pushbullet then transferred command to Eventghost.

Pako
You know flattr ? You can Image
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: android widget plugin?

Post by Pako »

I realized, that here might be even easier solution. And - it's completely free!
You will need Pushbullet account, IFTTT account and application DO button by IFTTT.

You must connect Pushbullet and IFTTT. Then you have to create two applets "Sends a Pushbullet notification" (Lights On and Lights Off).
Finally, you have to put on the desktop (on a smartphone) two "DO button" widgets and assign the appropriate applets to them.
In Eventghost you must (of course) to install Pushbullet plugin.

If you're going to need more detailed instructions for any of the steps, I can do it.

Pako
You know flattr ? You can Image
eirik226
Experienced User
Posts: 142
Joined: Wed Nov 07, 2012 5:22 pm

Re: android widget plugin?

Post by eirik226 »

I use tasker to do this, you can do it a couple of ways:

1. Eventghost, AutoRemote and tasker
2. Eventghost, Webserver and tasker.

Number 1:

This solution also works when you are not connected to your wi-fi network. You use tasker to send an event to autoremote - this sends to EG if you are on the same network or google chrome if not - and then from google chrome to EG.

Number 2:

You must have the webserver setup, in tasker you then use HTTP get commands.

EG: 10.0.0.90:2020/ajax.html?lights.0

Same as pako - I can write a more detailed step by step if you require.

PS: This is not free, tasker and autoremote cost money for pro version.
tjabas
Experienced User
Posts: 98
Joined: Sun Feb 07, 2016 6:28 pm

Re: android widget plugin?

Post by tjabas »

Pako wrote:I realized, that here might be even easier solution. And - it's completely free!
You will need Pushbullet account, IFTTT account and application DO button by IFTTT.

You must connect Pushbullet and IFTTT. Then you have to create two applets "Sends a Pushbullet notification" (Lights On and Lights Off).
Finally, you have to put on the desktop (on a smartphone) two "DO button" widgets and assign the appropriate applets to them.
In Eventghost you must (of course) to install Pushbullet plugin.

If you're going to need more detailed instructions for any of the steps, I can do it.

Pako
ok, thank you very much, i will dig into it tomorrow :)
m19brandon
Experienced User
Posts: 177
Joined: Mon Feb 03, 2014 10:36 pm

Re: android widget plugin?

Post by m19brandon »

This guy has some great stuff to build own.
https://joaoapps.com

You could also build a little web app.
Post Reply