Files
ems/.env.example
Dusan Vojacek 8b4af663d8 Initial commit
Made-with: Cursor
2026-03-20 13:27:44 +01:00

35 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ============================================================
# EMS Platform environment proměnné
# Zkopírovat jako .env a doplnit hodnoty
# NIKDY necommitovat .env do gitu!
# ============================================================
# ---- PostgreSQL ----
DB_USER=ems_user
DB_PASSWORD=change_me_strong_password
# ---- PostgREST ----
POSTGREST_JWT_SECRET=change_me_jwt_secret_min_32_chars
# Pro lokální dev může být stejná jako DB_USER (PostgREST SELECT pod ems_user).
POSTGREST_ANON_ROLE=ems_user
# ---- OTE CZ import ----
OTE_API_URL=https://www.ote-cr.cz/pubapi/v1/market-data/dam
EUR_CZK_RATE=25.0 # fallback kurz pokud ČNB API nedostupné
# ---- Weather / Forecast ----
OPEN_METEO_API_URL=https://api.open-meteo.com/v1/forecast
# ---- Loxone ----
LOXONE_USER=admin
LOXONE_PASSWORD=change_me
# ---- Telemetrie ----
TELEMETRY_POLL_INTERVAL_SEC=60
# ---- Plánování ----
PLANNING_HORIZON_HOURS=36
PLANNING_HP_MAX_COST_CZK_KWH=3.0 # max Kč/kWh tepla pro spuštění TČ
PLANNING_CHEAP_PRICE_THRESHOLD=0.85
PLANNING_EXPENSIVE_PRICE_THRESHOLD=1.15