Skip to content

Commit 2ad4969

Browse files
limengducursoragent
andcommitted
feat: add Soil Moisture Sensor card to web flasher UI
Add the soil moisture sensor firmware card to the Seeed-Specific Firmware section in the web flasher HTML page. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent d85d5d6 commit 2ad4969

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

docs/flasher/index.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,31 @@ <h2 class="section-title" data-en="Seeed-Specific Firmware" data-zh="Seeed 专
389389
<div class="unsupported" data-en="Browser not supported" data-zh="浏览器不支持">Browser not supported</div>
390390
</div>
391391

392+
<!-- Soil Moisture Sensor -->
393+
<div class="firmware-card">
394+
<div class="card-header">
395+
<div class="card-icon">🌱</div>
396+
<div>
397+
<div class="card-title" data-en="Soil Moisture Sensor" data-zh="土壤湿度传感器">Soil Moisture Sensor</div>
398+
<div class="card-chips">
399+
<span class="card-chip seeed">XIAO ESP32-C6</span>
400+
</div>
401+
</div>
402+
</div>
403+
<p class="card-description" data-en="Soil moisture sensor with LED indicators. Supports dry/normal/wet level detection with visual feedback." data-zh="带 LED 指示灯的土壤湿度传感器。支持干燥/正常/湿润等级检测,并提供可视化反馈。">
404+
Soil moisture sensor with LED indicators. Supports dry/normal/wet level detection with visual feedback.
405+
</p>
406+
<div class="card-features">
407+
<span class="feature-tag" data-en="Soil Moisture" data-zh="土壤湿度">Soil Moisture</span>
408+
<span class="feature-tag" data-en="LED Indicator" data-zh="LED 指示灯">LED Indicator</span>
409+
<span class="feature-tag" data-en="ADC" data-zh="ADC">ADC</span>
410+
</div>
411+
<esp-web-install-button manifest="./firmware/XIAO_Soil_Moisture_Sensor/manifest.json">
412+
<button slot="activate" data-en="Install Firmware" data-zh="安装固件">Install Firmware</button>
413+
</esp-web-install-button>
414+
<div class="unsupported" data-en="Browser not supported" data-zh="浏览器不支持">Browser not supported</div>
415+
</div>
416+
392417
<!-- Camera Stream -->
393418
<div class="firmware-card">
394419
<div class="card-header">

0 commit comments

Comments
 (0)