Compare commits
51
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3341583dc6 | ||
|
|
5318d3e79a | ||
|
|
2a7d2a0b8b | ||
|
|
ba8151305a | ||
|
|
6cb14e42f1 | ||
|
|
0eae8b76a0 | ||
|
|
d23ad89d67 | ||
|
|
dc1481bc0d | ||
|
|
28ae6542fb | ||
|
|
521e01bc92 | ||
|
|
9a2fd3b959 | ||
|
|
f46ad0861d | ||
|
|
b2030187c1 | ||
|
|
0fc519be14 | ||
|
|
3298be6df7 | ||
|
|
f161d98746 | ||
|
|
e197e924ae | ||
|
|
0c0f6c5d0f | ||
|
|
81f946fc24 | ||
|
|
c61a6f8797 | ||
|
|
940f63ff94 | ||
|
|
6a9613f40c | ||
|
|
f06bafc72a | ||
|
|
cc339584a0 | ||
|
|
dfa3cafdf5 | ||
|
|
536435aac2 | ||
|
|
869c826774 | ||
|
|
c6607a75ab | ||
|
|
bf832ac86b | ||
|
|
3b3c7a3f13 | ||
|
|
75950a7eae | ||
|
|
4169b0c3e5 | ||
|
|
8ece9ba131 | ||
|
|
f6e00842d8 | ||
|
|
5e04013e2d | ||
|
|
8d61712642 | ||
|
|
32f3fc754f | ||
|
|
9fd1b3976d | ||
|
|
3754bbc380 | ||
|
|
a000fb6c44 | ||
|
|
be4c2c403c | ||
|
|
e636bc53ca | ||
|
|
fdb798a430 | ||
|
|
33cdb205b3 | ||
|
|
8069ab65f2 | ||
|
|
455d191ea1 | ||
|
|
0172b6bcf2 | ||
|
|
65cf547c6c | ||
|
|
741be479a6 | ||
|
|
958691a481 | ||
|
|
c22e8bc71d |
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
[version]
|
[version]
|
||||||
major = 1
|
major = 1
|
||||||
minor = 5
|
minor = 5
|
||||||
patch = 9
|
patch = 7
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
date = "2026-09-29"
|
date = "2026-09-29"
|
||||||
time = "23:38:58"
|
time = "22:49:44"
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ function render(status) {
|
|||||||
airCard.style.setProperty("--air-color", airPalette.color);
|
airCard.style.setProperty("--air-color", airPalette.color);
|
||||||
airCard.style.setProperty("--air-glow", airPalette.glow);
|
airCard.style.setProperty("--air-glow", airPalette.glow);
|
||||||
$("#co2-progress").style.width = `${Math.max(0, Math.min(100, quality.pct))}%`;
|
$("#co2-progress").style.width = `${Math.max(0, Math.min(100, quality.pct))}%`;
|
||||||
setText("#room-temp", numberOrDash(sensor.temperature, 1));
|
setText("#room-temp", numberOrDash(sensor.temperature ?? tion.in_temp, 1));
|
||||||
setText("#humidity", numberOrDash(sensor.humidity));
|
setText("#humidity", numberOrDash(sensor.humidity));
|
||||||
setText("#current-time", schedule.current_time || tion.device_time || "—");
|
setText("#current-time", schedule.current_time || tion.device_time || "—");
|
||||||
setText("#next-time", schedule.next_time || "—");
|
setText("#next-time", schedule.next_time || "—");
|
||||||
|
|||||||
+2
-2
@@ -74,7 +74,7 @@ function renderAir(sensor, tion) {
|
|||||||
airCard.style.setProperty("--air-glow", airPalette.glow);
|
airCard.style.setProperty("--air-glow", airPalette.glow);
|
||||||
$("#co2-progress").style.width = `${Math.max(0, Math.min(100, quality.pct))}%`;
|
$("#co2-progress").style.width = `${Math.max(0, Math.min(100, quality.pct))}%`;
|
||||||
setPill("#sensor-status", sensor.online ? "Online" : "Offline", sensor.online ? "good" : "bad");
|
setPill("#sensor-status", sensor.online ? "Online" : "Offline", sensor.online ? "good" : "bad");
|
||||||
text("#room-temp", numberOrDash(sensor.temperature, 1));
|
text("#room-temp", numberOrDash(sensor.temperature ?? tion.in_temp, 1));
|
||||||
text("#humidity", numberOrDash(sensor.humidity));
|
text("#humidity", numberOrDash(sensor.humidity));
|
||||||
text("#pm25", numberOrDash(sensor.pm25));
|
text("#pm25", numberOrDash(sensor.pm25));
|
||||||
text("#pm10", numberOrDash(sensor.pm10));
|
text("#pm10", numberOrDash(sensor.pm10));
|
||||||
@@ -122,7 +122,7 @@ function render(status) {
|
|||||||
$("#mode-outside").classList.toggle("active", tion.mode === "outside");
|
$("#mode-outside").classList.toggle("active", tion.mode === "outside");
|
||||||
$("#mode-recirculation").classList.toggle("active", tion.mode === "recirculation");
|
$("#mode-recirculation").classList.toggle("active", tion.mode === "recirculation");
|
||||||
text("#mode-name", tion.mode === "recirculation" ? "Рециркуляция" : "Приточная вентиляция");
|
text("#mode-name", tion.mode === "recirculation" ? "Рециркуляция" : "Приточная вентиляция");
|
||||||
text("#outside-temp", numberOrDash(tion.in_temp));
|
text("#outside-temp", numberOrDash(tion.out_temp));
|
||||||
text("#filter-remain", numberOrDash(tion.filter_remain));
|
text("#filter-remain", numberOrDash(tion.filter_remain));
|
||||||
const filterPercent = Math.max(0, Math.min(100, Number(tion.filter_remain || 0) / 2));
|
const filterPercent = Math.max(0, Math.min(100, Number(tion.filter_remain || 0) / 2));
|
||||||
$("#filter-progress").style.width = `${filterPercent}%`;
|
$("#filter-progress").style.width = `${filterPercent}%`;
|
||||||
|
|||||||
+1
-1
@@ -158,6 +158,6 @@
|
|||||||
</footer>
|
</footer>
|
||||||
</form>
|
</form>
|
||||||
</dialog>
|
</dialog>
|
||||||
<script type="module" src="/ui/static/js/tion.js?v=2"></script>
|
<script type="module" src="/ui/static/js/tion.js?v=20260927-1"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user