Hardybarth Salia: ignore heartbeat errors
This commit is contained in:
parent
f7e21b4c00
commit
dba335a2c0
1 changed files with 3 additions and 3 deletions
|
|
@ -114,9 +114,9 @@ func NewSalia(uri string, cache time.Duration) (api.Charger, error) {
|
|||
|
||||
func (wb *Salia) heartbeat() {
|
||||
for ; true; <-time.NewTicker(30 * time.Second).C {
|
||||
if err := wb.post(salia.HeartBeat, "alive"); err != nil {
|
||||
wb.log.ERROR.Println("heartbeat:", err)
|
||||
}
|
||||
// https://github.com/evcc-io/evcc/discussions/6336#discussioncomment-5077530
|
||||
// ignore error with fw 1.8.xx
|
||||
_ = wb.post(salia.HeartBeat, "alive")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue