Notify: Cannot find conversation_id google hangouts integration

I’ve successfully installed the Google Hangouts integration through the front end, had to manually enter the authorization code, but it seems to look like it registered just fine. Going over the Google Hangouts docs, though, I am completely unable to find the conversation_id. The docs say to go to developer options, states, and find “hangouts.conversations” entity. Problem is I cannot find that entity as it does not exist. Is it possible this feature is deprecated?

Edit: Log attached

Seems like no matter how many times I delete the integration and provide a new authorization code I’m still not authorized. Additionally, I’ve completely lost hangouts.reconnect under services. Hoping someone can shed some light.

1 Like

The 401: Unauthorized I’m getting too since a few weeks. It did work before, I did not change anything, suddenly it does not work anymore.

I switched to PushOver which works fine but I believe Hangouts integration might be
deprecated. Just leaving this here for the devs.

Appears that hangouts is no longer working. New oath codes no longer work.

Same here, was working for me until 10 Sep. Rebooting, and deleting and re-adding the integration does not seem to make a difference. Logs show the same error as others:

Exception in async_handle_update_users_and_conversations when dispatching 'hangouts_connected': () Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/hangouts/hangouts_bot.py", line 341, in async_handle_update_users_and_conversations await self._async_list_conversations() File "/usr/src/homeassistant/homeassistant/components/hangouts/hangouts_bot.py", line 310, in _async_list_conversations ) = await hangups.build_user_conversation_list(self._client) File "/usr/local/lib/python3.8/site-packages/hangups/conversation.py", line 30, in build_user_conversation_list conv_states, sync_timestamp = await _sync_all_conversations(client) File "/usr/local/lib/python3.8/site-packages/hangups/conversation.py", line 98, in _sync_all_conversations request_header=client.get_request_header(), AttributeError: 'NoneType' object has no attribute 'get_request_header'
Exception in async_handle_update_users_and_conversations when dispatching 'hangouts_connected': () Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/hangouts/hangouts_bot.py", line 341, in async_handle_update_users_and_conversations await self._async_list_conversations() File "/usr/src/homeassistant/homeassistant/components/hangouts/hangouts_bot.py", line 310, in _async_list_conversations ) = await hangups.build_user_conversation_list(self._client) File "/usr/local/lib/python3.8/site-packages/hangups/conversation.py", line 30, in build_user_conversation_list conv_states, sync_timestamp = await _sync_all_conversations(client) File "/usr/local/lib/python3.8/site-packages/hangups/conversation.py", line 110, in _sync_all_conversations response = await client.sync_recent_conversations(request) File "/usr/local/lib/python3.8/site-packages/hangups/client.py", line 672, in sync_recent_conversations await self._pb_request('conversations/syncrecentconversations', File "/usr/local/lib/python3.8/site-packages/hangups/client.py", line 413, in _pb_request res = await self._base_request( File "/usr/local/lib/python3.8/site-packages/hangups/client.py", line 469, in _base_request res = await self._session.fetch( File "/usr/local/lib/python3.8/site-packages/hangups/http_utils.py", line 86, in fetch raise exceptions.NetworkError( hangups.exceptions.NetworkError: Request return unexpected status: 401: Unauthorized

Edit: Filed a bug just in case there is someone who is willing to investigate it.

2 Likes

Same issue here. Of course this fails when I am gone on vacation! I didn’t receive any notifications while I was gone. I thought it was a bit suspicious. Hangouts was great. I hope this can be fixed… Would be annoying to have to switch to something else.

It is fixed in 0.115.2 :slight_smile:

1 Like