EEBus: make device code configurable (#18083)

This commit is contained in:
andig 2025-01-06 19:03:22 +01:00 • committed by GitHub
parent e4f8d24b4c
commit 9ed40dcef8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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