working api, frontend, sensors and camera

This commit is contained in:
yeet
2022-01-03 20:50:24 +02:00
parent 9da65e8dc1
commit ca14043788
7 changed files with 138 additions and 11 deletions

21
templates/index.html Normal file
View File

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<title>PWSS</title>
</head>
<body>
<img id="camera" src="http://openwebrx.local:9000/stream.mjpg" width="640" height="480" autoplay="">
<div id="weather-data">
<ul>
<li>{{stinker}}</li>
{% for i in HTP.keys() %}
<li>{{HTP[i]}}</li>
{% endfor %}
</ul>
</div>
</body>
</html>