SMB-XXXXX-XXXX-XXXX)sk-ant-...)curl -O https://smarthomeblox.com/kacy-setup.sh && sudo bash kacy-setup.sh
| # | Abfrage | Beispiel / Hinweis |
|---|---|---|
| 1 | Lizenzschlüssel | SMB-XXXXX-XXXX-XXXX |
| 2 | Anthropic API Key | sk-ant-... |
| 3 | Home Assistant URL | http://192.168.1.100:8123 |
| 4 | HA Long-Lived Token | aus Vorschritt |
| 5 | Alexa Media Gerät | alexa_media_wohnzimmer (opt.) |
| 6 | Telegram Bot Token | optional → Enter |
| 7 | Telegram Chat-ID | optional → Enter |
| 8 | Telegram User-ID | optional → Enter |
| 9 | Sprache | de oder en |
| 10 | Name des Eigentümers | Vorname des Kunden |
| 11 | Standort | z. B. Erkrath, Germany |
| 12 | Zeitzone | z. B. Europe/Berlin |
| Schritt | Was passiert |
|---|---|
| 1/7 | setup.sh gestartet |
| 2/7 | Kacy Brain von GitHub geladen |
| 3/7 | Python-Umgebung (venv) eingerichtet |
| 4/7 | Alias-Liste → Editor öffnet sich |
| 5/7 | HTTPS-Zertifikat + nginx |
| 6/7 | systemd-Services registriert & gestartet |
| 6,5/7 | RAG-Wissensdatenbank initialisiert |
| 7/7 | Cronjob Auto-Update (tägl. 3:00 Uhr) |
{
"wohnzimmerlicht": "switch.wohnzimmerlicht",
"rollo wohnzimmer": "cover.rolladen_wohnzimmer",
"heizung": "climate.thermostat_wohnzimmer"
}
Speichern: Strg+O → Enter | Beenden: Strg+X
Base URL (HTTP): http://192.168.x.x:8000/v1 Base URL (HTTPS): https://192.168.x.x:8443/v1 API Key: abc123def456... Model: kacy
Einstellungen → Integrationen → Extended OpenAI Conversation
| Feld | Wert |
|---|---|
| API Key | API Key aus Setup-Ausgabe |
| Base URL | https://192.168.x.x:8443/v1 |
| Modell | kacy |
Dann: HA Assist → Kacy als Konversationsagent setzen
sudo systemctl status kacy-server kacy-brain curl http://localhost:8000/health
{ "status": "ok", "ha_connected": true, "licensed": true }journalctl -u kacy-server -n 20 --no-pager | grep ALIAS
ALIAS-CHECK: Alle XX Aliases gültig.sudo systemctl restart kacy-server kacy-brain |
Services neu starten | nano ~/kacy/config.json |
Konfiguration bearbeiten |
journalctl -u kacy-server -f |
Live-Log | nano ~/kacy/aliases.json |
Aliases bearbeiten |
curl -k https://localhost:8443/health |
HTTPS-Check | bash ~/kacy/kacy_alert.sh kacy-server |
Telegram-Alert testen |
health-Output (licensed: true) + Alias-Check + IP-Adresse des Pi
→ pinfo@e.mail.de