{"id":56,"date":"2023-03-11T05:19:27","date_gmt":"2023-03-11T05:19:27","guid":{"rendered":"http:\/\/sjbcustom.com\/?page_id=56"},"modified":"2023-03-22T18:20:37","modified_gmt":"2023-03-22T18:20:37","slug":"watertemp","status":"publish","type":"page","link":"http:\/\/sjbcustom.com\/index.php\/watertemp\/","title":{"rendered":"Water Temps"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"56\" class=\"elementor elementor-56\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-24038539 elementor-section-boxed elementor-section-height-default elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no\" data-id=\"24038539\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d2cee36\" data-id=\"d2cee36\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-572ef52a elementor-section-boxed elementor-section-height-default elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no\" data-id=\"572ef52a\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1eb79180\" data-id=\"1eb79180\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-38e17b14 elementor-widget elementor-widget-image\" data-id=\"38e17b14\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.20.0 - 26-03-2024 *\/\n.elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=\".svg\"]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block}<\/style>\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"http:\/\/www.sjbcustom.com\/wp-content\/uploads\/2021\/04\/sjbbanner.jpg\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-2fed1255 elementor-section-full_width elementor-section-height-default elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no\" data-id=\"2fed1255\" data-element_type=\"section\" data-settings=\"{&quot;animation&quot;:&quot;none&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-14cf1ded\" data-id=\"14cf1ded\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-34a32af5 elementor-widget elementor-widget-image\" data-id=\"34a32af5\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"950\" height=\"110\" src=\"http:\/\/sjbcustom.com\/wp-content\/uploads\/2021\/07\/sjbbanner.jpg\" class=\"attachment-full size-full wp-image-51\" alt=\"\" srcset=\"http:\/\/sjbcustom.com\/wp-content\/uploads\/2021\/07\/sjbbanner.jpg 950w, http:\/\/sjbcustom.com\/wp-content\/uploads\/2021\/07\/sjbbanner-300x35.jpg 300w, http:\/\/sjbcustom.com\/wp-content\/uploads\/2021\/07\/sjbbanner-768x89.jpg 768w\" sizes=\"(max-width: 950px) 100vw, 950px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-428ef8ac wpr-main-menu-align-center wpr-main-menu-align--tabletleft wpr-main-menu-align--mobileleft wpr-pointer-underline wpr-pointer-line-fx wpr-pointer-fx-fade wpr-sub-icon-caret-down wpr-sub-menu-fx-fade wpr-nav-menu-bp-mobile wpr-mobile-menu-full-width wpr-mobile-menu-item-align-center wpr-mobile-toggle-v1 wpr-sub-divider-yes wpr-mobile-divider-yes elementor-widget elementor-widget-wpr-nav-menu\" data-id=\"428ef8ac\" data-element_type=\"widget\" data-settings=\"{&quot;menu_layout&quot;:&quot;horizontal&quot;}\" data-widget_type=\"wpr-nav-menu.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<nav class=\"wpr-nav-menu-container wpr-nav-menu-horizontal\" data-trigger=\"hover\"><ul id=\"menu-1-428ef8ac\" class=\"wpr-nav-menu\"><li class=\"menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-288\"><a href=\"http:\/\/sjbcustom.com\" class=\"wpr-menu-item wpr-pointer-item\">Home<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-285\"><a href=\"http:\/\/sjbcustom.com\/index.php\/music\/\" class=\"wpr-menu-item wpr-pointer-item\">Music<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-284\"><a href=\"http:\/\/sjbcustom.com\/index.php\/scuba\/\" class=\"wpr-menu-item wpr-pointer-item\">Scuba<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-286\"><a href=\"http:\/\/sjbcustom.com\/index.php\/video\/\" class=\"wpr-menu-item wpr-pointer-item\">Video<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-283\"><a href=\"http:\/\/sjbcustom.com\/index.php\/web\/\" class=\"wpr-menu-item wpr-pointer-item\">Web<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-282\"><a href=\"http:\/\/sjbcustom.com\/index.php\/rc\/\" class=\"wpr-menu-item wpr-pointer-item\">RC<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-281\"><a href=\"http:\/\/sjbcustom.com\/index.php\/files\/\" class=\"wpr-menu-item wpr-pointer-item\">Files<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-280\"><a href=\"http:\/\/sjbcustom.com\/index.php\/heater\/\" class=\"wpr-menu-item wpr-pointer-item\">Heater<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-287\"><a href=\"http:\/\/sjbcustom.com\/index.php\/watertemp\/\" class=\"wpr-menu-item wpr-pointer-item\">Water Temps<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-279\"><a href=\"http:\/\/sjbcustom.com\/index.php\/contact\/\" class=\"wpr-menu-item wpr-pointer-item\">Contact<\/a><\/li>\n<\/ul><\/nav><nav class=\"wpr-mobile-nav-menu-container\"><div class=\"wpr-mobile-toggle-wrap\"><div class=\"wpr-mobile-toggle\"><span class=\"wpr-mobile-toggle-line\"><\/span><span class=\"wpr-mobile-toggle-line\"><\/span><span class=\"wpr-mobile-toggle-line\"><\/span><\/div><\/div><ul id=\"mobile-menu-2-428ef8ac\" class=\"wpr-mobile-nav-menu\"><li class=\"menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-288\"><a href=\"http:\/\/sjbcustom.com\" class=\"wpr-mobile-menu-item\">Home<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-285\"><a href=\"http:\/\/sjbcustom.com\/index.php\/music\/\" class=\"wpr-mobile-menu-item\">Music<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-284\"><a href=\"http:\/\/sjbcustom.com\/index.php\/scuba\/\" class=\"wpr-mobile-menu-item\">Scuba<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-286\"><a href=\"http:\/\/sjbcustom.com\/index.php\/video\/\" class=\"wpr-mobile-menu-item\">Video<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-283\"><a href=\"http:\/\/sjbcustom.com\/index.php\/web\/\" class=\"wpr-mobile-menu-item\">Web<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-282\"><a href=\"http:\/\/sjbcustom.com\/index.php\/rc\/\" class=\"wpr-mobile-menu-item\">RC<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-281\"><a href=\"http:\/\/sjbcustom.com\/index.php\/files\/\" class=\"wpr-mobile-menu-item\">Files<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-280\"><a href=\"http:\/\/sjbcustom.com\/index.php\/heater\/\" class=\"wpr-mobile-menu-item\">Heater<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-287\"><a href=\"http:\/\/sjbcustom.com\/index.php\/watertemp\/\" class=\"wpr-mobile-menu-item\">Water Temps<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-279\"><a href=\"http:\/\/sjbcustom.com\/index.php\/contact\/\" class=\"wpr-mobile-menu-item\">Contact<\/a><\/li>\n<\/ul><\/nav>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-6953f07 elementor-section-boxed elementor-section-height-default elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no\" data-id=\"6953f07\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-164c2c3\" data-id=\"164c2c3\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f231f48 elementor-widget elementor-widget-html\" data-id=\"f231f48\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\n\n\n<style>\np {text-align: center; color:#274b6d;}\n<\/style>\n<p id=\"lastRead\"><\/p>\n\n<table>\n    <tr>\n        <td>\n            <p id=\"SurfaceTemp\"><\/p>\n            <iframe id=\"SurfaceFrame\" width=\"450\" height=\"260\" style=\"border: 1px solid #cccccc;\" src=\"https:\/\/thingspeak.com\/channels\/2057748\/charts\/1?average=10&bgcolor=%23ffffff&color=%23d62020&dynamic=true&days=10&type=line&yaxismax=80&yaxismin=40&width=500&title=&round=1\">\n            <\/iframe>\n        <\/td>\n        <td>\n            <p id=\"10ftTemp\"><\/p>\n            <iframe id=\"10ftFrame\" width=\"450\" height=\"260\" style=\"border: 1px solid #cccccc;\" src=\"https:\/\/thingspeak.com\/channels\/2057748\/charts\/2?average=10&bgcolor=%23ffffff&color=%23d62020&dynamic=true&days=10&type=line&yaxismax=80&yaxismin=40&width=500&title=&round=1\">\n            <\/iframe>\n        <\/td>\n    <\/tr>\n    <tr>\n        <td>\n            <p id=\"20ftTemp\"><\/p>\n            <iframe id=\"20ftFrame\" width=\"450\" height=\"260\" style=\"border: 1px solid #cccccc;\" src=\"https:\/\/thingspeak.com\/channels\/2057748\/charts\/3?average=10&bgcolor=%23ffffff&color=%23d62020&dynamic=true&days=10&type=line&yaxismax=80&yaxismin=40&width=500&title=&round=1\">\n            <\/iframe>\n        <\/td>\n        <td>\n            <p id=\"30ftTemp\"><\/p>\n            <iframe id=\"30ftFrame\" width=\"450\" height=\"260\" style=\"border: 1px solid #cccccc;\" src=\"https:\/\/thingspeak.com\/channels\/2057748\/charts\/4?average=10&bgcolor=%23ffffff&color=%23d62020&dynamic=true&days=10&type=line&yaxismax=80&yaxismin=40&width=500&title=&round=1\">\n            <\/iframe>\n        <\/td>\n    <\/tr>\n     <tr>\n        <td>\n            <p id=\"40ftTemp\"><\/p>\n            <iframe id=\"40ftFrame\" width=\"450\" height=\"260\" style=\"border: 1px solid #cccccc;\" src=\"https:\/\/thingspeak.com\/channels\/2057748\/charts\/5?average=10&bgcolor=%23ffffff&color=%23d62020&dynamic=true&days=10&type=line&yaxismax=80&yaxismin=40&width=500&title=&round=1\">\n            <\/iframe>\n        <\/td>\n        <td>\n            <p id=\"50ftTemp\"><\/p>\n            <iframe id=\"50ftFrame\" width=\"450\" height=\"260\" style=\"border: 1px solid #cccccc;\" src=\"https:\/\/thingspeak.com\/channels\/2057748\/charts\/6?average=10&bgcolor=%23ffffff&color=%23d62020&dynamic=true&days=10&type=line&yaxismax=80&yaxismin=40&width=500&title=&round=1\">\n            <\/iframe>\n        <\/td>\n    <\/tr>\n    <tr>\n        <td>\n            <p id=\"60ftTemp\"><\/p>\n            <iframe id=\"60ftFrame\" width=\"450\" height=\"260\" style=\"border: 1px solid #cccccc;\" src=\"https:\/\/thingspeak.com\/channels\/2057748\/charts\/7?average=10&bgcolor=%23ffffff&color=%23d62020&dynamic=true&days=10&type=line&yaxismax=80&yaxismin=40&width=500&title=&round=1\">\n            <\/iframe>\n        <\/td>\n        <td>\n            <p id=\"80ftTemp\"><\/p>\n            <iframe id=\"80ftFrame\" width=\"450\" height=\"260\" style=\"border: 1px solid #cccccc;\" src=\"https:\/\/thingspeak.com\/channels\/2057748\/charts\/8?average=10&bgcolor=%23ffffff&color=%23d62020&dynamic=true&days=10&type=line&yaxismax=80&yaxismin=40&width=500&title=&round=1\">\n            <\/iframe>\n        <\/td>\n    <\/tr>\n<\/table>\n\n<script>\n\nfunction toTimeString(totalSeconds) {\n  const totalMs = totalSeconds * 1000;\n  const result = new Date(totalMs).toISOString().slice(11, 19);\n\n  return result;\n}\n\nfunction GetData(){\n    console.log(\"Getting Data...\");\n    var request = new XMLHttpRequest();\n    var urlHere = \"https:\/\/api.thingspeak.com\/channels\/2057748\/feeds.json?\";\n        urlHere = urlHere + \"api_key=6LIQ1T1NATPOTJYF&results=1\";\n    console.log(urlHere);\n    request.open('GET', urlHere, true);\n    \n    \/\/window.alert(\"HI\")\n    \n    request.onload = function() {\n    \/\/  window.alert(5 + 6);\n      \n      if (request.status >= 200 && request.status < 400) {\n        var data = JSON.parse(request.responseText);\n        \n        console.log(data);\n        \n        document.getElementById(\"SurfaceTemp\").innerHTML = \"Surface:  \" + Math.round(data.feeds[0].field1) + \"\u00b0F\";\n        document.getElementById(\"10ftTemp\").innerHTML = \"10ft:  \" + Math.round(data.feeds[0].field2) + \"\u00b0F\";\n        document.getElementById(\"20ftTemp\").innerHTML = \"20ft:  \" + Math.round(data.feeds[0].field3) + \"\u00b0F\";\n        document.getElementById(\"30ftTemp\").innerHTML = \"30ft:  \" + Math.round(data.feeds[0].field4) + \"\u00b0F\";\n        document.getElementById(\"40ftTemp\").innerHTML = \"40ft:  \" + Math.round(data.feeds[0].field5) + \"\u00b0F\";\n        document.getElementById(\"50ftTemp\").innerHTML = \"50ft:  \" + Math.round(data.feeds[0].field6) + \"\u00b0F\";\n        document.getElementById(\"60ftTemp\").innerHTML = \"60ft:  \" + Math.round(data.feeds[0].field7) + \"\u00b0F\";\n        document.getElementById(\"80ftTemp\").innerHTML = \"80ft:  \" + Math.round(data.feeds[0].field8) + \"\u00b0F\";\n        \n\n\n        var isoDateTime = new Date(data.feeds[0].created_at);\n        var localDateTime = isoDateTime.toLocaleDateString() + \" \" + isoDateTime.toLocaleTimeString();\n        \n\n        document.getElementById(\"lastRead\").innerHTML = \"Last Updated: \" + localDateTime;\n        } else {\n        \/\/ We reached our target server, but it returned an error\n        }\n    };\n    \n    \/\/ setTimeout(() => {\n    \/\/     console.log(\"Reloading...\");\n    \/\/     GetData();\n    \/\/ }, 10000);   \/\/ Reload data every 10 seconds\n    \n    request.send();\n}\n\nGetData();\n    \/\/document.getElementById(\"demo\").innerHTML = request.status;\n<\/script>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-649542c elementor-section-boxed elementor-section-height-default elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no\" data-id=\"649542c\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-454c1fb\" data-id=\"454c1fb\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-087ebee elementor-widget elementor-widget-html\" data-id=\"087ebee\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\np {text-align: center; color:black; font-family:georgia,garamond,serif;font-size:16px;font-style:bold; vertical-align: middle;}\n<\/style>\n\n\n\n<table>\n    <tr>\n        <td style=\"border-collapse: collapse; border: none;\">\n            <p style=\"font-weight:bold; font-family:georgia,garamond,serif;font-size:12px; vertical-align: middle;\">Water Temperature<\/p>\n        <\/td>\n    <\/tr>\n    <tr>\n        <td style=\"border-collapse: collapse; border: none;\">\n            <p id=\"bSurfaceTemp\"><\/p>\n        <\/td>\n    <\/tr>\n     <tr>\n         <td style=\"border-collapse: collapse; border: none;\">\n            <p id=\"b10ftTemp\"><\/p>\n          \n        <\/td>\n    <\/tr>\n    <tr>\n        <td style=\"border-collapse: collapse; border: none;\">\n            <p id=\"b20ftTemp\"><\/p>\n            <\/td>\n    <\/tr>\n    <tr>\n        <td style=\"border-collapse: collapse; border: none;\">\n     \n            <p id=\"b30ftTemp\"><\/p>\n           \n        <\/td>\n    <\/tr>\n     <tr>\n        <td style=\"border-collapse: collapse; border: none;\">\n            <p id=\"b40ftTemp\"><\/p>\n        <\/td>\n    <\/tr>\n    <tr>\n        <td style=\"border-collapse: collapse; border: none;\">\n       \n            <p id=\"b50ftTemp\"><\/p>\n           \n        <\/td>\n    <\/tr>\n    <tr>\n        <td style=\"border-collapse: collapse; border: none;\">\n            <p id=\"b60ftTemp\"><\/p>\n           \n       <\/td>\n    <\/tr>\n    <tr>\n        <td style=\"border-collapse: collapse; border: none;\">\n            <p id=\"b80ftTemp\"><\/p>\n          \n        <\/td>\n    <\/tr>\n<\/table>\n\n<p id=\"lastRead\" style=\"color:black; font-size:60%;\"><\/p>\n\n<script>\n\nfunction toTimeString(totalSeconds) {\n  const totalMs = totalSeconds * 1000;\n  const result = new Date(totalMs).toISOString().slice(11, 19);\n\n  return result;\n}\n\nfunction GetData(){\n    console.log(\"Getting Data...\");\n    var request = new XMLHttpRequest();\n    var urlHere = \"https:\/\/api.thingspeak.com\/channels\/2057748\/feeds.json?\";\n        urlHere = urlHere + \"api_key=6LIQ1T1NATPOTJYF&results=1\";\n    console.log(urlHere);\n    request.open('GET', urlHere, true);\n    \n    \/\/window.alert(\"HI\")\n    \n    request.onload = function() {\n    \/\/  window.alert(5 + 6);\n      \n      if (request.status >= 200 && request.status < 400) {\n        var data = JSON.parse(request.responseText);\n        \n        console.log(data);\n        \n        document.getElementById(\"bSurfaceTemp\").innerHTML = \"Surface:  \" + Math.round(data.feeds[0].field1) + \"\u00b0F\";\n        document.getElementById(\"b10ftTemp\").innerHTML = \"10ft:  \" + Math.round(data.feeds[0].field2) + \"\u00b0F\";\n        document.getElementById(\"b20ftTemp\").innerHTML = \"20ft:  \" + Math.round(data.feeds[0].field3) + \"\u00b0F\";\n        document.getElementById(\"b30ftTemp\").innerHTML = \"30ft:  \" + Math.round(data.feeds[0].field4) + \"\u00b0F\";\n        document.getElementById(\"b40ftTemp\").innerHTML = \"40ft:  \" + Math.round(data.feeds[0].field5) + \"\u00b0F\";\n        document.getElementById(\"b50ftTemp\").innerHTML = \"50ft:  \" + Math.round(data.feeds[0].field6) + \"\u00b0F\";\n        document.getElementById(\"b60ftTemp\").innerHTML = \"60ft:  \" + Math.round(data.feeds[0].field7) + \"\u00b0F\";\n        document.getElementById(\"b80ftTemp\").innerHTML = \"80ft:  \" + Math.round(data.feeds[0].field8) + \"\u00b0F\";\n        \n\n\n        var isoDateTime = new Date(data.feeds[0].created_at);\n        var localDateTime = isoDateTime.toLocaleDateString() + \" \" + isoDateTime.toLocaleTimeString();\n        \n\n        document.getElementById(\"lastRead\").innerHTML = \"Last Updated: \" + localDateTime;\n        } else {\n        \/\/ We reached our target server, but it returned an error\n        }\n    };\n    \n    \/\/ setTimeout(() => {\n    \/\/     console.log(\"Reloading...\");\n    \/\/     GetData();\n    \/\/ }, 10000);   \/\/ Reload data every 10 seconds\n    \n    request.send();\n}\n\nGetData();\n    \/\/document.getElementById(\"demo\").innerHTML = request.status;\n<\/script>\n\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Home Music Scuba Video Web RC Files Heater Water Temps Contact Home Music Scuba Video Web RC Files Heater Water Temps Contact Water Temperature<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"_links":{"self":[{"href":"http:\/\/sjbcustom.com\/index.php\/wp-json\/wp\/v2\/pages\/56"}],"collection":[{"href":"http:\/\/sjbcustom.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/sjbcustom.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/sjbcustom.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/sjbcustom.com\/index.php\/wp-json\/wp\/v2\/comments?post=56"}],"version-history":[{"count":317,"href":"http:\/\/sjbcustom.com\/index.php\/wp-json\/wp\/v2\/pages\/56\/revisions"}],"predecessor-version":[{"id":663,"href":"http:\/\/sjbcustom.com\/index.php\/wp-json\/wp\/v2\/pages\/56\/revisions\/663"}],"wp:attachment":[{"href":"http:\/\/sjbcustom.com\/index.php\/wp-json\/wp\/v2\/media?parent=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}