# TuYa SPM01

Model | SPM01 |

Vendor | TuYa |

Description | Smart energy monitor for 1P+N system |

Exposes | voltage, power, current, energy, produced_energy, linkquality |

Picture |

## Options

*How to use device type specific configuration*

`energy_precision`

: Number of digits after decimal point for energy, takes into effect on next report of device. The value must be a number with a minimum value of`0`

and with a with a maximum value of`3`

`energy_calibration`

: Calibrates the energy 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. The value must be a number with a minimum value of`0`

and with a with a maximum value of`3`

`voltage_calibration`

: Calibrates the voltage 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. The value must be a number with a minimum value of`0`

and with a with a maximum value of`3`

`current_calibration`

: Calibrates the current 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. The value must be a number with a minimum value of`0`

and with a with a maximum value of`3`

`power_calibration`

: Calibrates the power value (percentual offset), takes into effect on next report of device. The value must be a number.

## Exposes

### Voltage (numeric)

Measured electrical potential value. Value can be found in the published state on the `voltage`

property. It's not possible to read (`/get`

) or write (`/set`

) this value. The unit of this value is `V`

.

### Power (numeric)

Instantaneous measured power. Value can be found in the published state on the `power`

property. It's not possible to read (`/get`

) or write (`/set`

) this value. The unit of this value is `W`

.

### Current (numeric)

Instantaneous measured electrical current. Value can be found in the published state on the `current`

property. It's not possible to read (`/get`

) or write (`/set`

) this value. The unit of this value is `A`

.

### Energy (numeric)

Total forward active energy. Value can be found in the published state on the `energy`

property. It's not possible to read (`/get`

) or write (`/set`

) this value. The unit of this value is `kWh`

.

### Produced energy (numeric)

Total reverse active energy. Value can be found in the published state on the `produced_energy`

property. It's not possible to read (`/get`

) or write (`/set`

) this value. The unit of this value is `kWh`

.

### Linkquality (numeric)

Link quality (signal strength). Value can be found in the published state on the `linkquality`

property. It's not possible to read (`/get`

) or write (`/set`

) this value. The minimal value is `0`

and the maximum value is `255`

. The unit of this value is `lqi`

.