Hi on my old raspberry pi 3b with raspbian stretch i installed the old google assistant sdk with :
-
http://wiki.seeedstudio.com/ReSpeaker_2_Mics_Pi_HAT/
- <LINK_TEXT text=“https://developers.google.com/assistant … ry/python/”>https://developers.google.com/assistant/sdk/guides/library/python/</LINK_TEXT>
I started the google assistant with the google-assistant-demo script.
But the old google assistant library is depreciated so i installed a fresh version on my rpi 3b.
I cleaned my rpi and installed:
- the latest image buster from raspberry pi org - and
- i followed the latest google assistant procedure <LINK_TEXT text=“https://developers.google.com/assistant … ce/python/”>https://developers.google.com/assistant/sdk/guides/service/python/</LINK_TEXT>
what i missed after installation is my the google-assistant-demo script.
In my previous/old configuration i had the following bash script /home/pi/google-assistant.sh with
#!/bin/bash
source /home/pi/env/bin/activate
/home/pi/env/bin/google-assistant-demo
and a file /etc/systemd/system/google-assistant.service with:
[Unit]
Description=Google Assistant
[Service]
ExecStart=/bin/bash -c ‘/home/pi/google-assistant.sh’
Restart=always
User=pi
[Install]
WantedBy=multi-user.target
i installed the service with sudo systemctl enable google-assistant.service.
i could start and stop this google service
questions:
- How can i start the latest google assistant sdk as a service and put it on or off ?
- how do i install my ReSpeaker_2_Mics_Pi_HAT on the latest software Buster / google assistant service?