Works in local test, does not work on POCloud due to the scripts not being in the header file
13 lines
423 B
HTML
13 lines
423 B
HTML
<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>
|