- Introduced `rpi-config.toml` for Raspberry Pi configuration settings. - Created `zeroclaw.service` for systemd service management of ZeroClaw on Raspberry Pi. - Implemented hardware context management endpoints in `hardware_context.rs` for GPIO pin registration and context appending. - Added new tools for GPIO operations: `gpio_rpi_write`, `gpio_rpi_read`, `gpio_rpi_blink`, and `rpi_system_info`. - Enhanced hardware boot process to include Raspberry Pi self-discovery and tool registration. - Developed `rpi.rs` for Raspberry Pi model detection and system context information.
22 lines
479 B
Desktop File
22 lines
479 B
Desktop File
[Unit]
|
|
Description=ZeroClaw AI Hardware Agent
|
|
Documentation=https://github.com/zeroclaw/zeroclaw
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=pi
|
|
WorkingDirectory=/home/pi/zeroclaw
|
|
ExecStart=/home/pi/zeroclaw/zeroclaw gateway --host 0.0.0.0 --port 8080
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
EnvironmentFile=/home/pi/zeroclaw/.env
|
|
Environment=RUST_LOG=info
|
|
|
|
# Expand ~ in config path
|
|
Environment=HOME=/home/pi
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|