Bil Butler

SELF-HOSTED WEB APP

Your car.
Your own Butler.

Bil Butler brings vehicle status, charging and your weekly departure times together in a web app you install yourself. Add your Škoda using your own API key, choose DK1 or DK2, and open the dashboard on your computer or phone.

Trial version · Tested with simulated provider responses. Docker installation is tested with fictional data. Operation on a real car and charger has not yet been verified.

Bil Butler’s dashboard showing 62% battery, 248 km range and charging controls. All values are example data.
The car’s last known status, measurement time and charging controls. All screenshots show a separate demonstration with fictional information. Screenshots retain their Danish labels; the downloadable web app supports Danish and English.

WHAT’S INCLUDED

A dashboard and a plan for the week

Battery and charging

View battery percentage, estimated range, charging cable, power and charge target. Start or stop charging through Škoda, or choose an 80, 90 or 100% target. Actions require confirmation.

Two times every day

Choose two separate departure times for each day from Monday to Sunday. Each entry has its own temperature, enabled setting and cable requirement. Preheating starts 30 minutes before departure.

Cheapest charging · DK1 or DK2

Find the cheapest complete session, its full cost and savings versus charging now. Enter charge level, target, departure, power, losses and your tariffs including VAT. Calculation works without a vehicle account. With your own Škoda key, you can separately activate automatic start and stop for the calculated session.

FIXED IN 0.6.2

Safer recovery from disk errors and history cleanup

Background work now survives a full disk and can resume when space returns. Health reports the failure and returns healthy after recovery. This never authorizes replay of unresolved commands or catch-up of missed charging starts.

Unresolved actions are retained when older completed history is pruned. The barrier against replaying the same request remains, and pending actions are prioritized in the overview.

158 tests and retests with ZapSim/SimElbil, 400 virtual planning days and fault injection pass. A real Docker instance was tested with a full isolated filesystem and recovery without restart. This remains a trial release without physical car/charger verification. Previously deleted journal records cannot be automatically recovered.

GRACEFUL SHUTDOWN

Stop and update without losing your setup

Bil Butler now handles Docker’s stop signal. New requests are rejected, admitted work drains, and the database closes last. Plans, consent and history are not reset; shutdown sends no extra vehicle commands.

Backup and restore into new volumes have been tested with fictional data, including owner login, encryption key and HTTPS certificate. Updating to 0.6.2 and three stop/restart cycles were verified without forced termination and with settings and history preserved.

158 tests pass with simulated responses. Compose allows up to two minutes for in-flight work. Power loss or a stuck process may still force a hard shutdown. Physical car/charger operation remains untested.

ZAPTEC · OPTIONAL

See what your charger delivers

Read measured power and session energy with individual measurement timestamps. Old values are retained and marked “last known”. Live push is ready for existing Zaptec Service Bus access. Without it, use the refresh button for current readings; the app does not continuously poll REST state.

Completed history synchronizes hourly from Zaptec’s session archive, up to 365 days or 2,000 sessions. Large imports continue on the next pass. Duplicate IDs are merged, and replaced or voided sessions remain documented without double-counting.

kWh is charger-delivered energy and may include guests or other vehicles. It is not added to the vehicle ledger. The Zaptec option sends no charging commands and changes no charger settings; vehicle plans still execute via Škoda.

158 tests pass with simulated responses. Real Zaptec accounts, physical chargers and a real Service Bus connection remain untested. Automatic token renewal requires an approved API service account; this app cannot grant provider access.

CHARGE LIMIT

Butler also sets the vehicle charge limit

Enable automatic limit setup in standing settings or for a single plan. Bil Butler can set the selected level: 80, 90 or 100%. Existing installations do not receive expanded permission automatically; you approve the option yourself.

A limit that may enable additional charging is changed only when the charging window begins. Acknowledgement must be followed by a newer vehicle reading confirming the value before a separate start is sent. If the limit change itself starts charging, no additional start is sent.

