adjust default inverter addr
This commit is contained in:
parent
6cb7c7a23e
commit
9ace279f5e
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -18,7 +18,7 @@ import (
|
||||||
|
|
||||||
var (
|
var (
|
||||||
httpAddr = flag.String("http-addr", ":9455", "Address to listen on")
|
httpAddr = flag.String("http-addr", ":9455", "Address to listen on")
|
||||||
inverterAddr = flag.String("inverter-addr", "rakmodule_00DBC1.local:502", "Address of inverter")
|
inverterAddr = flag.String("inverter-addr", "rakmodule_00DBC1:502", "Address of inverter")
|
||||||
scrapeInterval = flag.Duration("scrape-interval", 15*time.Second, "Period of modbus scraping loop")
|
scrapeInterval = flag.Duration("scrape-interval", 15*time.Second, "Period of modbus scraping loop")
|
||||||
|
|
||||||
registerGauges = make(map[uint16]prometheus.Gauge)
|
registerGauges = make(map[uint16]prometheus.Gauge)
|
||||||
|
|
Loading…
Reference in a new issue