AH Connect is a Home Assistant custom integration for Albert Heijn product search, shopping lists, receipts and optional experimental order/cart features.
It is a Python-native Home Assistant integration, functionally inspired by appie-go. appie-go is the only technical/API reference. appie-go is not used as a runtime dependency and no Go code is copied.
Warning: This integration uses the unofficial Albert Heijn mobile API. It may break without notice. Never share tokens, config JSON, logs or screenshots containing credentials.
- Product search (anonymous or authenticated)
- Bonus products and laatste-kans koopjes (by postal code)
- Receipts (kassabonnen) when authenticated
- Remote AH shopping lists (authenticated)
- Optional experimental order/cart services (no checkout)
- Checkout / place order / payment / finalize order
- Add custom repository:
https://github.com/mmaaart3n/ah-connect - Category: Integration
- Install AH Connect and restart Home Assistant
- Add integration via Settings → Devices & services
On a machine with Go:
go install github.com/gwillem/appie-go/cmd/appie@latest
appie login
cat ~/.config/appie/config.jsonIn Home Assistant:
- Add AH Connect
- Choose Authenticated via appie-go config
- Paste the full JSON from
~/.config/appie/config.json
Choose Anonymous for product search and bonus only (no personal data).
Advanced fallback: authorization code — only if CLI import is not possible. See docs/AUTHENTICATION.md.
Results are published on the ah_connect_result event.
| Service | Auth | Notes |
|---|---|---|
ah_connect.search_products |
Optional | |
ah_connect.get_bonus_products |
Optional | |
ah_connect.get_koopjes |
Optional | Requires postal_code |
ah_connect.get_receipts |
Required | |
ah_connect.get_shopping_lists |
Required | |
ah_connect.get_order |
Required | Experimental option |
Full list: docs/SERVICES.md
- Last receipt total/date (authenticated, option)
- Remote shopping list count (authenticated, option)
- Bonus product count (option)
- Order total/items (experimental, authenticated)
- Tokens are stored in the config entry
- Diagnostics redact secrets
- Do not share
config.jsonor HA config entry exports
python -m venv .venv
source .venv/bin/activate
pip install pytest pytest-asyncio aiohttp voluptuous
PYTHONPATH=. pytest tests/ -vSee docs/DEVELOPMENT.md.
- First HACS release of rebuilt AH Connect (
ah_connect) - Replaces the pre-1.0.0 integration; do not use tag v0.2.0
- Initial clean appie-go focused build
- Domain
ah_connect, integration name AH Connect - appie-go config JSON import as primary authentication
- Anonymous and advanced authorization-code fallback modes
MIT — Albert Heijn and appie-go are separate projects; appie-go is AGPLv3.