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]]
|
[[package]]
|
||||||
name = "tesla-charge-controller"
|
name = "tesla-charge-controller"
|
||||||
version = "0.1.6"
|
version = "0.1.7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-channel",
|
"async-channel",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "tesla-charge-controller"
|
name = "tesla-charge-controller"
|
||||||
version = "0.1.6"
|
version = "0.1.7"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MITNFA"
|
license = "MITNFA"
|
||||||
description = "Controls Tesla charge rate based on solar charge data"
|
description = "Controls Tesla charge rate based on solar charge data"
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
|
|
||||||
el = document.createElement('p');
|
el = document.createElement('p');
|
||||||
if (response) {
|
if (response) {
|
||||||
el.appendChild(document.createTextNode("Home"));
|
el.appendChild(document.createTextNode("At home"));
|
||||||
} else {
|
} else {
|
||||||
el.appendChild(document.createTextNode("Not home"));
|
el.appendChild(document.createTextNode("Not home"));
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,13 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body></body>
|
<body></body>
|
||||||
|
<div>
|
||||||
|
<h2>
|
||||||
|
<a href="/grafana">Grafana</a>
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
<button onclick="flash()">flash</button>
|
<button onclick="flash()">flash</button>
|
||||||
|
|
||||||
<div id="info"></div>
|
<div id="info"></div>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue