ha-google-home: No sensors created - SSL handshake failure

This might be similar to #100, but since the error message differs I’ve created a new issue for this.

Version of the custom_component

1.0.0

Configuration

via integrations panel in UI.

Describe the bug

No sensors are created after setting up the integration and rebooting a few times.

Debug log

Logger: custom_components.google_home
Source: helpers/update_coordinator.py:160
Integration: Google Home (documentation, issues)
First occurred: 12:53:12 (8 occurrences)
Last logged: 13:01:03

Error requesting sensor data: Cannot connect to host 192.168.2.201:8443 ssl:default [[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1125)]

The issue stays after reboot, sensors are not created. I’ve installed the latest version of this integration via HACS on a Raspberry Pi 3b.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21 (4 by maintainers)

Most upvoted comments

I too can confirm that reinstalling the master version from this repository does fix the problem; after adding the integration it shows all the discovered Google Homes and Chromecasts. Great!

@Duncank, @dennyreiter, there is now a new release of the integration. Please upgrade to 1.0.1 using HACS.

@DurgNomis-drol thanks for explaining, didn’t know that that existed! For anyone finding this; once an integration is installed in HACS, you can press the menu button in the bottom right of the integration card and select ‘reinstall’. In the window that appears you can choose a specific version, including ‘master’.

@leikoilja Thanks 😉 Take your time! I’m really happy with the state of the integration already, so no rush from my side 😄

@Duncank, @dennyreiter just give us another day or so, will release a new version of the integration later tonight or latest tomorrow that will include these fixes, so you will be able to simply update from HACS store 😃 I ll ping you guys here once it’s done

@DurgNomis-drol Can you elaborate on how to install the latest master through HACS? I don’t see any options of selecting a version to install, and can’t add it as a custom repo since it is in the HACS store already. While awaiting the next release, I’ve removed the integration in HACS and downloaded the files from here, but the HACS way is easier usually.

I’m not sure if this should be a separate issue or not, so I’ll put it here to start. I have a Vizio television with Smartcast which this integration is picking up as a google device. It logs the error:

[custom_components.google_home] Request error: Cannot connect to host 192.168.0.142:8443 ssl:default [[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1108)]

I did not have any sensors listed until I unplugged the television, which seemed to make it continue to the other devices, but now that it is plugged back in, it continues to log the error. I just started digging into it, but I wonder if there is a way to determinewhat type of device it is before trying to grab the sensors.

Thanks for this integration though, I like it!

Awesome! 💥 Thank you, @DurgNomis-drol for fixing it 🥳

We’ll do a new release in a next day or so, please make sure to update to the latest version when HACS shows you the available option to update 💥😉

Good thanks, I think i know why this problem exists now and will implement a fix soon 😄