# ============================================================================= # EPrices – Template secrets file # Copy this file to your ESPHome config directory as "secrets.yaml" # and fill in your own values. # # Notes on value formats: # - All values are strings in secrets.yaml. # - Numeric values (prov_fee, vat_rate) must use a DECIMAL DOT (e.g. 0.12), # not a decimal comma. They are loaded as substitutions and passed directly # into C++ double globals, so the dot is mandatory. # ============================================================================= # --- WiFi credentials (shared with other ESPHome devices - remove if already present) --- wifi_ssid: "your_wifi_ssid" wifi_password: "your_wifi_password" # --- EPrices fallback AP (shown when WiFi is unavailable) --- eprices_fallback_ap_ssid: "EPrices-Fallback" eprices_fallback_ap_password: "your_fallback_ap_password" # --- ESPHome API encryption key (generate with: esphome generate-api-key) --- eprices_api_encryption_key: "your_base64_api_encryption_key_here" # --- Timezone string (IANA format, must match your location) --- # Examples: "Europe/Ljubljana", "Europe/Berlin", "Europe/London" eprices_timezone: "Europe/Ljubljana" # --- Bidding zone for Energy-Charts API --- # This determines which country's spot prices are fetched. # Examples: "SI" (Slovenia), "DE-LU" (Germany/Luxembourg), "AT" (Austria), # "FR" (France), "IT-North" (Italy North), "HR" (Croatia) # Full list: https://api.energy-charts.info/ eprices_country_bzn: "SI" # --- Provider fee multiplier --- # Added on top of the raw spot price to account for your energy provider's fee. # Value is a DECIMAL MULTIPLIER, not a percentage. # Example: 0.12 means 12% provider fee added to the spot price. # Use decimal DOT, not comma (correct: 0.12 | wrong: 0,12). eprices_prov_fee: "0.12" # --- VAT rate multiplier --- # Value added to the price to account for Value Added Tax in your country. # Value is a DECIMAL MULTIPLIER, not a percentage. # Example: 0.22 means 22% VAT (Slovenia). Germany is 0.19, Austria is 0.20. # Use decimal DOT, not comma (correct: 0.22 | wrong: 0,22). eprices_vat_rate: "0.22" # ============================================================================== # --- ADDITIONAL INFO: Bidding zone list for Energy-Charts API on 2026-04-04 --- # (Check https://api.energy-charts.info/ for potential future changes) # # AT - Austria (click to show all available bidding zones) # BE - Belgium # BG - Bulgaria # CH - Switzerland # CZ - Czech Republic # DE-LU - Germany, Luxembourg # DE-AT-LU - Germany, Austria, Luxembourg # DK1 - Denmark 1 # DK2 - Denmark 2 # EE - Estionia # ES - Spain # FI - Finland # FR - France # GR - Greece # HR - Croatia # HU - Hungary # IT-Calabria - Italy Calabria # IT-Centre-North - Italy Centre North # IT-Centre-South - Italy Centre South # IT-North - Italy North # IT-SACOAC - Italy Sardinia Corsica AC # IT-SACODC - Italy Sardinia Corsica DC # IT-Sardinia - Italy Sardinia # IT-Sicily - Italy Sicily # IT-South - Italy South # LT - Lithuania # LV - Latvia # ME - Montenegro # NL - Netherlands # NO1 - Norway 1 # NO2 - Norway 2 # NO2NSL - Norway North Sea Link # NO3 - Norway 3 # NO4 - Norway 4 # NO5 - Norway 5 # PL - Poland # PT - Portugal # RO - Romania # RS - Serbia # SE1 - Sweden 1 # SE2 - Sweden 2 # SE3 - Sweden 3 # SE4 - Sweden 4 # SI - Slovenia # SK - Slovakia # ==============================================================================