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:
12
HTML/Files.html
Normal file
12
HTML/Files.html
Normal 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>
|
||||
Reference in New Issue
Block a user