Updated! How to Install Wire-Pod on Raspberry Pi!!! Full Walk-Through!

Опубликовано: 10 Октябрь 2024
на канале: Robots, Drones, Electronics, 3D Printing, Jeeps ++
4,783
240

This video is a full walk-through to get Vector back up and running on a Wire-Pod Server running on a Raspberry Pi 3B or higher. This video includes resetting the Vector and getting everything setup properly. Watch the "How to Install Chat GPT on Wire-Pod"    • How to Install Chat GPT on Vector!!!   and "How to Install Weather API on Wire-Pod"    • How to Install Weather API on Wire-Po...   in this playlist to add intelligence to Vector after this setup is complete. Please like and subscribe. I try to answer any questions in the comments as quickly as possible. Thank you for watching!

Links to Raspberry Pi - Model 3B - https://amzn.to/46GSdN7
Model 4 - https://amzn.to/47rhuf8


https://github.com/kercre123/wire-pod...

Installing wire-pod
wire-pod supports most Linux distributions and Windows 10/11 (with WSL). Follow one of the following guides, then continue on to "Authenticate the bot with wire-pod".

Guide 1: Linux/Raspberry Pi
1. On the device you would like to install wire-pod on, open a Terminal application

2. Install git via your package manager. On Debian/Ubuntu/Raspberry Pi OS, the command would be

sudo apt install -y git.

3. Clone the directory with the following commands.

cd ~
git clone https://github.com/kercre123/wire-pod --depth=1

4. Run setup.sh.

cd ~/wire-pod
sudo STT=vosk ./setup.sh
(If you want to choose a different STT service, use just sudo ./setup.sh)

5. Start wire-pod with the following command:

sudo ./chipper/start.sh

It should show a log similar to the following.

Initializing variables
SDK info path: /home/kerigan/.anki_vector/
API config JSON created
Initiating vosk voice processor with language
Loading plugins
Wire-pod is not setup. Use the webserver at port 8080 to set up wire-pod.
Starting webserver at port 8080 (http://localhost:8080)
Starting SDK app
Starting server at port 80 for connCheck
Configuration page: http://192.168.1.221:8080


6. With a device on the same network as wire-pod, open a browser and head to the configuration page. In the case of the above log, http://192.168.1.221:8080. In that page, follow the instructions. Wire-pod should then be set up!

7. If you want to make wire-pod run in the background (as a daemon), run the following commands (press CTRL+C to stop wire-pod if you are running it):

sudo ./setup.sh daemon-enable
sudo systemctl start wire-pod


8. If you have an OSKR or dev bot, you can set them up with wire-pod via the web configuration interface. In the "Bot Setup" section, look for "Set up OSKR/dev bot", enter the bot's IP address, upload the key, then press set up.

-Vector will end up a the blinking V on screen. This is normal. User data was NOT cleared, your bot was just returned to the onboarding status.
-AFTER YOU HAVE DONE THIS, use vector-wirepod-setup to finish setting up the bot.

9. If you are going the production-bot route and you would like to set up with wire-pod, run the following commands in a Terminal application:

Don't do this if you are here from the Windows guide
sudo hostnamectl set-hostname escapepod
sudo systemctl restart avahi-daemon
sudo systemctl enable avahi-daemon

10. Continue on to "Authenticate the bot with wire-pod"