tesla-charge-controller/webapp/shutoff/index.html
Alex Janka 7f4a880720
All checks were successful
Build .deb on release / Build-Deb (push) Successful in 1m53s
webui shutoff voltage + better start/stop requests
2024-01-26 09:04:06 +11:00

29 lines
922 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Tesla Charge Control</title>
<link id="favicon" rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🎚️</text></svg>">
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body onload="init_shutoff()">
<div class="container">
<p id="pid-control">
<h3>Shutoff voltage:</h3>
<input type="number" id="shutoff-voltage" step="1" min="40" max="60" autocomplete="off" />
<button id="set-shutoff-voltage" onclick="set_shutoff_voltage()">Set shutoff voltage</button>
<br><br>
<input type="number" id="shutoff-time" step="1" autocomplete="off" />
<button id="set-shutoff-time" onclick="set_shutoff_time()">Set shutoff time</button>
</p>
<p>
<a class="outlink" href="/">←Home</a>
</p>
</div>
</body>
</html>