Comments (10)
What do you get at https://myactivity.google.com/myactivity when you issue the command?
from google_assistant_sdk_custom.
Hi
I have the same scenario - I get prompted to set up Voice Match, but it's already set up, so there's nothing further I can do.
Here's the output from My Activity.
Said [is my car charging]
For that, I'll need to verify your identity through voice match.
To set it up, follow the steps I've sent to your phone.
Our last update from Polestar was 2 hr ago. At that point your vehicle was plugged in but not charging.
Weirdly, the answer is actually there, but doesn't make it back to Home Assistant.
Here's the debug output from HASS:-
Logger: homeassistant.components.automation.query_polestar_soc
Source: components/google_assistant_sdk/helpers2.py:15
Integration: Automation (documentation, issues)
First occurred: 18:00:22 (6 occurrences)
Last logged: 18:05:51
Query Polestar SoC: Choose at step 1: choice 1: Error executing script. Unexpected error for call_service at pos 1: object of type 'NoneType' has no len()
Query Polestar SoC: Error executing script. Unexpected error for choose at pos 1: object of type 'NoneType' has no len()
While executing automation automation.query_polestar_soc
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 451, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 684, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1808, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1845, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/components/google_assistant_sdk/__init__.py", line 117, in send_text_command
await async_send_text_commands(hass, commands, media_players)
File "/usr/src/homeassistant/homeassistant/components/google_assistant_sdk/helpers.py", line 74, in async_send_text_commands
text_response = parse_response(hass, command, resp)
File "/usr/src/homeassistant/homeassistant/components/google_assistant_sdk/helpers2.py", line 15, in parse_response
html = BeautifulSoup(resp[1], "html.parser")
File "/usr/local/lib/python3.10/site-packages/bs4/__init__.py", line 313, in __init__
elif len(markup) <= 256 and (
TypeError: object of type 'NoneType' has no len()
from google_assistant_sdk_custom.
What do you get at https://myactivity.google.com/myactivity when you issue the command?
Same error as @stevelup in my activity log.
from google_assistant_sdk_custom.
Maybe it would work if you enable personal results? You would have to manually apply changes in home-assistant/core#88871 and follow instructions in home-assistant/home-assistant.io#26390
It might be easier to experiment with the underlying library at https://github.com/tronikos/gassist_text by running the included demo.py
from google_assistant_sdk_custom.
The latest release v0.0.6, which requires 2023.7, enables personal results. Can you try the command again?
from google_assistant_sdk_custom.
Hi
I'm struggling to get personal results working. Home Assistant is on 2023.7.1 and your custom integration has been reinstalled - v0.0.6 - but I'm still getting the same thing.
For that, I'll need to verify your identity through voice match.
To set it up, follow the steps I've sent to your phone.
I can't actually find the debug logging for the integration any more either - not sure what I'm doing wrong...
from google_assistant_sdk_custom.
Does "what is my name?" work? If it does and you still get the same error then enabling personal results won't help for car queries.
from google_assistant_sdk_custom.
Yes, sorry I wasn't clear. That is the response to 'what is my name'.
I'll spend some more time on it tomorrow.
from google_assistant_sdk_custom.
The notification in the mobile doesn't open any applicaiton, it just show a quick black screen and nothing more. Using a OnePlus 9 pro.
from google_assistant_sdk_custom.
Added a note in the underlying library "Commands that need to verify your identity through voice match don't work"
from google_assistant_sdk_custom.
Related Issues (20)
- Possible issue with multiple listeners HOT 1
- [Request] 'request:' to be able to parse variables HOT 4
- No longer loading after most recent HA update HOT 6
- Failed to apply patch :( since ha 2023.7 HOT 2
- Delete HOT 1
- Specific device actions HOT 1
- Allow personal answers notification disappears after tapping in Android HOT 5
- Parsed tekst is not propery handeld for speech assistant HOT 1
- Failed to apply patch :( since 2023.9 HOT 1
- There are still cases in which the response is not valid. HOT 4
- Event not triggering and response text is null HOT 2
- Does not work since the update from 2023.10.5 to 2023.11.0b0 HOT 1
- Action which requires Voice Match HOT 1
- Unable to run google-oauthlib-tool HOT 2
- Error setting up entry Google Assistant SDK Custom for google_assistant_sdk_custom HOT 8
- Unable to set device name HOT 7
- event_type changed HOT 1
- Web Scraping? HOT 1
- Access blocked: This app’s request is invalid HOT 8
- Stuck, can't edit incorrect config HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google_assistant_sdk_custom.