Same problem with connecting “Wifi Tuya Smart Temperature and Humidity Sensor” to WiFi MikroTik RB951Ui-2HnD RouterOS v7.16.2.
MikroTik RB951Ui-2HnD is an old device, only 2.4GHz, all home devices connect without problems, except “Tuya Smart WIFI Temperature Humidity Sensor”.
I tried to change the wireless interface modes and security profile settings can not solve the problem. ![]()
What to do? ![]()

Now that is unusual. Most of the problems appear to be with older Wi-Fi 4 (N) devices connecting to newer Wi-Fi 6 (AX) access points which you can half understand. I would expect RB951Ui-2HnD to be very compatible with all Wi-Fi 4 devices like this temperature sensor.
Do you have any device you can connect that sensor to? And then CC settings to Mikrotik?
Installed v.6.49.17 today and did the configuration manually. ![]()
Didn’t help, Tuya won’t connect ![]()
PS
Tuya connects to other WiFi hotspots without problems.
same problem with Tuya WIFI-TH-2023 (temperature/humidity sensor)
the devices started connecting to wifi when I set the following parameters:


Thanks, I solved the problem.
I made the settings as shown in the picture
It didn’t work, the sensor didn’t connect to WiFi. ![]()
Then I made a virtual wlan2 AP with a different ssid test and the sensor connected!
Then tried to connect to the previous WiFi AP and the sensor connected too!
(Deleted the test virtual WiFi AP test.)
The sensor works without problems thanks! ![]()