Page 1 of 1

Trigger: GCM (Push notification) handler

Posted: 08 May 2013 07:57
by LastDanmer
It would be great if it were possible to control the device through the GCM.

Re: Trigger: GCM (Push notification) handler

Posted: 20 May 2014 11:02
by BoBo
[...]

Basically to trigger an heartbeat you only need those 2 lines (those are undocumented, I it discovered by decompiling GSF):

Code: Select all

context.sendBroadcast(new Intent("com.google.android.intent.action.GTALK_HEARTBEAT")); 
context.sendBroadcast(new Intent("com.google.android.intent.action.MCS_HEARTBEAT"));
where context is the application context.

[...]

"Push Notifications Fixer" - Thread
???
BoBo 8-)

Re: Trigger: GCM (Push notification) handler

Posted: 09 Jun 2014 03:51
by ZSasha
+1!
Would be very handy.
Currently it could be achieved by "AutoRemote" plugin for native support is always better.

Re: Trigger: GCM (Push notification) handler

Posted: 10 Jun 2014 17:04
by Martin
Pushbullet also has plugin support for automation apps (see trigger Plugin Event when Pushbullet is installed)

Re: Trigger: GCM (Push notification) handler

Posted: 11 Oct 2015 09:44
by natong
+1

Good to have native triggers:

- Send Google Cloud Messaging (GCM)
- Receive Google Cloud Messaging (GCM)

Now a day, any android cloud apps can't real time two-way sync across multiple devices. I don't know why it's so hard to do these feature. GCM can handle these job very well. GCM can also work as remote control, centralize, chat that very useful for Automagic users.

Re: Trigger: GCM (Push notification) handler

Posted: 19 Jun 2017 19:09
by fagci
me too

Re: Trigger: GCM (Push notification) handler

Posted: 29 Jul 2017 08:29
by fagci
Martin wrote:Pushbullet also has plugin support for automation apps (see trigger Plugin Event when Pushbullet is installed)
Variables are not provided, settings are not saved after I press "configure" button again...

Re: Trigger: GCM (Push notification) handler

Posted: 29 Jul 2017 11:51
by fagci

Re: Trigger: GCM (Push notification) handler

Posted: 29 Jul 2017 19:20
by bogdyro
GCM would be a great addition to AM. It would eliminate the need for clunky plug-ins like autoremote or AirTask (which doesn't even work). I don't know how time consuming it is to implement though, but I think it's a useful feature. What are your thoughts Martin?