mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-24 06:16:11 +02:00
* 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:
parent
ec6cfba895
commit
8238e90903
9 changed files with 37 additions and 27 deletions
|
@ -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">© 2022</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue