Use default address if not configured
This commit is contained in:
parent
0def518b21
commit
b034fc072b
1 changed files with 2 additions and 1 deletions
|
|
@ -31,7 +31,8 @@ func NewPhoenixEMCPFromConfig(other map[string]interface{}) (api.Charger, error)
|
|||
URI string
|
||||
ID uint8
|
||||
}{
|
||||
ID: 180, // default
|
||||
URI: "192.168.0.8:502", // default
|
||||
ID: 180, // default
|
||||
}
|
||||
|
||||
if err := util.DecodeOther(other, &cc); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue