homebox-companion
Docker app from mygrexit's Repository
AI companion for a Homebox inventory. Photograph your things and let a vision model identify them, then create the items - including photos, quantities, manufacturer, model and…
Requirements
Overview
AI companion for a Homebox inventory. Photograph your things and let a vision model identify them, then create the items - including photos, quantities, manufacturer, model and tags - directly in Homebox. An AI chat helps to search, organise and update the inventory.
Requirements
- A running Homebox server.
- An API key for an LLM provider (OpenAI, Anthropic, Google or OpenRouter via LiteLLM). Billed per use; the project estimates roughly 0.30 USD per 100 items with gpt-5-mini.
Setup
- Set "Homebox URL" to the address of your Homebox server including its port, as reachable from inside this container. The server IP works, "localhost" does not.
- Enter your LLM API key.
- Keep the data folder mapped so settings, AI profiles and custom fields survive updates.
Login
By default the app asks for your Homebox username and password. Filling in the optional Homebox API key (Homebox 0.26.0 or newer, Profile - API Keys) removes that login screen; everyone who can reach this container then acts as the owner of that key. Only use it on a network you control or behind an authenticated reverse proxy.
Disclaimer
Unofficial third-party app, not affiliated with the Homebox project. This template is maintained by mygrexit, not by the application author; please report application issues upstream.
Readme
View on GitHubHomebox Companion
Not affiliated with the Homebox project. This is an unofficial third-party companion app.
AI-powered companion for Homebox inventory management.
![]() |
![]() |
![]() |
![]() |
Take a photo of your stuff, and let AI identify and catalog items directly into your Homebox instance. Perfect for quickly inventorying a room, shelf, or collection. Use the AI Chat to manage your inventory, find locations, or update details just by asking.
🔄 How It Works
flowchart LR
A[Connect to Homebox<br/>Configured key or legacy login] --> B[📍 Select<br/>Location]
B --> C[📸 Capture<br/>Photos]
C --> D[✏️ Review &<br/>Edit Items]
D --> E[✅ Submit to<br/>Homebox]
B -.-> B1[/Browse, search,<br/>or scan QR/]
C -.-> C1[/AI analyzes with<br/>OpenAI GPT-5/]
D -.-> D1[/Edit names,<br/>quantities, tags/]
- Connect – Enter directly with a configured Homebox API key, or use your existing Homebox credentials when no key is configured
- Select Location – Browse the location tree, search, or scan a Homebox QR code
- Capture Photos – Take or upload photos of items (supports multiple photos per item)
- AI Detection – AI vision (via LiteLLM*) identifies items, quantities, and metadata
- Review & Edit – Adjust AI suggestions or ask AI to correct mistakes
- Submit – Items are created in your Homebox inventory with photos attached
*LiteLLM is the Python library we use to connect to AI providers. With the default OpenAI setup, you only need an API key; no local AI model is required.
💰 OpenAI Cost Estimates
| Model | Input/1M | Output/1M | Cost per 100 items | Avg Latency | Notes |
|---|---|---|---|---|---|
| GPT-5.6 Luna | $0.20 | $1.20 | $0.019 🏆 | ~3.4s | Cheapest in this benchmark. Measured with reasoning_effort=none |
| GPT-5.4 Nano | $0.20 | $1.25 | $0.024 | ~1.9s | Fastest. Good budget option |
| GPT-5.4 Mini | $0.75 | $4.50 | $0.076 | ~2.0s | Higher cost |
GPT-5.6 Luna is the recommended model — cheapest at $0.019/100 items with reasoning_effort=none in this benchmark. All three models achieved zero errors and comparable detection on the inventory classification tasks tested.
Benchmark methodology: 100 API calls per model using 3 test images with extended field extraction. Costs include OpenAI automatic prompt caching (54–66% of input tokens cached). Real-world costs depend on image complexity and item count per photo.
Prices as of 2026-09-21, measured against OpenAI's live API.
📋 Requirements
Before you start, you'll need:
- An OpenAI API key for the default setup – Get one at platform.openai.com; other providers are experimental
- A compatible Homebox instance – Your own Homebox server; see compatibility notes
- A modern browser – Safari 16.4+, Chrome/Edge 111+, or Firefox 128+
🚀 Quick Start
Docker (Recommended)
# docker-compose.yml
services:
homebox-companion:
image: ghcr.io/duelion/homebox-companion:latest
container_name: homebox-companion
restart: always
environment:
- HBC_LLM_API_KEY=sk-your-api-key-here
- HBC_HOMEBOX_URL=http://your-homebox-ip:7745
- HBC_HOMEBOX_API_KEY=${HBC_HOMEBOX_API_KEY:-}
- HBC_LLM_TIMEOUT=${HBC_LLM_TIMEOUT:-120}
- HBC_AI_REQUEST_TIMEOUT=${HBC_AI_REQUEST_TIMEOUT:-}
ports:
- 8000:8000
volumes:
- companion-data:/app/data
volumes:
companion-data:
docker compose up -d
Open http://localhost:8000 in your browser.
Tip: On Docker Desktop, use
http://host.docker.internal:PORTto reach Homebox running on the host. Native Linux Docker needs an extra host mapping.
If Homebox runs in another Compose service, put both services on the same Docker
network and use the Homebox service name, for example http://homebox:7745.
localhost from inside the Companion container refers to the Companion
container itself.
ARM64/Raspberry Pi: Docker images are built for both
linux/amd64andlinux/arm64architectures.
Persistent Docker settings
Mount /app/data to retain AI model profiles, custom fields and field preferences
across container replacement.
For file locations, backups and Docker storage repair instructions, see the deployment guide.
Homebox API key or legacy login
To enter Companion without a login screen, create a key in Homebox → Profile → API Keys and copy its one-time token. Set it on the Companion server:
HBC_HOMEBOX_URL=http://your-homebox-ip:7745
HBC_HOMEBOX_API_KEY=hb_your_homebox_issued_key
Restart Companion after changing these values. With Docker Compose, keep the explicit HBC_HOMEBOX_API_KEY environment entry shown above and run docker compose up -d --force-recreate. A Compose .env file supplies interpolation values; it does not automatically pass every variable into the container.
A configured key is used only by the server. The browser receives no Homebox key and has no login, session refresh or Homebox logout action. Missing, empty or whitespace-only keys preserve the username/password flow. An invalid, expired or revoked key shows a connection error with Retry; it never falls back to a password prompt. Removing the key and restarting restores legacy login.
All people who can reach a key-mode deployment act as the key's Homebox owner. Use a dedicated Homebox user with the intended collection permissions and control access through your network or reverse proxy. See the deployment guide for key rotation and chat server requirements.
Shared settings
Authenticated Homebox users can manage shared settings, AI model profiles, custom fields and server logs without additional account configuration. In API-key mode, access uses the configured key's Homebox identity. Homebox credentials are revalidated when accessing Companion's local settings and logs.
View and download server and LLM debug logs from Settings. Logs can contain inventory details, so share exports carefully. See the deployment guide for log handling details.
When editing an AI profile, leave the API key blank to keep its saved key, including when changing the model or API base URL. A primary profile without a key uses the configured environment default; a fallback without a key inherits the primary key. Set a profile's own key when it needs different credentials.
✨ Features
AI-Powered Detection
- Identifies multiple items in a single photo
- Extracts manufacturer, model, serial number, price when visible
- Suggests tags from your existing Homebox tags
- Multi-language support
Smart Workflow
- Multi-image analysis – Take photos from multiple angles for better accuracy
- Single-item mode – Force AI to treat a photo as one item (for sets/kits)
- AI corrections – Tell the AI what it got wrong and it re-analyzes
- Custom thumbnails – Crop and select the best image for each item
Location Management
- Browse hierarchical location tree
- Search locations by name
- Scan Homebox QR codes
- Create new locations on the fly
- Keep parent containers and physical locations separate on Homebox 0.27+
Customization
- Configure how AI formats each field (name style, description format, etc.)
- Set a default tag for all detected items
- Define custom Homebox fields with AI instructions (the AI populates them during detection)
Chat Assistant
- Natural language queries – Ask questions like "How many items do I have?" or "List my tags"
- Inventory actions – Create, update, move, or delete items through conversation
- Approval workflow – Review and approve AI-proposed changes before they're applied
- Streaming responses – Real-time AI responses with tool execution feedback
Available Tools
The chat assistant has access to 24 tools for interacting with your Homebox inventory:
Read-Only (auto-execute):
| Tool | Description |
|---|---|
list_locations |
List all locations |
get_location |
Get location details with children |
list_tags |
List all tags |
list_items |
List items with filtering/pagination |
search_items |
Search items by text query |
get_item |
Get full item details |
get_item_by_asset_id |
Look up item by asset ID |
get_item_path |
Get item's full location path |
get_location_tree |
Get hierarchical location tree |
get_statistics |
Get inventory statistics |
get_statistics_by_location |
Item counts by location |
get_statistics_by_tag |
Item counts by tag |
get_attachment |
Get attachment content |
Write (requires approval):
| Tool | Description |
|---|---|
create_item |
Create a new item |
update_item |
Update item fields |
create_location |
Create a new location |
update_location |
Update location details |
create_tag |
Create a new tag |
update_tag |
Update tag details |
upload_attachment |
Upload attachment to item |
ensure_asset_ids |
Assign asset IDs to all items |
Destructive (requires approval):
| Tool | Description |
|---|---|
delete_item |
Delete an item |
delete_location |
Delete a location |
delete_tag |
Delete a tag |
🤖 LLM Provider Support
Homebox Companion uses LiteLLM as a Python library to call AI providers. You don't need to self-host anything – just get an OpenAI API key from platform.openai.com and you're ready to go. We officially support and test with OpenAI GPT models only.
Fallback Support: Configure a secondary LLM profile in Settings to try when the primary provider fails. A chat response interrupted after streaming starts may still need a retry.
Officially Supported Models
- GPT-5.6 Luna – Default model
- GPT-5 nano – Supported alternative
Using Other Providers (Experimental)
You can try other LiteLLM-compatible providers at your own risk.
Photo scanning requires a vision-capable model. Structured outputs are preferred; when LiteLLM reports no schema support, the app requests JSON through the prompt instead.
AI Chat needs reliable tool-call responses to query and change inventory. Native tool calling is recommended. Companion passes tools through LiteLLM without a separate capability precheck, and compatibility varies by model and provider. A model working for photo scanning does not guarantee it works for chat.
Finding model names:
Model names are passed directly to LiteLLM. Use the exact names from LiteLLM's documentation:
Common examples:
- OpenAI:
gpt-4o,gpt-4o-mini,gpt-5.6-luna - Anthropic:
claude-sonnet-4-5,claude-3-5-sonnet-20241022
Note: Model names must exactly match LiteLLM's expected format. Typos or incorrect formats will cause errors. Check LiteLLM's provider documentation for the correct model names.
Running Local Models:
You can run models locally using tools like Ollama, LM Studio, or vLLM. See LiteLLM's Local Server documentation for setup instructions.
Once your local server is running, configure the app:
HBC_LLM_API_KEY=any-value-works-for-local # Just needs to be non-empty
HBC_LLM_API_BASE=http://localhost:11434 # Ollama address reachable from Companion
HBC_LLM_MODEL=ollama/llava:34b # Your local model name
HBC_LLM_ALLOW_UNSAFE_MODELS=true # Only if capability detection blocks your model
Note: This example assumes an unauthenticated local Ollama server. If
Companion runs in Docker, use a reachable host address or service name instead of
localhost. Local models need vision for scanning and reliable tool calls for
chat. Performance and accuracy vary widely.
⚠️ Important: Other providers (Anthropic, Google, OpenRouter, local models, etc.) are not officially supported. If you encounter errors, we may not be able to help. Use at your own risk.
⚙️ Configuration
📝 Full reference: See
.env.examplefor all available environment variables with detailed explanations and examples.
Local runs read .env directly. With Docker Compose, add optional settings to
the service's environment list or configure env_file. A Compose .env file
supplies ${VARIABLE} substitutions; it does not automatically pass every value
into the container. Explicit environment entries take priority over env_file.
Saved LLM profiles take priority over their initial environment bootstrap. Update
existing profiles in Settings; changing HBC_LLM_MODEL alone does not replace a
saved model. AI field preferences use current HBC_AI_* values after restart,
unless overridden by values saved through Settings.
Essential Settings
For a quick setup, you only need to provide your OpenAI API key. All other settings have sensible defaults.
| Variable | Required | Description |
|---|---|---|
HBC_LLM_API_KEY |
Yes | Your OpenAI API key |
HBC_HOMEBOX_URL |
No | Your Homebox instance URL (defaults to http://localhost:7745) |
HBC_HOMEBOX_API_KEY |
No | Homebox-issued key for direct entry; empty retains legacy login. Server-only; restart after changing. |
HBC_LINK_BASE_URL |
No | Public URL for Homebox links in chat (defaults to HBC_HOMEBOX_URL) |
⚙️ Full Configuration Reference
| Variable | Default | Description |
|---|---|---|
HBC_LLM_MODEL |
gpt-5.6-luna |
Model to use. Supported: gpt-5.6-luna (recommended), gpt-5-nano. |
HBC_LLM_API_BASE |
– | Custom API base URL (for proxies or experimental providers) |
HBC_LLM_ALLOW_UNSAFE_MODELS |
false |
Skip capability validation for unrecognized models |
HBC_LLM_TIMEOUT |
120 |
How long the backend waits for one AI model call, in seconds |
HBC_AI_REQUEST_TIMEOUT |
Automatic | How long the browser waits for the whole detection, analysis, merge or correction operation, in seconds (1–86400). Unset/blank uses HBC_LLM_TIMEOUT + 60, bounded to 60–86400 seconds. |
HBC_LLM_STREAM_TIMEOUT |
300 |
Timeout for streaming AI Chat model calls, in seconds |
HBC_MAX_UPLOAD_SIZE_MB |
20 |
Maximum bytes per file, expressed in MiB; must be positive. |
HBC_MAX_REQUEST_SIZE_MB |
100 |
Maximum total API request size in MiB, including all files and multipart overhead; must be positive. |
HBC_IMAGE_QUALITY |
medium |
Image quality for Homebox uploads: raw, high, medium, low |
Advanced Settings
The browser calls Companion's API, and Companion then calls the AI model.
HBC_LLM_TIMEOUT controls how long the backend waits for one model call.
HBC_AI_REQUEST_TIMEOUT controls how long the browser waits for the whole AI
operation, including processing, queues, retries and fallback model calls.
Usually, leave HBC_AI_REQUEST_TIMEOUT unset: the browser automatically allows
HBC_LLM_TIMEOUT + 60 seconds, bounded to 60–86400 seconds. For example,
HBC_LLM_TIMEOUT=1800 allows 1860 seconds (31 minutes), with no extra configuration.
Override it only when the whole operation needs more time: setting
HBC_AI_REQUEST_TIMEOUT=2400 allows the browser to wait 40 minutes, without
changing the backend's timeout for each model call.
Ordinary API requests retain their 60-second timeout. Cancellation still works,
and streaming chat keeps its existing timeout behavior. Restart Companion and
reload the browser after changing these values. The supplied Compose file passes
both variables from its .env file.
Requests exceeding the total size limit return HTTP 413. If multi-image uploads
exceed 100 MiB, increase HBC_MAX_REQUEST_SIZE_MB; the per-file limit still applies.
Configure matching upload limits on your reverse proxy.
Image Quality
Control compression applied to images uploaded to Homebox. Compression happens server-side during AI analysis to avoid slowing down mobile devices.
| Quality Level | Max Dimension | JPEG Quality | File Size | Use Case |
|---|---|---|---|---|
raw |
No limit | Original | Largest | Full quality originals |
high |
2560px | 85% | Large | Best quality, moderate size |
medium |
1920px | 75% | Moderate | Default - balanced |
low |
1280px | 60% | Smallest | Faster uploads, smaller storage |
Example:
HBC_IMAGE_QUALITY=high
Note: This setting only affects images uploaded to Homebox. AI analysis always uses optimized images regardless of this setting.
Capture Limits
| Variable | Default | Description |
|---|---|---|
HBC_CAPTURE_MAX_IMAGES |
30 |
Maximum photos per capture session |
HBC_CAPTURE_MAX_FILE_SIZE_MB |
10 |
Maximum file size per image in MB |
Note: These are experimental settings. It's advisable to keep the default values to minimize data loss risk during capture sessions.
Rate Limiting
| Variable | Default | Description |
|---|---|---|
HBC_RATE_LIMIT_ENABLED |
true |
Enable throttling for photo analysis and related JSON AI requests |
HBC_RATE_LIMIT_RPM |
400 |
JSON AI requests per minute |
HBC_RATE_LIMIT_TPM |
400000 |
Estimated input tokens per minute |
HBC_RATE_LIMIT_BURST_MULTIPLIER |
1.5 |
Burst capacity multiplier |
These controls apply to photo analysis and related JSON AI requests. Chat and login use separate rate limits. Match the application limits to your provider, model and account limits; increasing them does not raise the provider's limits.
Server & Logging
| Variable | Default | Description |
|---|---|---|
HBC_SERVER_HOST |
0.0.0.0 |
Server bind address |
HBC_SERVER_PORT |
8000 |
Server port |
HBC_LOG_LEVEL |
INFO |
Logging level |
HBC_DISABLE_UPDATE_CHECK |
false |
Disable update notifications |
HBC_GITHUB_REPO |
Duelion/homebox-companion |
Repository used for update checks |
HBC_MAX_UPLOAD_SIZE_MB |
20 |
Maximum file upload size in MiB |
HBC_CORS_ORIGINS |
* |
Explicit allowed origins, comma-separated. Wildcard applies only in legacy mode; key mode defaults to same-origin. |
Chat Assistant & Self-Hosted Demo Mode
| Variable | Default | Description |
|---|---|---|
HBC_CHAT_ENABLED |
true |
Enable AI Chat and MCP endpoints |
HBC_CHAT_MAX_HISTORY |
20 |
Maximum recent messages included in model context |
HBC_CHAT_APPROVAL_TIMEOUT |
300 |
Seconds before pending inventory-change approvals expire |
HBC_CHAT_MAX_RESPONSE_TOKENS |
0 |
Maximum model response tokens for chat; 0 sets no explicit limit |
HBC_DEMO_MODE |
false |
Prefill demo login, use browser-session field preferences and disable chat |
Self-hosted demo mode prefills the legacy login with demo@example.com / demo.
It does not create that account in Homebox or make inventory changes read-only.
Field preference changes stay in the browser session instead of the shared JSON.
🔒 Security Considerations (Production)
When deploying to production, review these security settings:
| Variable | Default | Production Recommendation |
|---|---|---|
HBC_CORS_ORIGINS |
* |
Set to specific origins (e.g., https://your-domain.com) |
HBC_AUTH_RATE_LIMIT_RPM |
10 |
Login attempts per minute per IP (brute-force protection) |
HBC_CHAT_RATE_LIMIT_RPM |
20 |
Chat messages per minute per IP (LLM cost protection) |
CORS Example:
# Allow only your frontend domain
HBC_CORS_ORIGINS=https://inventory.example.com
# Multiple origins (comma-separated)
HBC_CORS_ORIGINS=https://inventory.example.com,https://admin.example.com
Note: In legacy mode,
HBC_CORS_ORIGINS=*allows any origin. API-key mode ignores the wildcard and permits same-origin requests plus explicitly listed origins. For a separate development frontend or reverse proxy, list its browser-facing origin. CORS and request-origin checks do not replace network or proxy access control.
🖨️ Label Printing
| Variable | Default | Description |
|---|---|---|
HBC_PRINT_ENABLED |
false |
Show a "Print Label" button after items are created |
When enabled, open See Items after creation to find each item's Print Label button. It triggers Homebox's built-in labelmaker, which generates and prints a label via the command configured on your Homebox server.
Homebox server prerequisite: Set the HBOX_LABEL_MAKER_PRINT_COMMAND environment variable on your Homebox instance (e.g., lp -d MyPrinter %s). Without it, print requests will fail. See Homebox documentation for details.
AI Output Customization
Customize how AI formats detected item fields. Set via environment variables or the Settings page (UI takes priority).
| Variable | Description |
|---|---|
HBC_AI_OUTPUT_LANGUAGE |
Language for AI output (default: English) |
HBC_AI_DEFAULT_TAG_ID |
Tag ID to auto-apply to all items |
HBC_AI_NAME |
Custom instructions for item naming |
HBC_AI_DESCRIPTION |
Custom instructions for descriptions |
HBC_AI_QUANTITY |
Custom instructions for quantity counting |
HBC_AI_MANUFACTURER |
Instructions for manufacturer extraction |
HBC_AI_MODEL_NUMBER |
Instructions for model number extraction |
HBC_AI_SERIAL_NUMBER |
Instructions for serial number extraction |
HBC_AI_PURCHASE_PRICE |
Instructions for price extraction |
HBC_AI_PURCHASE_FROM |
Instructions for retailer extraction |
HBC_AI_NOTES |
Custom instructions for notes |
HBC_AI_NAMING_EXAMPLES |
Example names to guide the AI |
💡 Tips
- Analyze batches in parallel – The app processes up to 30 detection requests concurrently; speed depends on your server and AI provider.
- Include receipts in your photos – AI can extract purchase price and retailer from receipt images.
- Multiple angles = better results – Include close-ups of labels, serial numbers, or barcodes for more accurate detection.
- Asset IDs – Enter or scan a numeric Homebox ID, such as
032-303; leave it blank for automatic assignment. Hyphens and leading zeros are accepted. See Homebox compatibility for ID limits. - HTTPS required for QR scanning – Native camera QR detection only works over HTTPS. On HTTP, a "Take Photo" fallback is available.
- Use the Settings page – Customize AI behavior, define custom fields, and manage LLM profiles without restarting.
- Long press to confirm all – On the review screen, long-press the confirm button, then choose Confirm All to accept the remaining valid items.
Development
Open pull requests against dev.
Use Python 3.14+, Node 26.10.0 (matching CI and the Docker frontend builder), uv 0.9.17+ (CI and Docker use 0.12.5), and locked installs:
uv sync --locked
cd frontend
npm ci
cd ..
uv run prek install
The pre-commit hook checks staged Python files with Ruff and checks frontend lint
and formatting when frontend files change. It does not modify or stage files.
Use uv run prek run --all-files to check the whole repository. Local frontend
verification is npm --prefix frontend run verify. Python checks matching CI are:
uv run ruff check .
uv run ruff format --check .
uv run ty check --error-on-warning
uv run deptry .
uv run pytest
Python uses Ruff formatting and ty for type checking. Vulture remains an occasional manual dead-code review tool:
uv run vulture --sort-by-size. Dependency audits run weekly and on dependency PRs, outside local hooks.
The PR and dev CI workflow runs Python checks, frontend checks, mocked browser
tests, and disposable Homebox integration tests. See tests/README.md
for local commands and Docker/browser prerequisites. These suites require no paid
LLM calls.
Frontend design tokens and reusable utilities live in frontend/src/app.css.
Use the semantic color, typography, spacing, and touch-target tokens when styling
components. Svelte style blocks that use Tailwind directives reference this
stylesheet with @reference; ordinary CSS can use its theme variables, such as
var(--color-primary-500). Keep canvas drawing colors in
frontend/src/lib/utils/canvas-colors.ts synchronized with these tokens.
Tailwind 4's CSS browser baseline is Safari 16.4+, Chrome 111+, and Firefox 128+.
For workflow ownership, Svelte state, authentication transport, and frontend
styling conventions, see the frontend architecture guide.
For a deliberate Python dependency refresh, run uv sync --upgrade;
routine installs use the committed lockfile with uv sync --locked.
For frontend updates, verify compatibility, update the lockfile, and rerun the
checks and npm audit. Dependency updates have no minimum release-age requirement.
📄 License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
🙏 Acknowledgments
Categories
Related apps
Explore more like this
Explore allLinks
Details
ghcr.io/duelion/homebox-companion:latestRuntime arguments
- Web UI
http://[IP]:[PORT:8000]- Network
bridge- Shell
sh- Privileged
- false
Template configuration
Port of the Companion web interface.
- Target
- 8000
- Default
- 8000
- Value
- 8000
Stores settings, AI profiles and custom field definitions. Without it every update resets them.
- Target
- /app/data
- Default
- /mnt/user/appdata/homebox-companion
- Value
- /mnt/user/appdata/homebox-companion
API key of your LLM provider, e.g. OpenAI (sk-...), Anthropic, Google or OpenRouter. Billed per use.
- Target
- HBC_LLM_API_KEY
Address of your Homebox server including port, as reachable from inside this container. Use the server IP and the host port you mapped for Homebox. localhost points at this container, not at Homebox.
- Target
- HBC_HOMEBOX_URL
- Default
- http://192.168.1.100:7745
- Value
- http://192.168.1.100:7745
Model identifier, e.g. gpt-5-mini, gpt-5-nano, claude-3-5-sonnet-20241022, gemini-2.0-flash or openrouter/openai/gpt-5-mini.
- Target
- HBC_LLM_MODEL
- Default
- gpt-5-mini
- Value
- gpt-5-mini
Optional. Homebox-issued key (Homebox 0.26.0+, Profile - API Keys). Removes the Companion login screen - everyone who can reach the container then acts as that key's Homebox owner. Leave empty to keep username/password login.
- Target
- HBC_HOMEBOX_API_KEY
Optional. Address used for Homebox links shown in chat, when the container reaches Homebox internally but you open it under a public address.
- Target
- HBC_LINK_BASE_URL
Optional. Custom endpoint for proxies or gateways, e.g. https://openrouter.ai/api/v1.
- Target
- HBC_LLM_API_BASE
raw, high, medium or low. Controls compression of uploaded photos.
- Target
- HBC_IMAGE_QUALITY
- Default
- medium
- Value
- medium
DEBUG, INFO, WARNING, ERROR or CRITICAL.
- Target
- HBC_LOG_LEVEL
- Default
- INFO
- Value
- INFO



