4.2 KiB
4.2 KiB
2026-01-28
Home Assistant Skill Created
- Built
skills/home-assistant/SKILL.mdwith REST API documentation - Created helper scripts (
scripts/ha-api.sh) for quick commands - Added references with common command examples
Network Architecture Discovery
- Clawdbot runs through Google Cloud infrastructure (exit IP: 216.73.144.16)
- Tested firewall blocking from Corey's PC - blocks visibility but not actual connectivity
- Privacy note: HA entity states pass through Google's infrastructure during API calls
- Local tailnet access (192.168.0.39) works directly; external APIs route through cloud
HA Sensor Audit
- Total sensors found: ~300 entities
- Categories: environmental, energy monitors, device trackers, presence, lights, air purifiers, thermostats, media, utility, security
Battery Status Check (Door/Motion Sensors)
- CRITICAL:
sensor.hue_motion_sensor_3_battery(Master Hallway) at 1% - Front Door (Ring): 100%
- Hue Motion Sensor 2 (Kitchen): 100%
- Guest Bath Motion: 91%
- Office Motion: 76%
- Motion Sensor Battery state: unavailable (broken entity)
- Entity names to verify: pantry_door, garage_entrance_door, office_door, master_closet_door, shower_door, master_bath_motion, master_pooper
Frigate Fix (NVIDIA GPU Decoder)
- Problem:
Cannot load libnvcuvid.so.1, Frigate cameras crashing - Root cause: Missing NVIDIA decode library for TensorRT
- Attempted fix: Install
libnvidia-decode-580-serverpackage, rebooted - Status: STILL BROKEN - Will start fresh installation tomorrow
Voice Assistant - Local AI Replacement for Alexa
-
Stack working:
- Wake Word: HA Voice Preview Edition built-in
- STT: Whisper (local, verify not cloud)
- LLM: Ollama + minimax-m2.1 (270b parameters, local)
- TTS: Needs Piper or Qwen3-TTS (currently cloud TTS - slow)
- Control: Lights, climate, media all working
-
System Prompt (for Ollama conversation agent):
You are a helpful smart home assistant for a Home Assistant installation.
- Control smart home devices (lights, climate, media, etc.)
- Keep responses SHORT — 1-2 sentences for voice
- Confirm actions: "Turned on the living room lights"
- Don't discuss pricing or external products
- Optimization needed:
- STT latency (Whisper model size - try 'base' model for speed)
- Switch TTS to local Piper or Qwen3-TTS
Room Presence with Pi Zeros (Bluetooth Tracking)
-
Project files created:
room-assistant-config.yml- Base config templatesetup-room-assistant.sh- Automated install scriptROOM_ASSISTANT_SETUP.md- Full documentation
-
What it does:
- Pi Zero W BLE scans for known phones
- Reports to HA via MQTT
- Creates device_tracker entities per room
- Multi-Pi setup gives room-level presence
-
Setup workflow:
- Flash Pi OS Lite to SD card
- Enable SSH + WiFi via Pi Imager
- Copy config files to Pi
- Run
sudo ./setup-room-assistant.sh - Script prompts for: room name, MQTT creds, phone MACs
-
Phone MAC discovery:
- iPhone: Settings → About → Bluetooth
- Android: Settings → About Phone → Status → Bluetooth address
-
Key config values:
rssiThreshold: -70(adjust closer/farther detection)trackOnlyKnown: true(only tracks listed devices)
Brave Search API
- API Key: BSAVjWnVKGI5ZeU-mEBirztyCDmHhcI (Corey's account)
- Configured via system environment variable (needs Clawdbot restart)
- Used for web research when needed
Action Items
- Replace battery in Master Hallway motion sensor (1% level) - remind Corey when heading home
- Verify Whisper STT is local (not cloud) for voice assistant
- Add Piper or Qwen3-TTS for local TTS (faster voice response)
- Flash Pi SD cards for room presence project
- Find phone MAC addresses for room-assistant config
Files Created This Session
skills/home-assistant/- HA skill documentationskills/home-assistant/scripts/ha-api.sh- API helper scriptskills/home-assistant/references/commands.md- Quick referenceopenwakeword-mqtt.py- Openwakeword to MQTT publisher (not needed with VPE)room-assistant-config.yml- BLE presence config templatesetup-room-assistant.sh- Automated Pi setup scriptROOM_ASSISTANT_SETUP.md- Complete setup documentation