ScottHelme / AlexaNissanLeaf

An Alexa Skill to control the Nissan Leaf
50 stars 19 forks source link

Alexa start charging #14

Closed cahaverl closed 7 years ago

cahaverl commented 7 years ago

Add environment variable “scheduledEventArn” and handle CloudWatch scheduled events. The environment variable can be left unset if a scheduled event trigger is not configured. When a scheduled event fires, the lambda function will ask the car for an update. I have found this useful to program a daily update each morning after the car is supposed to have completed charging.