Page 1 of 1

Google Talk vs Google Hangouts

PostPosted: Thu Aug 03, 2017 6:38 am
by Map63Vette
So I'm looking at setting up my new system with some notifications and trying to go the free route as much as possible for testing to make sure things are working the way I want. As it stands, that means either using email notifications or the Google Talk option. I would prefer the Google Talk route as the way I have my phone set up I would get a vibration and ring compared to my email (I don't like my phone going off every time I get a new email). This would alert me much quicker than seeing an email whenever I happen to check my phone. That being said, with Google Talk being shut down and transitioned to Hangouts, are there plans to switch over the notification system to use Hangouts or does it already effectively do that behind the scenes and the name is just legacy? As I understand it, a Google Talk message will deliver to someone on Hangouts, but I wasn't sure if the Google Talk server would eventually be shut down and this functionality would be lost. Any chance this can be updated to reference the Hangouts or whatever current Google chat service is available?

Re: Google Talk vs Google Hangouts

PostPosted: Thu Aug 03, 2017 5:38 pm
by kevin
As far as I am aware it just works... if the API were to change, we would issue an update.

Re: Google Talk vs Google Hangouts

PostPosted: Sat Aug 05, 2017 4:40 pm
by Map63Vette
So as a follow up on this, I got the webapp running and am trying to configure some notifications and this one doesn't appear to be working. I have an email one that works fine though. For the Google Talk one, I assume that both the source and destination addresses are Gmail addresses? I have an existing account and created a new one specifically for my AlarmDecoder install. The email notification works well with this, but the Google Talk notification does not appear to do anything. It says the test was successful, but I"m not seeing any chat messages come through on Hangouts. Am I interpreting the addresses correctly or is this functionality different than I have in mind?

Re: Google Talk vs Google Hangouts

PostPosted: Sat Aug 05, 2017 9:19 pm
by kevin
I will put this on the list to revisit, thanks

Re: Google Talk vs Google Hangouts

PostPosted: Mon Aug 07, 2017 10:04 am
by kevin
We will be removing support for google integration. Google Talk is deprecated, Google Hangouts has no API that we can use for our use case. XMPP is no longer available - this feature is deprecated and will be removed from the webapp.

Re: Google Talk vs Google Hangouts

PostPosted: Mon Aug 07, 2017 11:57 am
by Map63Vette
Would this be an option that could be integrated https://developers.google.com/cloud-messaging/gcm? Sounds like it supports XMPP and could maybe function in a similar manner.

Re: Google Talk vs Google Hangouts

PostPosted: Mon Aug 07, 2017 6:29 pm
by kevin
It is now Firebase https://firebase.google.com/docs/cloud-messaging/ - and it is possible, but notifications are not on our roadmap at this point. If you want to do a pull request and add the feature you are more than welcome to - yay open source software!

Should be fairly trivial really https://github.com/olucurious/PyFCM

Re: Google Talk vs Google Hangouts

PostPosted: Tue Aug 08, 2017 7:17 am
by Map63Vette
Okay. I have a friend in the software business, so I think I might be able to get some help from him to get something going. Just wanted to double check regarding what had already been developed to make sure I was trying to use it right before going down a different path. Thanks!