ConnectSense Smart Power Cord

Create a serverless IoT backend for your Smart Power Cord application

This Quick Start creates a serverless Internet of Things (IoT) backend for developers who want to build applications for the ConnectSense Smart Power Cord (SPC) on the Amazon Web Services (AWS) Cloud. The SPC is distributed by Grid Connect. You can use this Quick Start with the SPC to connect your legacy edge devices and machines—such as motors, pumps, compressors, electric cars, and IT equipment—to an IoT architecture on AWS. AWS IoT Core can ingest power-related metrics from any 110 V or 240 V device.

This deployment works with the ConnectSense Smart Power Cord for AWS (CS-SC-EXT6-15AMP-AWS). The following are some examples of things you might do remotely with this deployment: monitor power, turn power on or off, reboot, sense usage, read voltage, read the power factor, or provide data that leads to better maintenance schedules.

The Smart Power Cord for AWS uses a Secure Element authentication chip that's preloaded with credentials to help you provision your cloud application securely. You can augment the Quick Start with additional services and features to create a full-fledged, production-grade application.

For general information on ConnectSense smart-home devices, see the ConnectSense website.

This Quick Start was developed by Grid Connect and Trek10 in collaboration with AWS. Both Grid Connect and Trek10 are AWS Partners.

  •  What you'll build
  • This Quick Start sets up the following:

    • Amazon API Gateway for ConnectSense devices to self-provision.
    • AWS Lambda: one function to provision devices and one to generate alerts to send to the Amazon Simple Notification Service (Amazon SNS) topic. The Lambda functions require AWS Identity and Access Management (IAM) roles created by the Quick Start.
    • An Amazon SNS topic for publishing alerts.
    • AWS IoT Core to publish the device metrics.
    • AWS IoT Analytics to provide a pipeline, channel, data store, and dataset for processing the device metrics.
    • Amazon QuickSight to provide a dashboard for data visualization.
    • Amazon SageMaker for a machine learning model.
    • AWS IoT SiteWise for an asset model.

    * The template that deploys the Quick Start into an existing VPC skips the components marked by asterisks and prompts you for your existing VPC configuration.

  •  How to deploy
  • To deploy the ConnectSense Smart Power Cord Quick Start, follow the instructions in the deployment guide. The stack-deployment process, not including preparation and post-deployment steps, takes about 10 minutes. It includes these steps:

    1. If you don't already have an AWS account, sign up at, and sign in to your account.
    2. Deploy the Quick Start. Before you create the stack, choose the AWS Region from the top toolbar.

    Amazon may share user-deployment information with the AWS Partner that collaborated with AWS on this solution.  

  •  Cost and licenses
  • You are responsible for the cost of the AWS services and any third-party licenses used while running this Quick Start reference deployment. There is no additional cost for using this Quick Start.

    The AWS CloudFormation templates for this Quick Start include configuration parameters that you can customize. Some of these settings, such as instance type, affect the cost of deployment. For cost estimates, see the pricing pages for each AWS service you use. Prices are subject to change.

    Tip: After you deploy the Quick Start, create AWS Cost and Usage Reports to track costs associated with the Quick Start. These reports deliver billing metrics to an Amazon Simple Storage Service (Amazon S3) bucket in your account. They provide cost estimates based on usage throughout each month and aggregate the data at the end of the month. For more information, see What are AWS Cost and Usage Reports?