# TOOLS.md - Local Notes

Skills define *how* tools work. This file is for *your* specifics — the stuff that's unique to your setup.

## Fred's Homelab Infrastructure

### Network
- Main Network: 10.0.10.0/24
- VPN: WireGuard tunnel at 10.0.9.0/24
  - VPS WireGuard IP: 10.0.9.1 (51.222.12.162 - vps.nianticbooks.com)
  - UCG Ultra WireGuard IP: 10.0.9.2 (WireGuard client mode)
- VPS: 51.222.12.162 (vps.nianticbooks.com) running Caddy reverse proxy
  - Handles: *.nianticbooks.com and *.deadeyeg4ming.vip

### Proxmox Hosts
- Main Proxmox host: 10.0.10.3 (main-pve)
- HP DL380: Proxmox host running my container

### Key Services (LXC Containers)
- Home Assistant: 10.0.10.24 - Smart home automation
- n8n: 10.0.10.22 (CT 106) - Workflow automation
- Uptime Kuma: 10.0.10.26 (CT 128) - Service monitoring
- OpenClaw Gateway: 10.0.10.28 (CT 130) - AI agent coordination (that's me!)
  - Running as LXC container on HP DL380
  - No sound card/audio output on this container
- Step-CA: 10.0.10.15 (CT 115) - Internal certificate authority

### Paired Nodes
- **Fred's iMac**: 10.0.10.11 - OpenClaw desktop app node
  - Provides: Camera, screen recording, canvas display, notifications
  - Potential audio output for TTS
  - Near Fred but screen visibility limited
  - **Known Issue:** `nodes screen_record` fails with "The operation could not be completed" (OpenClaw 2026.2.1 bug)
  - **Workaround:** Use native `screencapture` command instead:
    ```bash
    # Record 3 seconds of screen
    screencapture -T 3 -V 3 /tmp/screen-recording.mp4
    ```

### Current Projects
- Homelab infrastructure management
- 3D printing projects
- Android head unit/carputer for truck

## Location
- Weather location: Niantic, IL 62551

## Tasks & Organization
- Wants to use Apple Reminders/Tasks on iPhone
- Need to explore integration options

## n8n Workflow Automation

**Instance:** http://10.0.10.22:5678  
**API Key:** `eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI1ZTVjZTQ2Zi1iNmUyLTQyMGEtYmUzMC1iYzQzYThlMDA1YjMiLCJpc3MiOiJuOG4iLCJhdWQiOiJwdWJsaWMtYXBpIiwiaWF0IjoxNzcwMDk3NDEwfQ.7NBimIPNlVH_Jif-3FU-9MSPfPUP1ILSznKGR1JzpE8`  
**User:** OpenClaw (API access granted Feb 3, 2026)

**Active Workflows:**
- Prometheus alerts → Discord/Email/Pushover
- Backup verification (daily @ 6 AM)
- SSL certificate expiration monitor
- Service health monitor (every 5 min via Uptime Kuma)
- Task overdue alerts (every 4 hours)
- Uptime Kuma webhook → alerts

**API Usage:**
```bash
# List all workflows
curl -H "X-N8N-API-KEY: <key>" http://10.0.10.22:5678/api/v1/workflows

# Get specific workflow
curl -H "X-N8N-API-KEY: <key>" http://10.0.10.22:5678/api/v1/workflows/{id}

# Trigger workflow
curl -X POST -H "X-N8N-API-KEY: <key>" http://10.0.10.22:5678/api/v1/workflows/{id}/execute
```

---

Add whatever helps you do your job. This is your cheat sheet.
