Adds non-working script to upload/download document from S3

Works in local test, does not work on POCloud due to the scripts not being in the header file
This commit is contained in:
Patrick McDonagh
2017-08-17 17:46:04 -05:00
parent 1e49613c51
commit ae0e6c4918
3 changed files with 170 additions and 0 deletions

12
HTML/Files.html Normal file
View File

@@ -0,0 +1,12 @@
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.92.0.min.js"></script>
<script src="https://s3.amazonaws.com/pocloud-scripts/s3files.js"></script>
<div id="fileApp"></div>
<script>
function check(){
console.log('CHECKING DEVICE <%=channels["flowmonitor.low_flow_gpm"].techName %>')
checkDevice('<%=channels["flowmonitor.low_flow_gpm"].techName %>');
};
setTimeout(check, 10000);
</script>