update values
Build and Publish / check-chart (push) Successful in 17s
Build and Publish / helm-release (push) Has been skipped
Build and Publish / go-binaries (push) Successful in 4m6s
Build and Publish / container-images (push) Successful in 8m26s

This commit is contained in:
2026-07-04 17:25:32 -04:00
parent b2ec72352a
commit 739099257f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ hull:
# Custom app config
# NOTE: Prefer supplying econetPassword via the ECONET_PASSWORD env var
econetEmail: ""
costPerKWH: 0.0
costPerKWH: 0.19
usageInterval: 5m
# go-app config
name: econet-exporter
+1 -1
View File
@@ -25,7 +25,7 @@ type ServiceConfig struct {
// CostPerKWH is the electricity price in US dollars per kWh (e.g. 0.18
// means 18 cents/kWh, NOT 18). It derives the econet_energy_cost_dollars
// metric from kWh energy usage.
CostPerKWH float64 `yaml:"costPerKWH" json:"costPerKWH,omitempty" env:"ECONET_COST_PER_KWH"`
CostPerKWH float64 `yaml:"costPerKWH" json:"costPerKWH,omitempty" env:"ECONET_COST_PER_KWH" default:"0.19"`
// UsageInterval controls how often energy/water usage history is polled.
UsageInterval time.Duration `yaml:"usageInterval" json:"usageInterval,omitempty" env:"ECONET_USAGE_INTERVAL"`