If the battery is already above the chosen limit and the car is ready, the limit can be lowered without starting charging. The interface distinguishes an acknowledged change from a value confirmed by the vehicle.

158 simulated-response tests pass, including unknown outcomes and restart without replay. Physical car/charger operation remains untested. Unresolved results require the owner's attention.

SELF-PLANNING CHARGING

Set it once.
Let Butler plan from then on.

Save usable battery capacity, charge limit, power, losses and your full variable electricity prices. Choose a departure and enabled setting for each weekday, then approve ongoing self-planning once.

Bil Butler calculates the current need from fresh vehicle SOC, selects the cheapest continuous session before the next departure and activates start and stop. No new daily approval is needed. Zaptec remains optional.

Waiting plans can change after new prices or SOC. The first plan and previous window/cost are retained with an explanation. Started or unresolved sessions are not moved. Manual cancellation or takeover pauses self-planning.

Enable automatic limit setup to allow Bil Butler to set 80, 90 or 100%. Without that permission, the saved limit must already match. Missing prices, old status, unconfirmed cable or insufficient time produces clear waiting/error status. Existing charging is not taken over and each departure permits at most one start attempt.

The feature is off on installation. The server must stay on with vehicle access. 158 simulated-response tests pass; physical car/charger operation remains untested.

SINGLE SESSION · OPTIONAL

Charge automatically in the cheapest window

Calculate the charging need and full cost, then activate that specific session with a separate confirmation. The server starts and stops through Škoda charging functions with the browser closed. Zaptec is not required.

The car must be connected and ready to charge, with automatic limit setup enabled or its saved charge limit already matching the plan. Vehicle status and API quota are checked before start. Existing charging is not taken over and missed starts are not replayed.

You can cancel the plan. Sending, acknowledgement, actual charging and confirmed stop are shown separately. Timed-out commands are not repeated; the stop obligation survives restarts.

This single-session option activates one plan. Choose self-planning charging instead for ongoing planning without daily approval. The server and vehicle access must work throughout. During outages, the car may continue to its own charge limit. Physical operation on a real car/charger remains untested.

WEEKLY CLIMATE

Ready for the morning.
And the drive home.

If you leave at 07:30, the schedule asks the car to start preheating at 07:00. You can add another departure on the same day and use different times for the rest of the week.

The schedule is saved on your own server. It can run while the browser on your phone is closed, provided the server is powered on, connected to the internet and has valid API access and sufficient quota.

At departure, the server sends a stop request for the preheating session it started. You can pause future starts and keep your saved times.

Monday’s two example climate schedules, with departures at 07:30 and 16:30. The weekly schedule is paused.
Monday’s two entries in the demonstration. The entire weekly schedule is paused in this screenshot.
The setup page with DK2 selected and fields for the vehicle name and VIN. The information is fictional.
Choose your price area and add your own car. API credentials are entered on your own installation.

YOUR SETUP

Škoda comes first.
Zaptec is optional.

You do not need a particular charger brand to use the car’s own charging functions. Available information and actions depend on what your Škoda supports.

Zaptec is optional, with measured power, current-session energy and completed charging history. Enter your charger serial and an access token or your own approved API service account. Service accounts allow automatic token renewal; pasted tokens require manual replacement.

Do not enter your MyŠkoda password. Zaptec service account credentials are encrypted on your own server. Existing approved API permissions are required.

GET STARTED

Install on your own machine

