link to grafana from main page
This commit is contained in:
parent
d6c1f5fdf7
commit
a80ca1ae68
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -2193,7 +2193,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "tesla-charge-controller"
|
||||
version = "0.1.6"
|
||||
version = "0.1.7"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-channel",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "tesla-charge-controller"
|
||||
version = "0.1.6"
|
||||
version = "0.1.7"
|
||||
edition = "2021"
|
||||
license = "MITNFA"
|
||||
description = "Controls Tesla charge rate based on solar charge data"
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
|
||||
el = document.createElement('p');
|
||||
if (response) {
|
||||
el.appendChild(document.createTextNode("Home"));
|
||||
el.appendChild(document.createTextNode("At home"));
|
||||
} else {
|
||||
el.appendChild(document.createTextNode("Not home"));
|
||||
}
|
||||
|
@ -93,7 +93,13 @@
|
|||
</head>
|
||||
|
||||
<body></body>
|
||||
<div>
|
||||
<h2>
|
||||
<a href="/grafana">Grafana</a>
|
||||
</h2>
|
||||
</div>
|
||||
<button onclick="flash()">flash</button>
|
||||
|
||||
<div id="info"></div>
|
||||
|
||||
</html>
|
Loading…
Reference in a new issue