Third Reality 3RSP02064Z
| Model | 3RSP02064Z |
| Vendor | Third Reality |
| Description | Smart Plug Gen3 |
| Exposes | switch (state), power_on_behavior, power, voltage, ac_frequency, power_factor, current, energy, reset_total_energy, metering_only_mode, countdown_to_turn_off, countdown_to_turn_on, power_rise_threshold, power_drop_threshold |
| Picture | ![]() |
OTA updates
This device supports OTA updates, for more information see OTA updates.
Options
How to use device type specific configuration
power_calibration: Calibrates the power value (percentual offset), takes into effect on next report of device. The value must be a number.power_precision: Number of digits after decimal point for power, 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 of3voltage_calibration: Calibrates the voltage value (percentual offset), takes into effect on next report of device. The value must be a number.voltage_precision: Number of digits after decimal point for voltage, 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 of3ac_frequency_calibration: Calibrates the ac_frequency value (absolute offset), takes into effect on next report of device. The value must be a number.ac_frequency_precision: Number of digits after decimal point for ac_frequency, 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 of3current_calibration: Calibrates the current value (percentual offset), takes into effect on next report of device. The value must be a number.current_precision: Number of digits after decimal point for current, 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 of3energy_calibration: Calibrates the energy value (percentual offset), takes into effect on next report of device. The value must be a number.energy_precision: Number of digits after decimal point for energy, 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 of3state_action: State actions will also be published as 'action' when true (default false). The value must betrueorfalse
Exposes
Switch
The current state of this switch is in the published state under the state property (value is ON or OFF). To control this switch publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"state": "ON"}, {"state": "OFF"} or {"state": "TOGGLE"}. To read the current state of this switch publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"state": ""}.
On with timed off
When setting the state to ON, it might be possible to specify an automatic shutoff after a certain amount of time. To do this add an additional property on_time to the payload which is the time in seconds the state should remain on. Additionally an off_wait_time property can be added to the payload to specify the cooldown time in seconds when the switch will not answer to other on with timed off commands. Support depends on the switch firmware. Some devices might require both on_time and off_wait_time to work Examples : {"state" : "ON", "on_time": 300}, {"state" : "ON", "on_time": 300, "off_wait_time": 120}.
Power-on behavior (enum)
Controls the behavior when the device is powered on after power loss. Value can be found in the published state on the power_on_behavior property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"power_on_behavior": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"power_on_behavior": NEW_VALUE}. The possible values are: off, on, toggle, previous.
Power (numeric)
Instantaneous measured power. Value can be found in the published state on the power property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"power": ""}. It's not possible to write (/set) this value. The unit of this value is W.
Voltage (numeric)
Measured electrical potential value. Value can be found in the published state on the voltage property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"voltage": ""}. It's not possible to write (/set) this value. The unit of this value is V.
AC frequency (numeric)
Measured electrical AC frequency. Value can be found in the published state on the ac_frequency property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"ac_frequency": ""}. It's not possible to write (/set) this value. The unit of this value is Hz.
Power factor (numeric)
Instantaneous measured power factor. Value can be found in the published state on the power_factor property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"power_factor": ""}. It's not possible to write (/set) this value.
Current (numeric)
Instantaneous measured electrical current. Value can be found in the published state on the current property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"current": ""}. It's not possible to write (/set) this value. The unit of this value is A.
Energy (numeric)
Sum of consumed energy. Value can be found in the published state on the energy property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"energy": ""}. It's not possible to write (/set) this value. The unit of this value is kWh.
Reset total energy (enum)
Reset the sum of consumed energy. Value can be found in the published state on the reset_total_energy property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"reset_total_energy": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"reset_total_energy": NEW_VALUE}. The possible values are: Reset.
Metering only mode (binary)
When enabled, the device enters metering-only mode and the relay is forced to stay ON.. Value can be found in the published state on the metering_only_mode property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"metering_only_mode": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"metering_only_mode": NEW_VALUE}. If value equals ON metering only mode is ON, if OFF OFF.
Countdown to turn off (numeric)
(ON-OFF). Value can be found in the published state on the countdown_to_turn_off property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"countdown_to_turn_off": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"countdown_to_turn_off": NEW_VALUE}. The minimal value is 0 and the maximum value is 65535. The unit of this value is s.
Countdown to turn on (numeric)
(OFF-ON). Value can be found in the published state on the countdown_to_turn_on property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"countdown_to_turn_on": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"countdown_to_turn_on": NEW_VALUE}. The minimal value is 0 and the maximum value is 65535. The unit of this value is s.
Power rise threshold (numeric)
Reports sudden power changes. Power rise and fall alerts can be enabled separately. Threshold adjustable.. Value can be found in the published state on the power_rise_threshold property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"power_rise_threshold": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"power_rise_threshold": NEW_VALUE}. The minimal value is 0 and the maximum value is 65535. The unit of this value is w.
Power drop threshold (numeric)
Reports sudden power changes. Power rise and drop alerts can be enabled separately. Threshold adjustable.. Value can be found in the published state on the power_drop_threshold property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"power_drop_threshold": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"power_drop_threshold": NEW_VALUE}. The minimal value is 0 and the maximum value is 65535. The unit of this value is w.

