I had the same issue.
I carried on reading the page : https://developers.google.com/assistant/sdk/guides/library/python/embed/run-sample under the heading "Find the device instance ID" it seems my device was not registered.
So I manually registered the device from the pi with the help page here:
https://developers.google.com/assistant/sdk/reference/device-registration/device-tool#register-device.
(env) pi@raspberrypi:~ $ googlesamples-assistant-devicetool --project-id YOUR_DEVICE_ID register-device --device 4D609xxxxxxxxxxxxxxxxxxx --model YOUR_MODEL_ID --client-type SERVICE
Creating new device
Error: Failed to register device: 403
Google Assistant API has not been used in project 5739xxxxxxxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/embeddedassistant.googleapis.com/overview?project=5739xxxxxxxx then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
So I followed the link and enabled the API under my google account, and retried.
(env) pi@raspberrypi:~ $ googlesamples-assistant-devicetool --project-id YOUR-PROJECT-ID register-device --device 4D60xxxxxxxxxxxxxxx --model YOUR_MODEL_ID --client-type SERVICE
Creating new device
Device instance 4D60xxxxxxxxx successfully registered
Now it works ok.
googlesamples-assistant-devicetool
to remove and register my devices.) I believe that the devicetool is working because I could register a new device or delete an existing device and see the changes on the device registration page. I triedgooglesamples-assistant-hotword
andgoogle-assistant-demo
and both are giving meSegmentation Fault
without further information. – PerutzWhen you run the sample the first time, it will generate a device instance for your particular device.
But after I rangooglesamples-assistant-hotword
and then usedgooglesamples-assistant-devicetool --project-id my-prj-id list --device
, there was no device instance created. I manually created one but still got the seg fault. – Perutz