This repo deploys Home Assistant (Docker) on Railway and seeds an initial /config.
- Deploy this repo
- Add a Volume mounted at
/config - Expose port
8123 - Optional env var:
TZ=America/Toronto
- Create your HA admin user
- Install/configure your Audi integration in HA (UI)
- Go to Settings → Devices & services → Helpers and set:
input_text.audi_soc_entity_id(ex:sensor.my_audi_state_of_charge)input_text.audi_weather_entity_id(ex:weather.home) (optional)input_text.audi_plugged_entity_id(optional)
- Edit
/config/secrets.yamland setaudi_vin.
- Helpers for:
- Charge mode (STRICT vs SMART), window, days, target SOC, departure time, estimated charge rate, cold-temp correction
- Scripts:
- Start/stop charge
- Lock/unlock (if supported by your Audi integration)
- Start preheat (basic)
- Automation:
- Enforces charge behavior every 10 minutes (calls start/stop only when needed)
Copy the whole /config directory from Railway volume to the Pi’s /config, then reboot HA.