Skip to content

Commit

Permalink
EEBus: make device code configurable (#18083)
Browse files Browse the repository at this point in the history
  • Loading branch information
andig authored Jan 6, 2025
1 parent e4f8d24 commit 9ed40dc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions server/eebus/types.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
package eebus

import "github.com/evcc-io/evcc/util"

const (
BrandName string = "EVCC"
Model string = "HEMS"
DeviceCode string = "EVCC_HEMS_01" // used as common name in cert generation
BrandName string = "EVCC"
Model string = "HEMS"
)

// used as common name in cert generation
var DeviceCode = util.Getenv("EEBUS_DEVICE_CODE", "EVCC_HEMS_01")

type Config struct {
URI string
ShipID string
Expand Down

0 comments on commit 9ed40dc

Please sign in to comment.