Files
ems/.env.example
Dusan Vojacek 897b95f728 x
2026-03-20 14:30:03 +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
# PostgREST anonymní role (viz db/migration/V009__postgrest_roles.sql + R__z_postgrest_ems_anon_grants.sql).
POSTGREST_ANON_ROLE=ems_anon
# ---- 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