Experimental web platform features
, then relaunch ChromePut your Vector on the charger and hold the button for 15 seconds. The light will turn off after ~5 seconds, that is normal. Just keep holding until he turns back on (This is not the same as clearing user data. Do NOT clear user data).
He should be at a screen that shows anki.com/v
. On a computer with Bluetooth support (preferably Windows or macOS), go to https://keriganc.com/vector-epod-setup in Chrome or Edge and follow the instructions. The download may take a few minutes to start.
Wait for that to finish. Once he has rebooted, continue on to the next set of instructions.
wire-pod can be setup either on a Raspberry Pi, pretty much any Linux desktop, or on Windows 10/11 via WSL.
Only do one of the following sets of instructions.
After you have followed one of the installation instructions, continue on to "Finish setting up the bot".
Download and install Raspberry Pi Imager, insert a micro-SD card into your computer/into a reader
Follow along with this video. This is an example of how I would set it up for my network/liking. The only things you should change are the user password (located under pi
, change it to anything you want and make sure you remember it) and the network information (you should put your network name instead of AnkiRobits
, your network password instead of KlaatuBaradaNikto!
)
Insert the SD card into your Pi, wait a few minutes for it to boot up
On your computer, open up a Terminal (or Powershell on Windows) and run the following command:
ssh pi@escapepod
If it gives you a prompt, enter yes
. Then enter in the user password you chose in Raspberry Pi Imager (under pi
)
The terminal should show pi@escapepod ~ $
. If you are there, run the following command:
wget -O - https://keriganc.com/setup-wire-pod.sh | bash
After that completes, open a browser and go to http://escapepod:8080. From there, click on "Set up wire-pod" and do as it says. You do not need to do the part at the bottom where it says Choose file
, that is reserved for OSKR/dev bots.
Voice commands should now work!
(Your distribution must have either pacman, dnf, or apt, make sure you have ports 443 and 8080 open)
wget -O - https://keriganc.com/setup-wire-pod.sh | bash
(if it asks for a password, enter it)
Set up wire-pod (API keys, STT service, etc)
. From there, follow the instructions. It should then be set up.TODO: tutorial video
Open up Powershell as administrator
Enter the following commands (this will change your computer's name to escapepod
):
Rename-Computer -NewName "escapepod"
wsl --install
Reboot your computer.
After the reboot, Ubuntu should install. Wait for it to finish.
The Ubuntu installer should ask for a UNIX username. Enter one. example: wire
It should then ask for a UNIX password. Make sure you remember this! It will not show any indication that you are typing anything, that is normal.
You should now be at an Ubuntu terminal. In that terminal, run the following command:
sudo apt install net-tools
Open up Powershell as administrator
In Powershell, run the following command. When it asks for a confirmation, enter Y
.
Set-ExecutionPolicy Bypass
cd ~
curl -o wsl-firewall.ps1 https://keriganc.com/wsl-firewall.ps1
.\wsl-firewall.ps1
wget -O - https://keriganc.com/setup-wire-pod.sh | bash
(if it asks for a password, enter what you entered for the UNIX password earlier)
cd ~/wire-prod-pod
sudo ./chipper/start.sh
Set up wire-pod (API keys, STT service, etc)
. From there, follow the instructions. It should then be set up and voice commands should now work on Vector.(NOTE: You have to keep the Ubuntu terminal open. If you ever reboot, you will have to open Ubuntu again and enter the following commands to start the voice server, because it does not start on system startup:)
cd ~/wire-prod-pod
sudo ./chipper/start.sh
On a device with Bluetooth (can be the same machine as what wire-prod-pod is running on), go to vector-epod-setup and follow the instructions.
When it gets to a button showing "ACTIVATE", click it. If it shows up again, click on it again.
Enter user settings and press "SUBMIT". Vector should then be fully set up!
Wire-pod auto-updates once a day. To force an update, run the following commands:
cd ~/wire-prod-pod
sudo ./update.sh
Chipper hosts a web interface at port 8080. This can be used to create custom intents and to configure specific bots.
To get to it, open a browser and go to http://serverip:8080
, replacing serverip with the IP address of the machine running the chipper server. If you are running the browser on the machine running chipper, you can go to http://localhost:8080
vlight.py
. It should be launched with the off
variable because the lights are being turned off. This script turns the lights off and connects to Vector so he says "The lights are off!". You have multiple bots registered with the SDK so a serial number must be specified. After the SDK program is complete, chipper should send intent_greeting_goodnight
. The following screenshot is a correct configuration for this case. The Add intent
button would be pressed after everything is put in.!botSerial
is put into the program arguments, chipper will substitute it for the serial number of the bot that is making a request to it.)OS Support:
Architecture support:
Things wire-prod-pod has worked on:
General notes:
panic: runtime error: invalid memory address or nil pointer dereference
Current implemented actions:
Messaging
feature in webViz Features tabMessaging
feature in webViz Features tab