def on_boot_notification(reason, charging_station, **kwargs): assert reason == 'PowerUp' assert charging_station == { 'vendor_name': 'ICU Eve Mini', 'firmware_version': "#1:3.4.0-2990#N:217H;1.0-223", 'model': 'ICU Eve Mini', } return call_result.BootNotificationPayload( current_time='2018-05-29T17:37:05.495259', interval=350, status='Accepted', )
def on_boot_notification(self, charging_station, reason, **kwargs): print(now(), ' Got a BootNotification!') return call_result.BootNotificationPayload( current_time=now(), interval=HEARTBEAT_INTERVAL, status=RegistrationStatus.accepted)
def on_boot_notitication(self, charging_station, reason, **kwargs): return call_result.BootNotificationPayload( current_time=datetime.utcnow().isoformat(), interval=10, status='Accepted')