Skip to content

Commit 8d2960e

Browse files
committed
web UI: temperature sensor settings on app installs
While I still have mixed feelings about accessing GPIOs (and especially I2C) on app installs, certainly it makes sense to support USB sensors. More importantly, app installs already support CPU temperature (if available), and with this change the switch between C and F is available to those installs as well. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
1 parent 28d3b02 commit 8d2960e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

release-notes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Changes since v3.0.6
22
=======
3+
- web UI: make temperature sensor settings available on app installs
34
- beta-notes: add hint about DNS rebind protection
45
- beta-notes: correctly handle global name link for app installs
56
- fix issue displaying negative external temperatures on some Raspberry Pis with DHT11/22 sensor

src/modules/adsb-feeder/filesystem/root/opt/adsb/adsb-setup/templates/advanced.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ <h5 class="mt-4">CSS Theme</h5>
4343
</div>
4444
</form>
4545
</div>
46-
{% if is_image %}
4746
{% if env_value_by_tag('temp_sensor') == "" %}
4847
<div class="col-12 col-lg-6">
4948
<h5 class="mt-4">Temperature information</h5>
@@ -143,7 +142,6 @@ <h5 class="modal-title" id="tempsensor_label">Pick your temperature sensor</h5>
143142
</div>
144143
</div>
145144
</div>
146-
{% endif %}
147145
<div class="col-12 col-lg-6">
148146
<h5 class="mt-4">Skystats</h5>
149147
<form method="POST">

0 commit comments

Comments
 (0)