A voice-activated smart assistant for Raspberry Pi, with camera streaming and remote monitoring.
YooZi consists of three software components and a 3D-printable enclosure:
| Component | Description |
|---|---|
| agent | C++ voice assistant with wake-word activation, ASR/TTS, and tool calling |
| camera-stream | HTTP camera streaming service (MJPEG) |
| monitor-app | Flutter app for remote camera monitoring |
sudo apt install libasound2-dev libcurl4-openssl-dev cmake build-essential pkg-config libwebsockets-devcd software/agent
mkdir -p build && cd build
cmake ..
makeexport ZHIPU_API_KEY="your_api_key"
export ALIBABA_NLS_APPKEY="your_appkey"
export ALIBABA_NLS_TOKEN="your_token"
./yoozi| Variable | Required | Description |
|---|---|---|
ZHIPU_API_KEY |
Yes | Zhipu GLM API key |
ALIBABA_NLS_APPKEY |
Yes | Alibaba Cloud NLS app key |
ALIBABA_NLS_TOKEN |
Yes | Alibaba Cloud NLS token |
CAMERA_STREAM_URL |
No | Camera service URL (default: http://127.0.0.1:8080) |
- Wake: "你好柚子" / "柚子"
- Sleep: "退下" / "滚吧" / "你下去吧" / "下去吧"
sudo apt install cmake build-essential libopencv-devcd software/camera-stream
mkdir -p build && cd build
cmake ..
make# With libcamera V4L2 compatibility (recommended for Raspberry Pi CSI cameras)
./start.sh --port 8080 --width 640 --height 480
# Or direct execution
./camera-stream --port 8080 --device /dev/video0| Endpoint | Description |
|---|---|
GET / |
JSON status |
GET /snapshot |
Single JPEG frame |
GET /stream |
MJPEG multipart stream |
A Flutter mobile app for viewing the camera stream remotely.
- Flutter SDK >= 3.0
cd software/monitor-app
flutter pub get
flutter run- Enter the IP address and port of the camera-stream service
- Tap Connect to start viewing
- Use the fullscreen button for immersive viewing
- Auto-reconnects on connection loss
3D-printable enclosure files located in the hardware/ directory:
| File | Description |
|---|---|
main_frame.3mf |
Main body frame |
top_cover.3mf |
Top cover |
bottom_cover.3mf |
Bottom cover |
back_cover.3mf |
Back cover |
left_handle.3mf |
Left handle |
right_handle.3mf |
Right handle |
MIT License © 2026 班小吉