Menu

🔎 How to Build a Smart Thermostat with the NS Panel Series

 

Introduction

In this guide, you’ll learn step by step how to set up your own smart thermostat using the NS Panel or NS Panel Pro, based on temperature sensors and intuitive interfaces. Whether you want to control the temperature of a single room or manage central heating, this tutorial will help you make the most of SONOFF’s technology.

For this example, we’ll create a thermostat so that the heater, connected to the smart plug, maintains a constant room temperature.

Get your devices ready—let’s build a more efficient and comfortable home together.

What You´ll need?

 

The thermostat of the NS Panel or NS Panel Pro works based on temperature and humidity sensors to constantly monitor these values.
Therefore, the first step in configuring the smart thermostat is to add a temperature and humidity sensor to the eWeLink app.
In this guide, we’ll use the NS Panel Pro’s built-in Zigbee hub to add the temperature and humidity sensor. However, users can also use other compatible Zigbee gateways, such as the ZB Bridge-P or ZB Bridge-U.

As the temperature sensor, we’ll be using the SNZB-02P, but this tutorial is also valid for any other SONOFF temperature and humidity sensor.

  1. Put the sensor in pairing mode (if need please refer the documentation of the respective sensor).
  2. Add the sensor to the NS Panel Pro
    1. Locate the NS Panel Pro in eWelink App 

      NS Panel Pro eWelink 
    2. Select the "Gateway" Menu

      NS Panel Pro Zigbee Gateway
    3. Click on "Add device" button. In seconds the sensor will be added.

      NS Panel Pro - Add zigbee device


    4. The SNZB-02P Successfully added.



For this guide, we’ll be using the  S60ZB -TPF smart plug, but any other SONOFF model can be used as well, as the operation will be similar.

Since this is a Zigbee plug, you’ll need to repeat the steps from the previous section to add it to the NS Panel Pro.

  1. Put the plug in pairing mode (if need please refer the documentation of the respective sensor).
  2. Add the sensor to the NS Panel Pro
    1. Locate the NS Panel Pro in eWelink App 

      NS Panel Pro eWelink 
    2. Select the "Gateway" Menu

      NS Panel Pro Zigbee Gateway
    3. Click on "Add device" button. In seconds the sensor will be added.

      NS Panel Pro - Add zigbee device
    4. The S60ZB-PTG Successfully added.




 

Now that we have both devices integrated — the temperature/humidity sensor, and the smart plug — it's time to configure the thermostat on the NS Panel Pro.

To setup the NS Panel thermostat follow these steps:

  1. Open NS Panel Pro Settings and click on "Thermostat" option:

    NS Panel Pro Thermostat
  2. Now, click on "Configure" option to create a new thermostat.

    NS Panel Pro Add Configure thermostat

  3. Next, select the desired temperature/humidity sensor. For this guide will the SNZB-02P and click on "Next" button.

    NS Panel Pro Select temperature sensor


  4. Next, we need to choose the type of thermostat we want — either a heater or a cooler. This is important because the available options, such as temperature limits, will vary depending on the type selected.
    For this example, since we’re going to control a heater to keep a room warm, we’ll choose “Heater”.

    NS Panel Pro Select Type
  5. The final step is to define the device that will take action — in other words, when the temperature reaches the set value, which device will turn the heater on or off. In this case, since we’re using a non-smart heater, we’ll use the S60ZB-TPF smart plug to turn the heater on or off based on the temperature detected by the sensor.

    NS Panel Pro - Add Action

  6. Now, give a name to thermostat and save.

    NS Panel Pro - Name

  7. And that’s it — the thermostat is now set up.
    NS Panel Pro - Thermostat



How it works

After setting up the NS Panel Pro with the thermostat, you can define the desired temperature. The thermostat’s function is to keep the room at a constant temperature. If the temperature drops below the defined threshold, it will activate the smart plug — in this case, to power the heater — until the room reaches the desired temperature again.

You can also set a schedule, allowing you to select specific days of the week, a time range, and the desired temperature. This gives the user a lot of flexibility — for example, to maintain one temperature during the night and a different one during the day.

 

NS Panel - Set Thermost

 

Another great advantage of setting up the smart thermostat with the NS Panel is that, in addition to being controllable through the eWeLink app, it can also be operated directly from the screen. This gives users quick and easy access to control the temperature of their home.

Conclusion

Creating a smart thermostat with the SONOFF NS Panel or NS Panel Pro is not only simple but also a powerful way to bring comfort, efficiency, and automation into your home.

By combining temperature/humidity sensors and smart plugs, you can precisely control your heating system — ensuring the room stays at the ideal temperature without any manual intervention.

Whether you're managing a single room or an entire heating system, this setup gives you full control through both the eWeLink app and the touchscreen interface of the NS Panel. With the ability to schedule temperature changes, switch between heating and cooling modes, and monitor real-time conditions, you’ll enjoy a smarter, more energy-efficient environment.

 

Previous
🔎How to Integrate SONOFF Camera into Scrypted?
Next
🔎 How to set up SONOFF ZBMINIR2 with a traditional switch
Last modified: 2025-07-26