AIY Auto Start

https://github.com/carolinedunn/Google-Home-RPi-AutoBoot

To Auto-Boot into Google Home:
Open a Terminal on the Raspberry Pi Desktop.
Create a service file. Type:
sudo nano /etc/systemd/system/assist.service
Copy and paste all text in the assist.service file included in this repository.
[Unit]
Description=Assist @ reboot

[Service]
Environment=XDG_RUNTIME_DIR=/run/user/1000
ExecStart=/home/pi/AIY-projects-python/src/examples/voice/main.py
Restart=always
User=pi
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=assist

[Install]
WantedBy=multi-user.target
Control-X to exit, and Y to save. Press Enter to complete the save.
Next, copy your assistant demo to pi folder
cd ~/AIY-projects-python/src/examples/voice
cp assistant_library_demo.py main.py
Enable it (for next boot) by typing in the terminal:
sudo systemctl enable assist.service
Start it by typing:
sudo systemctl start assist.service
Reboot your Raspberry Pi

Comments

Popular posts from this blog

Extracting and using a modified VMWare Player BIOS or UEFI firmware

Activate Synology Active Backup for Business for DSM 6

Windows 11 internet/account bypass