---
title: When Tuya SM-AW713Z (Zigbee) is Actually SM-AW713 (WiFi)
date: 2021-05-01T18:47:46+00:00
modified: 2022-04-25T10:10:38+00:00
image:: https://kaspars.net/wp-content/uploads/2021/05/SM-AW713-pcb.jpeg
permalink: https://kaspars.net/blog/tuya-sm-aw713-zigbee-wifi
post_type: post
author:
  name: Kaspars
  avatar: https://reverse.kaspars.net/gravatar/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?s=96&d=mm&r=g
category:
  - Electronics
  - Home Automation
post_tag:
  - ESP8266
  - Tasmota
  - Tuya
  - Zigbee
---

# When Tuya SM-AW713Z (Zigbee) is Actually SM-AW713 (WiFi)

I bought [this UseeLink water/gas valve](https://kaspars.net/go/zigbee-smart-valve) which according to the casing was supposed to be SM-AW713Z with the Zigbee radio but is actually SM-AW713 with a [Tuya TYWE3S WiFi radio](https://tasmota.github.io/docs/devices/TYWE3S/). No wonder it wasn’t being discovered by my Zigbee2mqtt radio!

- [![](https://kaspars.net/wp-content/uploads/2021/05/SM-AW713Z-case.jpeg?strip=all&quality=90&resize=2000,2000)](https://kaspars.net/wp-content/uploads/2021/05/SM-AW713Z-case.jpeg)Incorrect case stating SM-AW713Z.
- [![](https://kaspars.net/wp-content/uploads/2021/05/SM-AW713-packaging-incorrect.jpeg?strip=all&quality=90&resize=2000,2000)](https://kaspars.net/wp-content/uploads/2021/05/SM-AW713-packaging-incorrect.jpeg)Incorrect package stating SM-AZ713.
- [![](https://kaspars.net/wp-content/uploads/2021/05/SM-AW713-pcb.jpeg?strip=all&quality=90&resize=2000,2000)](https://kaspars.net/wp-content/uploads/2021/05/SM-AW713-pcb.jpeg)SM-AW713 V4.0 with TYWE3S wifi radio.
- [![](https://kaspars.net/wp-content/uploads/2021/05/SM-AW713-wifi-radio.jpeg?strip=all&quality=90&resize=2000,2000)](https://kaspars.net/wp-content/uploads/2021/05/SM-AW713-wifi-radio.jpeg)Valve motor with two micro switches at both states (open/close) and TYWE3S radio.
- [![](https://kaspars.net/wp-content/uploads/2021/05/SM-AW713-motor.jpeg?strip=all&quality=90&resize=2000,2000)](https://kaspars.net/wp-content/uploads/2021/05/SM-AW713-motor.jpeg)SM-AW713 valve motor and electronics.
- [![](https://kaspars.net/wp-content/uploads/2021/05/SM-AW713-radio-pcb.jpeg?strip=all&quality=90&resize=2000,1333)](https://kaspars.net/wp-content/uploads/2021/05/SM-AW713-radio-pcb.jpeg)Tuya SM-AW713 with TYWE3S radio and controller board.

## Flashing Tasmota Firmware

After soldering the wires for the UART connection to the module according to the [pinout of the TYWE3S module](https://tasmota.github.io/docs/devices/TYWE3S/), I was able to flash the Tasmota firmware onto it [according to these instructions](https://tasmota.github.io/docs/Getting-Started/).

![USB to serial UART module connected to the Tuya SM-AW713 valve](https://kaspars.net/wp-content/uploads/2021/05/tasmota-tuya-sm-aw713.jpeg?strip=all&quality=90&resize=2000,2000)USB to serial UART module connected to the TYWE3S module in the Tuya SM-AW713 valve. I used the [Jinvoo SM-AW713 Valve device template](https://templates.blakadder.com/jinvoo_SM-AW713.html) to configure the device with Tasmota version 9.4:

```
{"NAME":"Jinvoo Valve v2","GPIO":[0,0,0,0,52,53,0,0,21,17,0,0,0],"FLAG":0,"BASE":1}
```

It now operates exactly like the original but doesn’t require the Tuya cloud connection or app.

![](https://kaspars.net/wp-content/uploads/2021/05/sm-aw713-tasmota-firmware.jpeg?strip=all&quality=90&resize=1024,682)Tuya SM-AW713 valve running the Tasmota firmware.