IoT button data visualization
Simple scripts to query AWS DynamoDB database that contains time-series of data sent by Amazon IoT (Dash) button. The data is represented as a table and a scatter plot. Read detailed description of this project on my blog: on my blog.
- How to set-up of the link between the AWS IoT and DynamoDB
- Basics of AWS SDK for JavaScript and the DynamoDB query process
- Connection Raspberry Pi with temperature sensors to AWS
About files in this repository:
index.html - simple front-end for query of DynamoDB and data processing
table_processor.js - processing of the query data and representation as HTML table using dynatable.js
plotly_scatter.js - visualization of the processed data with plot.ly JavaScript library
You have to obtain security credentials using AWS IAM, make sure they allow you to read DynamoDB, and have the databas(es) set-up as described in posts mentioned above.
Example of the produced plot is below
<script data-plotly="f.hilitski:140" src="https://plot.ly/embed.js" async></script>