SONOFF SS-Z2N
| Model | SS-Z2N |
| Vendor | SONOFF |
| Description | Soil temperature and humidity sensor |
| Exposes | refresh_measurements, battery, temperature, soil_moisture, temperature_calibration, humidity_calibration, measure_interval, comfort_temperature_min, comfort_temperature_max, temperature_status, comfort_humidity_min, comfort_humidity_max, humidity_status, frost_protection_temperature, frost_risk_status, temperature_threshold_enable, humidity_threshold_enable, frost_threshold_enable, temperature_max_in_hour, temperature_min_in_hour, temperature_aver_in_hour, humidity_max_in_hour, humidity_min_in_hour, humidity_aver_in_hour |
| Picture | ![]() |
OTA updates
This device supports OTA updates, for more information see OTA updates.
Options
How to use device type specific configuration
temperature_calibration: Calibrates the temperature value (absolute offset), takes into effect on next report of device. The value must be a number.temperature_precision: Number of digits after decimal point for temperature, takes into effect on next report of device. This option can only decrease the precision, not increase it. The value must be a number with a minimum value of0and with a maximum value of3soil_moisture_calibration: Calibrates the soil_moisture value (absolute offset), takes into effect on next report of device. The value must be a number.soil_moisture_precision: Number of digits after decimal point for soil_moisture, takes into effect on next report of device. This option can only decrease the precision, not increase it. The value must be a number with a minimum value of0and with a maximum value of3
Exposes
Refresh measurements (enum)
Click Refresh to take new soil temperature and moisture measurements. The device will report the latest readings once the measurements are complete.. Value will not be published in the state. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"refresh_measurements": "VALUE"}. The possible values are: refresh.
Battery (numeric)
Remaining battery in %. Value can be found in the published state on the battery property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"battery": ""}. It's not possible to write (/set) this value. The minimal value is 0 and the maximum value is 100. The unit of this value is %.
Temperature (numeric)
Measured temperature value. Value can be found in the published state on the temperature property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"temperature": ""}. It's not possible to write (/set) this value. The minimal value is -20 and the maximum value is 60. The unit of this value is °C.
Soil moisture (numeric)
Measured soil moisture value. Value can be found in the published state on the soil_moisture property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"soil_moisture": ""}. It's not possible to write (/set) this value. The minimal value is 0 and the maximum value is 100. The unit of this value is %.
Temperature calibration (numeric)
Offset to add/subtract to the reported temperature.. Value can be found in the published state on the temperature_calibration property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"temperature_calibration": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"temperature_calibration": VALUE}. The minimal value is -10 and the maximum value is 10. The unit of this value is °C.
Humidity calibration (numeric)
Offset added to or subtracted from the reported soil moisture value.. Value can be found in the published state on the humidity_calibration property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"humidity_calibration": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"humidity_calibration": VALUE}. The minimal value is -100 and the maximum value is 100. The unit of this value is %.
Measure interval (enum)
Set the interval for scheduled measurements and reports. Default: 5 minutes.. Value can be found in the published state on the measure_interval property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"measure_interval": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"measure_interval": "VALUE"}. The possible values are: 2_min, 5_min, 15_min, 30_min, 1_hour, 2_hours.
Comfort temperature min (numeric)
Soil temperature below this value is classified as low. Default: 8 °C.. Value can be found in the published state on the comfort_temperature_min property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"comfort_temperature_min": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"comfort_temperature_min": VALUE}. The minimal value is -20 and the maximum value is 60. The unit of this value is °C.
Comfort temperature max (numeric)
Soil temperature above this value is classified as high. Default: 32 °C.. Value can be found in the published state on the comfort_temperature_max property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"comfort_temperature_max": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"comfort_temperature_max": VALUE}. The minimal value is -20 and the maximum value is 60. The unit of this value is °C.
Soil temperature status (enum)
Current soil temperature status based on the configured temperature thresholds.. Value can be found in the published state on the temperature_status property. It's not possible to read (/get) or write (/set) this value. The possible values are: Low, Normal, High.
Comfort humidity min (numeric)
Soil moisture below this value is classified as low. Default: 15%.. Value can be found in the published state on the comfort_humidity_min property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"comfort_humidity_min": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"comfort_humidity_min": VALUE}. The minimal value is 1 and the maximum value is 99. The unit of this value is %.
Comfort humidity max (numeric)
Soil moisture above this value is classified as high. Default: 30%.. Value can be found in the published state on the comfort_humidity_max property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"comfort_humidity_max": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"comfort_humidity_max": VALUE}. The minimal value is 1 and the maximum value is 99. The unit of this value is %.
Soil moisture status (enum)
Current soil moisture status based on the configured moisture thresholds.. Value can be found in the published state on the humidity_status property. It's not possible to read (/get) or write (/set) this value. The possible values are: Low, Normal, High.
Frost protection temperature (numeric)
Soil temperature below this value indicates a risk of frost. Default: 5 °C.. Value can be found in the published state on the frost_protection_temperature property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"frost_protection_temperature": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"frost_protection_temperature": VALUE}. The minimal value is -10 and the maximum value is 20. The unit of this value is °C.
Frost risk status (enum)
Current frost risk status based on the configured frost risk temperature threshold.. Value can be found in the published state on the frost_risk_status property. It's not possible to read (/get) or write (/set) this value. The possible values are: Risk, Normal.
Temperature threshold enable (binary)
Enables/disables the temperature threshold alarm. Note: wake up the device by pressing the button on the back before changing this value.. Value can be found in the published state on the temperature_threshold_enable property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"temperature_threshold_enable": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"temperature_threshold_enable": "VALUE"}. If value equals ON temperature threshold enable is ON, if OFF OFF.
Humidity threshold enable (binary)
Enables/disables the humidity threshold alarm. Note: wake up the device by pressing the button on the back before changing this value.. Value can be found in the published state on the humidity_threshold_enable property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"humidity_threshold_enable": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"humidity_threshold_enable": "VALUE"}. If value equals ON humidity threshold enable is ON, if OFF OFF.
Frost threshold enable (binary)
Enables/disables the frost protection threshold alarm. Note: wake up the device by pressing the button on the back before changing this value.. Value can be found in the published state on the frost_threshold_enable property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"frost_threshold_enable": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"frost_threshold_enable": "VALUE"}. If value equals ON frost threshold enable is ON, if OFF OFF.
Temperature max in hour (numeric)
Maximum temperature recorded in the last hour. Value can be found in the published state on the temperature_max_in_hour property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"temperature_max_in_hour": ""}. It's not possible to write (/set) this value. The unit of this value is °C.
Temperature min in hour (numeric)
Minimum temperature recorded in the last hour. Value can be found in the published state on the temperature_min_in_hour property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"temperature_min_in_hour": ""}. It's not possible to write (/set) this value. The unit of this value is °C.
Temperature aver in hour (numeric)
Average temperature recorded in the last hour. Value can be found in the published state on the temperature_aver_in_hour property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"temperature_aver_in_hour": ""}. It's not possible to write (/set) this value. The unit of this value is °C.
Humidity max in hour (numeric)
Maximum humidity recorded in the last hour. Value can be found in the published state on the humidity_max_in_hour property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"humidity_max_in_hour": ""}. It's not possible to write (/set) this value. The unit of this value is %.
Humidity min in hour (numeric)
Minimum humidity recorded in the last hour. Value can be found in the published state on the humidity_min_in_hour property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"humidity_min_in_hour": ""}. It's not possible to write (/set) this value. The unit of this value is %.
Humidity aver in hour (numeric)
Average humidity recorded in the last hour. Value can be found in the published state on the humidity_aver_in_hour property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"humidity_aver_in_hour": ""}. It's not possible to write (/set) this value. The unit of this value is %.

