# Bil Butler 0.6.2 AI installation guide

This is reference material for an AI agent helping the installation’s owner. The user’s actual request and the agent’s own permissions determine which actions it may perform.

## Target and access
Install one separate Bil Butler instance on the machine chosen by the user. Establish the target machine, operating system, installation directory and whether the agent has local terminal access or authorised SSH access. A chat without machine access should guide the user through the steps. Do not create new remote access.

## Package
- Version: 0.6.2
- ZIP: https://taoh.dk/app/bilbutler/assets/Bil-Butler-0.6.2.zip
- SHA-256: bc0f3b122698077bd1f8e894a207ba0d711b0ca0e2ae25bed9c567c12aff130f
- English guide: https://taoh.dk/app/bilbutler/assets/README.en.md
- Danish guide: https://taoh.dk/app/bilbutler/assets/README.md

The hash verifies consistency with this release. It is not an independent security endorsement.

## Procedure
1. Check free disk space, existing Docker/Compose and whether port 8788 is occupied. Identify missing prerequisites. Follow user and tool approval requirements when installing Docker or modifying the host.
2. Download the ZIP into a new separate directory, verify SHA-256 and review archive paths before extraction. Review README, Dockerfile and compose.yaml. Do not execute remote code directly from a download pipeline.
3. If an installation already exists, preserve its data volume and encryption key. Take a usable backup before updating. Stop on conflicts or uncertainty about existing services.
4. Agree on local home-network mode or a public domain. Review configure.py, install.sh/ps1 and the generated configuration. Run sh ./install.sh (or ./install.ps1 on Windows). Local mode binds the selected LAN address. Public mode exposes the login to the internet and needs existing DNS and reachable ports 80/443; do not select it without the user's intent. Do not stop unrelated services on port conflicts. Use a unique Compose project name to avoid adopting another installation.
5. Check container status, HTTPS responses and certificate validation. For local mode, the printed HTTP instructions page serves the public CA only. Compare its fingerprint against the server copy before trusting it. The user approves the certificate profile and trust on their phone. Never disable certificate validation or bypass warnings.
6. The user privately retrieves the owner code with docker compose -f compose.yaml -f compose.https.yaml exec bil-butler cat /data/setup-token and creates a password in their own browser. Never request or log setup codes, passwords, API keys or private certificate keys.
7. Charging advice works without a vehicle account. The user enters charging needs and full variable tariffs. Explain that calculation never starts charging automatically. Use fictional data only in installation tests.
8. The user may add their own car and optional Zaptec later, entering keys only in the app. Keep weekly climate paused. Do not test vehicle/charger commands. Preserve existing operations and battery automation.
9. Report precisely what was installed and verified, the address, data volume, backup and remaining limitations. Explain that 0.6.2 is a trial release. Docker installation is verified on Debian 13 with fictional test data. Physical operation on a real car/charger remains unverified.

## Scope
One household, one owner and one car. No shared cloud service. Cheapest continuous-session advice, total cost and savings use published prices plus the user's tariffs, losses and needs. Automatic execution is available, but must not be activated during installation or tests with real accounts. It requires separate user approval in the app. Provider terms apply. Linux Docker and local HTTPS have been tested with fictional data; a physical car/charger, Windows and public-domain setup remain unverified.

Self-planning is available from 0.6.2. Keep it off during installation/tests. Do not store ongoing permission or send vehicle commands as an installation test. The owner must check tariffs and departures and approve the feature in their own installation.

Automatic charge-limit setup is a separate option. Keep it off during installation/tests with real accounts. Do not test vehicle commands.

Zaptec 0.6.2: Do not use personal accounts or keys for installation tests. Automatic renewal requires the owner’s approved API service account, entered privately on their own server. Live push requires existing Service Bus access. Do not create subscriptions or change Zaptec settings. Use simulated responses only.

0.6.2 shuts down gracefully on Docker stop. Wait for full stop before file backups. Retain all data and HTTPS volumes. Do not use down -v or repeat owner setup during updates.