You need an online computer, NAS or server with Docker and Compose. It must stay on to run the weekly schedule. The installer now helps configure HTTPS for phone access.

  1. Download and extract

    Download the ZIP and open a terminal in bil-butler. First install Docker Engine with Compose or Docker Desktop.

  2. Choose an address and start with HTTPS

    sh ./install.sh

    Windows PowerShell: ./install.ps1. Choose home network with your server's LAN address, or your own public domain. The guide creates HTTPS configuration and starts the app. It does not change routers or other services.

  3. Create owner access

    docker compose -f compose.yaml -f compose.https.yaml exec bil-butler cat /data/setup-token

    Retrieve the code privately on the server. Open the printed HTTPS address, enter the one-time code and choose a password of at least 12 characters. For home-network mode, first trust the installation's local certificate on your phone as explained below.

  4. Calculate charging without a car account

    Choose DK1 or DK2 in Charging advice. Enter usable battery capacity, current charge, target, power, losses and departure. Add variable charges from your electricity bill, either flat or hourly. See full-session cost and a comparison with charging immediately.

  5. Optionally add your own car

    Enter your VIN and own MyŠkoda API key in Setup. Zaptec is optional. Keep weekly climate paused until you choose to activate it. Charging advice never activates charging by itself. Choose “Activate this charging plan” to have the server execute that specific session.

Backups, updates and occupied ports

Keep the application volume with database and encryption key, HTTPS configuration and certificate volume when updating. Never use down -v. Do not stop other services to free ports; local mode supports alternative ports. Follow the full guide.

IPHONE AND ANDROID

Open it on your phone

Bil Butler app icon

Local mode creates an HTTPS certificate and prints a dedicated instructions page. Check its fingerprint on the server before trusting it on your phone.

  1. Open the instructions page in Safari and download the root certificate.
  2. Settings → General → VPN & Device Management: install the profile.
  3. Settings → General → About → Certificate Trust Settings: trust Bil Butler Local.
  4. Open the HTTPS app address, then Share → Add to Home Screen.

Trust only your own server's certificate. Never bypass browser warnings. With your own public domain and working DNS/port access, the proxy can instead obtain a publicly trusted certificate without local phone certificate setup. Android also supports local certificate trust, subject to device policy.

AI · INSTALLATION

Install with help from AI

Copy this request into ChatGPT, Codex or another AI assistant. An agent with authorised access to your server can help install it. A normal chat can guide you, but a link alone does not give it access.

Enter passwords and API keys only in your own setup screen, never in the chat.

FREE DOWNLOAD

Bil Butler 0.6.2

Source code, Dockerfile, Compose file, tests and installation instructions in one ZIP. The package includes example tests, with no private accounts, keys, car history or saved user configuration.

The project’s own code is released under the MIT licence. Read the licence.

What has been tested?

158 isolated tests including hand-calculated costs, losses, tariffs, negative prices, missing prices and daylight saving. Charging advice has been checked without a car account on desktop and at 390 px mobile width. The new Docker/HTTPS installer has been tested from the ZIP in a separate Debian installation with certificate validation preserved.

This remains a trial release. No physical car or charger has been tested with the package. Self-planning and execution were tested across multiple departures with simulated responses, including changed prices, remaining need, missing data, timeouts, restarts, pause and confirmed stop. Public-domain setup, the Windows script and the new certificate guide on a physical phone remain untested. The logo, home-screen icon and Safari fix are retained.

Good to know

Where are my keys and data stored?

On your own installation. Settings, keys and history are encrypted. The encryption key is stored separately in the same data directory, so both it and the database must be protected and backed up. An administrator with access to both can read the information.

Does my phone or browser need to stay open?

The server runs the weekly climate schedule. It must be powered on and online, with valid vehicle access. You can close the browser. Missed departure times are not replayed automatically.

Can several people use the installation?

This version is designed for one household, one owner account and one vehicle profile. Separate user accounts and multiple car profiles are not implemented yet.

What does “acknowledged” mean?

Škoda has received the request. This does not prove that the car is charging or that the cabin is warm. Check measurement times, new vehicle data and the journal. Requests with an unresolved response are not automatically repeated.

Is this an official app?

Bil Butler is an independent project by Carsten Howard. Provider API terms apply even when you install the program yourself. According to its documentation, MyŠkoda Public API is intended for personal use. The code licence does not grant additional rights to use provider services.

Škoda API documentation · Zaptec API terms · Price data source