{"repo":"aws-samples/aws-appsync-iot-core-realtime-dashboard","free":true,"listed":false,"github":"https://github.com/aws-samples/aws-appsync-iot-core-realtime-dashboard","clone":"git clone https://github.com/aws-samples/aws-appsync-iot-core-realtime-dashboard.git","description":"This sample application demonstrates a React based web dashboard receiving real-time updates from IoT sensors. The solution is built with AWS AppSync, AWS Amplify, Amazon Location Service, and AWS IoT Core technologies.","language":"JavaScript","stars":126,"topics":["aws","aws-lambda","react","iot","graphql","appsync","dynamodb","cognito","aws-iot-core","aws-iot"],"license":"MIT-0","category":"dashboards-admin","readme_excerpt":"Realtime IoT Dashboard with AWS AppSync and Amazon Location Service Update!!! this project has been updated to use Amplify Gen2 to deploy the backend services in AWS. This application demonstrates a web application dashboard receiving real-time updates from a series of IoT sensors. It depicts a fictitious set of pH sensors deployed around the San Francisco Bay. The solution is built with React, AWS AppSync, Amazon Location Service, AWS Amplify, and AWS IoT technologies. The sensors are represented as the colored dots. Their color will fluxuate between red, green, and yellow based on the messages received from the sensors. Architecture 1. The sensor component is developed with the AWS IoT Device SDK for JavaScript. The sensors are registered as Things in IoT Core and publish random values to the Cloud on a configurable frequency. Metadata about each sensor, such as its geolocation, is stored in a Thing Shadow . 2. Rules in IoT Core subscribe to the message topic and forward the JSON payload to a Lambda function and the IoT Analytics pipeline. 3. The Node.js Lambda function executes a GraphQL mutation in AppSync. The mutation saves the sensor's value in DynamoDB and broadcasts the value in real-time to the web dashboard. The Lambda function uses an IAM role and policy to obtain permissions to interact with AppSync. 4. The React web dashboard application is written in JavaScript and subscribes to the AppSync sensor subscriptions. When new values are received, an Amazon Location ","default_branch":null,"files":null,"tree":[],"storefront":"/r/aws-samples","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aws-samples/aws-appsync-iot-core-realtime-dashboard/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}