1. Important Safety Information
- Ensure all wiring is performed by a qualified electrician to prevent electric shock.
- Do not expose the device to moisture or extreme temperatures.
- Always disconnect power before installing or servicing the device.
- This device is designed for indoor use only.
- Adhere to local electrical codes and regulations.
2. Product Overview
The SONOFF THR320D is a WiFi Smart Switch designed for temperature and humidity monitoring and control. It supports high-load devices up to 20A and offers various smart features.
2.1 Package Contents
- SONOFF THR320D Smart Switch
- THS01 Temperature and Humidity Sensor
- User Manual
2.2 Device Features
- 20A Max & Dry Contact Output: Supports high-load connections and dry contact output for versatile control.
- LCD Display: Real-time monitoring of temperature and humidity data, refreshed every 5 seconds.
- Temperature/Humidity History: Review historical data by hour, day, and month. Export up to 6 months of data in .xlsx format.
- Local Automatic Control: Reliable LAN control for automated programs, even without internet access.
- Voice Control: Compatible with Amazon Alexa and Google Assistant for voice commands and queries.
- Sensor Compatibility: Works with THS01 (temperature & humidity), DS18B20 (waterproof temperature), and MS01 (soil moisture) sensors.
- DIN Rail Mounting: Includes an adapter for easy installation on a DIN rail.
- Upgraded Wiring Terminal: Features a protective cover to prevent short circuits.

Image 2.1: SONOFF THR320D Smart Switch with THS01 Temperature and Humidity Sensor.

Image 2.2: Detailed diagram of the SONOFF THR320D highlighting its LCD screen, auto mode button, dry contact, DIN rail mounting, upgraded wiring terminal, and protective cover.
3. Specifications
| Specification | Value |
|---|---|
| Model Number | THR320D |
| Product Dimensions | 2.13 x 2.13 x 3.85 inches |
| Weight | 5.93 ounces |
| Operation Mode | Automatic, Smart Switch |
| Current Rating | 20 Amps (Max) |
| Connector Type | Plug In |
| Mounting Type | Wall Mount (with DIN rail adapter) |
| International Protection Rating | IP66 |
| Upper Temperature Rating | 85 Degrees Celsius |
| Controller Type | Amazon Alexa, Google Assistant |
| Control Method | Voice, App |
4. Setup
4.1 Wiring Diagram
Follow the wiring diagrams carefully to connect the THR320D to your electrical system. Ensure power is disconnected before proceeding.

Image 4.1: Wiring diagrams for 1-channel load and dry contact connections. Connect Live (L In) and Neutral (N In) to the input terminals. For load, connect Live (L Out) and Neutral (N Out) to your appliance. For dry contact, connect COM and NC/NO as required.
4.2 Sensor Connection
The THR320D supports various sensors via its RJ9 4P4C port. Simply plug the sensor into the designated port.

Image 4.2: Overview of compatible sensors including THS01 (Temperature & Humidity), DS18B20 (Waterproof Temperature), MS01 (Soil Moisture), and RL560 (Sensor Extension Cable).
4.3 App Installation and Pairing
To control your SONOFF THR320D, download the eWeLink app and follow the pairing instructions.
- Download the eWeLink app from the Google Play Store or Apple App Store.
- Register or log in to your eWeLink account.
- Power on the THR320D. The device will enter pairing mode (indicated by a flashing LED).
- In the eWeLink app, tap the '+' icon to add a device and follow the on-screen instructions to complete the pairing process.

Image 4.3: Instructions for downloading the eWeLink app from Google Play and the App Store.
5. Operating Instructions
5.1 Manual Control
The device can be manually turned on or off using the physical button on the front panel. A single press toggles the power state.
5.2 Automatic Control (Auto Mode)
Set up automated rules based on temperature and humidity thresholds within the eWeLink app. The device can operate automatically even without an internet connection (LAN control).
- Open the eWeLink app and select your THR320D device.
- Navigate to the 'Auto Mode' settings.
- Define temperature or humidity ranges and corresponding actions (e.g., turn on/off).
- You can set up to 8 automatic control programs.

Image 5.1: Illustration of manual control via the app and automatic mode settings based on temperature and humidity thresholds.
5.3 Voice Control
Integrate your THR320D with Amazon Alexa or Google Assistant for convenient voice commands.
- Link your eWeLink account to Alexa or Google Home through their respective apps.
- Use commands like: "Alexa, turn on [device name]" or "Hey Google, what's the temperature of my [device name]?"

Image 5.2: Examples of using voice commands with Alexa and Google Assistant to control the THR320D and query sensor data.
5.4 Data History and Export
Access and export historical temperature and humidity data from the eWeLink app.
- In the eWeLink app, select your THR320D device.
- Tap on the 'History' tab to view graphs of temperature and humidity over time.
- You can view data by hour, day, or month.
- Export up to 6 months of historical data in .xlsx format for detailed analysis.

Image 5.3: Screenshot showing the eWeLink app interface for viewing and downloading 6-month temperature and humidity history data.
5.5 LAN Control
The THR320D supports LAN control, allowing your device to operate and execute automated programs even if your internet connection is temporarily unavailable. This ensures continuous monitoring and control within your local network.
6. Maintenance
To ensure optimal performance and longevity of your SONOFF THR320D:
- Keep the device clean and free from dust. Use a dry, soft cloth for cleaning.
- Avoid using harsh chemicals or abrasive cleaners.
- Regularly check wiring connections to ensure they are secure.
- Ensure the sensor is free from obstructions and debris for accurate readings.
7. Troubleshooting
- Device not powering on: Check the power supply and wiring connections. Ensure the circuit breaker is not tripped.
- Cannot pair with eWeLink app: Ensure your Wi-Fi network is 2.4GHz. Reset the device to pairing mode (refer to the app for specific reset instructions). Check Wi-Fi signal strength.
- Inaccurate sensor readings: Ensure the sensor is clean and placed in an appropriate location away from direct heat sources, drafts, or moisture (unless it's a waterproof sensor).
- Voice control not working: Verify that your eWeLink account is correctly linked to Alexa or Google Assistant. Check your internet connection.
- Device offline: Check your Wi-Fi router and internet connection. If LAN control is enabled, the device may still function locally.
8. Warranty and Support
SONOFF products typically come with a limited warranty. For specific warranty details, please refer to the warranty card included with your product or visit the official SONOFF website.
For technical support, troubleshooting assistance, or further inquiries, please contact SONOFF customer service:
- Manufacturer: SONOFF
- Website: sonoff.tech
- Email: support@itead.cc





