EEBus: make device code configurable (#18083)
This commit is contained in:
parent
e4f8d24b4c
commit
9ed40dcef8
1 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue