Repository navigation
[SOLVED] Sonoff THR316D + WTS01 with Tasmota — Temperature reading + TM1621 display working #24606
marcosandreis
started this conversation in
General
Replies: 1 comment
|
Thanks for your help. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Device: Sonoff THR316D (ESP32-D0WD-V3)
Sensor: WTS01 Waterproof Temperature Sensor (RJ11)
Firmware: tasmota32.bin v15.3.0
Goal: Read WTS01 temperature and show it on the TM1621 LCD display
Problem
The WTS01 sensor does NOT work as DS18x20 or SI7021. It has an internal MCU that communicates via a proprietary serial protocol. Configuring GPIO25 as DS18x20 or SI7021 results in persistent
nullreadings.Also: using
tasmota32-display.binbreaks the TM1621 display driver — usetasmota32.bininstead.Solution
Step 1 — Flash tasmota32.bin (NOT tasmota32-display)
Flash via browser: https://tasmota.github.io/install/ (Chrome only)
Step 2 — Configure module
Go to Configuration → Configure Module:
Sonoff THR316D (0)SerBr RxSave and reboot.
Step 3 — Enable serial mode
In the Tasmota console, run once after reboot:
Temperature should immediately appear in the SENSOR output:
{"WTS01":{"Temperature":22.9},"TempUnit":"C"}Step 4 — Enable TM1621 display
Step 5 — Persist settings across reboots
HTTP API (for external monitoring / Zabbix)
JSONPath to extract temperature:
Notes
SerBr Rx+SSerialMode 3solution (v14.1.0.2+)DspLine1 [WTS01#Temperature]syntax is required —[WTS01.Temperature]does NOT workHope this helps others!
All reactions