NabuCasa / home-assistant-google-assistant-local-sdk

Google Assistant Local SDK implementation for Home Assistant
GNU General Public License v3.0
99 stars 12 forks source link

Unable to find HASS connection info. #7

Closed Weissnix4711 closed 2 years ago

Weissnix4711 commented 3 years ago

See screenshot.

Same error as #2, but device[] array has items in it.

Screenshot from 2021-01-03 14-33-46

I do also notice that devices[whatev].customData is empty. Should this be? I thought here should be webhook details for each device? Anyways, uuid and baseUrl are correct in inputs[0].payload.device.mdnsScanData.txt and .data. Weird. Is this related to the Unable to find HASS connection info error?

Screenshot from 2021-01-03 14-42-43

craigcabrey commented 2 years ago

I just ran into this. After digging through source code for a bit, there are two prerequisites for using this: enable the local API & turn off SSL. Once I did that (and ensured that the mDNS response was correct), everything started working.

sameeraman commented 2 years ago

@craigcabrey I have this same error. customData is Empty. mDNSScanData is discovered properly. I have turned off SSL. How did you enable local API ?

balloob commented 2 years ago

Closing this as this is not an issue related to this JS.