diff --git a/charger/ocpp.go b/charger/ocpp.go index 324e8d896..6a93ccce7 100644 --- a/charger/ocpp.go +++ b/charger/ocpp.go @@ -261,7 +261,7 @@ func NewOCPP(id string, connector int, idtag string, // see who's there if c.hasRemoteTriggerFeature { - if err := conn.TriggerMessageRequest(core.BootNotificationFeatureName); err == nil { + if err := ocpp.Instance().TriggerMessageRequest(cp.ID(), core.BootNotificationFeatureName); err == nil { select { case <-time.After(timeout): c.log.DEBUG.Printf("BootNotification timeout")