Covid-19 Notification System using AWS Cloud, Alexa Skill Kit and Time Series Forecasting with Facebook Prophet.

Design of Covid-19 Notification System

Here’s the code repository:

Required API’s for Covid-19 Data:

AWS Services:

Data Collection:

This function gets the daily new cases in the State.
Initial few lines of lambda_handler

Alexa Skill Development:

  1. Goal of the skill: Responding to the user’s request by retrieving the data from S3 based on the request.
  2. Invocation: For every skill, there should be a unique name to identify our skill from other custom skills. In our case the name of our skill is “Covid notification system”. We can invoke our skill by using open/launch/begin skill name(“covid notification system”) and once the skill opens we can give our command or we can also input “Covid notification system” and give command in one shot as shown in the example. For example: we can say “Alexa, ask Covid notification system to tell the surge in Covid-19 cases in my Zip code”
  3. Request: As shown in the above example, once the user passes the command, this request will be formed into a JSON type request and will be send to the endpoint. Here, we developed a Lambda function as endpoint to take the JSON request from Alexa.
  4. Response: Now, Lambda function will form a similar JSON response using the data in CSV file from S3 bucket and send it back to Alexa.
Alexa developer console
Intent section on Alexa developer console
Missouri Intent
Slot section on Alexa developer console
Endpoint section on Alexa developer console
AWS Lambda service on AWS Console
Testing section on Alexa developer console
  1. Launch Request: This request is called when the skill is invoked. For example: “open {Skill name}”. We need to respond with a welcome message for the launch request as shown in the above screenshot.
  2. IntentRequest: After opening the skill, whatever command the user will pass, IntentRequest will be called. Lambda should form a suitable response as per intent name in the request and send it back to Alexa.
  3. SessionEndedRequest: This request is called when user doesn’t say anything or there is some error in the code.

Time Series Forecasting using Facebook Prophet:

m = Prophet()
prophet_pred = m.predict(future)




Cloud Engineer | AWS Cloud, DevOps and Data Enthusiast!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Top 10 Laravel Development Company

C Static Libraries, explained.

Notenik Project 1 — Create a Simple Collection of Notes

You’re an Airline Pilot. Why do you want to be an Indie Hacker?

Driving School Simulator MOD APK v1.0.3 Mod Free Shopping

Simplifying App Development with FlutterFlow — A Drag and Drop UI builder for Flutter.

Fun and interesting commands in Linux

Make Spring Project with Spring Initialzr

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Manideep Reddy Gillela

Manideep Reddy Gillela

Cloud Engineer | AWS Cloud, DevOps and Data Enthusiast!

More from Medium

Database Replication with Change Data Capture over Kafka

How to deploy your ML model with Flask

Data Normalization in Database Management

Data Streaming Explained: Overview, Components, Uses & Benefits of Data Streaming