Integration with SHT20 (XY-MD02) temperature and humidity sensor

The purpose of this article is to present an example of integrating the temperature and humidity sensor with the Grenton Smart Home System. The following integration is using the Modbus RTU communication protocol.


The sensor used in this example is SHT20. Documentation of Modbus protocol is available here.


According to the documentation - the default settings are as follows:

  • address: 1;
  • baud rate: 9600;
  • stop bits: 1;
  • parity: None.


This integration allows us to receive the following informations:

  • temperature reading;
  • humidity reading;
  • temperature correction,
  • humidity correction.


To complete the example you will need:

  • CLU Z-Wave
  • Gate Modbus
  • SHT20 sensor


Configuration of the Modbus virtual objects

1. Add ModbusValue virtual objects on Gate Modbus module: 

2. Enter the values of Embedded features in ModbusValue virtual objects as follows:

* Temperature:

* Humidity:

* Temperature correction:

* Humidity correction:

3. Send the configuration to the Gate Modbus module.