Open damian00716 opened 4 years ago
The device Id must match the registered device model ID.
What should I do exactly?
The command googlesamples-assistant-pushtotalk
normally works for me and the assistant answers the questions.
Follow the guide on registering device models and IDs.
Follow the guide on registering device models and IDs.
I did everything from the beginning. I still have the same problem.
Still nothing is happening, and I still need to enter the device id to file.
I have the same problem idk what to do
@damian00716 Did you solve it?
I have a problem with the on / off action configuration from the guide from Google (https://developers.google.com/assistant/sdk/guides/service/python/extend/handle-device-commands).
The assistant works on the button and I did everything according to the guide, but after running "python pushtotalk.py" an error appears
(env) pi@raspberrypi:~/assistant-sdk-python/google-assistant-sdk/googlesamples/assistant/grpc $ python pushtotalk.py Traceback (most recent call last): File "pushtotalk.py", line 423, in <module> device_handler = device_helpers.DeviceRequestHandler(device_id) NameError: name 'device_id' is not defined
but when I add the device_id = 'id' line to pushtotalk.py, no error occurs, but nothing else happens.
Can someone help me?