* fix #38 current assignment for 4-channel inverters

* added last received timestamp in /hoymiles livedata web page #47
* improved style.css
* improved NTP as described in #46
This commit is contained in:
lumapu 2022-05-19 16:52:21 +02:00
parent ec6cfba895
commit 8238e90903
9 changed files with 37 additions and 27 deletions

View file

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript">
getAjax('/livedata', 'livedata');
window.setInterval("getAjax('/livedata', 'livedata')", 10000);
window.setInterval("getAjax('/livedata', 'livedata')", {JS_TS});
function getAjax(url, resid) {
var http = null;
@ -31,7 +31,7 @@
<h1>AHOY - {DEVICE}</h1>
<div id="content" class="content">
<div id="livedata"></div>
<p>Every 10 seconds the values are updated</p>
<p>Every {TS}seconds the values are updated</p>
</div>
<div id="footer">
<p class="left">&copy 2022</p>