Jump to content

Sonoff TH Origin (16A) with THS01 (SI7021) sensor


maxnorth
Go to solution Solved by maxnorth,

Recommended Posts

Posted

I can't figure out what node server yaml entry to use for this setup. I tried the types "analog" and "Temp", but the resulting node device does not show any temps. My tasmota config identifies the Sonoff THS01 temp/humid sensor as a SI7021, and that config is working fine in the Tasmota web setup. It show readings. I am using "SI7021" in the node server as the sensor ID.

From the Tasmota web console:

"18:08:48.992 MQT: tele/sSonoff_THR316/SENSOR = {"Time":"2025-05-18T18:08:48","SI7021":{"Temperature":68.7,"Humidity":51.3,"DewPoint":50.0},"TempUnit":"F"}

I also have a "switch" device for the TH Origin. It is working fine in the node server and the switch device appears in order after the sensor device. Below is an example:

 

- id: "sSonoff_THR316Sens"
  type: "Temp"
  name: "AtticSwTemp_145"
  sensor_id: "SI7021"
  status_topic: "tele/sSonoff_THR316/SENSOR"
  cmd_topic: "cmnd/sSonoff_THR316/power"
- id: "sSonoff_THR316"
  type: "switch"
  name: "AtticSw_145"
  status_topic: "stat/sSonoff_THR316/POWER"
  cmd_topic: "cmnd/sSonoff_THR316/power"

  • Solution
Posted

To answer my own question, the correct type to use is "TempHumid." This is working now.

It might be helpful to update the configuration help to list the SI7201 sensor as an acceptable sensor for TempHumid.

Posted
6 hours ago, maxnorth said:

To answer my own question, the correct type to use is "TempHumid." This is working now.

It might be helpful to update the configuration help to list the SI7201 sensor as an acceptable sensor for TempHumid.

Hi @maxnorth,

Glad you figured it out. I will add this to the to-do list for an update. Need to read up on the .MD format as well. As I recall there are/were some compatibility issues with the way PG3 displays more complex layouts...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...