Tuya 24 Channel Relay Zigbee only showing 8 Relays in HA

Hi
I wondered if there is a limit to the amount of entities a device can have in HA or if this is a Tuya limitation with the integration ?

I bought this from AliEx (Zigbee Version) :
Tuya 24 Channel Smart WiFi/Zigbee Wireless Relay Switch Module APP RF Remote Control Smart Home Automation Module 12V

But only 8 relays are showing in HA

The app is showing 24

Thanks :slight_smile:

having the same issue with 12ch relay board. showing only 6 entities in HA

1 Like

@Levanterman please let me know if you found a way to solve it. thx.

1 Like

If it is Zigbee, did you try to pair it to ZHA or Zigbee2MQTT instead of a Tuya hub ?

Hi

I have not found a solution yet, but i did notice today that Zigbee2MQTT now support the 12 relay version, you should try that, it looks like it will work for you :slight_smile:

https://www.zigbee2mqtt.io/devices/TS0601_switch_12.html

I think I tried the 24 version with MQTT and it said it wasnt supported . I also notice that my negative feedback on AliExpress has disappeared , which is only 20 days ago and already removed, which is not good to let others know. I will try it again with Zigbee2MQTT today and let you know.

it’s wifi, not zigbee

i have the wifi version. seems like it’s an issue with the integration.

If you have the Wifi version, you can try Local Tuya or Tuya Local.

Seems this topic is about 2 different devices.

1 Like

not sure why HA only adding 6 entities while there are 12 switches
here is the diagnostic file:

{
“home_assistant”: {
“installation_type”: “Home Assistant OS”,
“version”: “2023.10.1”,
“dev”: false,
“hassio”: true,
“virtualenv”: false,
“python_version”: “3.11.5”,
“docker”: true,
“arch”: “x86_64”,
“timezone”: “Asia/Jerusalem”,
“os_name”: “Linux”,
“os_version”: “6.1.45”,
“supervisor”: “2023.10.0”,
“host_os”: “Home Assistant OS 10.5”,
“docker_version”: “23.0.6”,
“chassis”: “vm”,
“run_as_root”: true
},
“custom_components”: {

},
“integration_manifest”: {
“domain”: “tuya”,
“name”: “Tuya”,
“codeowners”: [
“@Tuya”,
“@zlinoliver”,
“@frenck”
],
“config_flow”: true,
“dependencies”: [
“ffmpeg”
],
“dhcp”: [
{
“macaddress”: “105A17*”
},
{
“macaddress”: “10D561*”
},
{
“macaddress”: “1869D8*”
},
{
“macaddress”: “381F8D*”
},
{
“macaddress”: “508A06*”
},
{
“macaddress”: “68572D*”
},
{
“macaddress”: “708976*”
},
{
“macaddress”: “7CF666*”
},
{
“macaddress”: “84E342*”
},
{
“macaddress”: “D4A651*”
},
{
“macaddress”: “D81F12*”
}
],
“documentation”: “Tuya - Home Assistant”,
“integration_type”: “hub”,
“iot_class”: “cloud_push”,
“loggers”: [
“tuya_iot”
],
“requirements”: [
“tuya-iot-py-sdk==0.6.6”
],
“is_built_in”: true
},
“data”: {
“endpoint”: “https://openapi.tuyaeu.com”,
“auth_type”: 0,
“country_code”: “972”,
“app_type”: “smartlife”,
“mqtt_connected”: true,
“disabled_by”: null,
“disabled_polling”: false,
“devices”: [
{
“name”: “TY-12W”,
“model”: “”,
“category”: “pc”,
“product_id”: “tqn4efd8kzpn0oow”,
“product_name”: “TY-12W”,
“online”: true,
“sub”: false,
“time_zone”: “+03:00”,
“active_time”: “2023-09-23T06:51:19+00:00”,
“create_time”: “2023-09-23T06:51:19+00:00”,
“update_time”: “2023-10-08T10:07:22+00:00”,
“function”: {
“switch_1”: {
“type”: “Boolean”,
“value”: {}
},
“switch_2”: {
“type”: “Boolean”,
“value”: {}
},
“switch_3”: {
“type”: “Boolean”,
“value”: {}
},
“switch_4”: {
“type”: “Boolean”,
“value”: {}
},
“switch_5”: {
“type”: “Boolean”,
“value”: {}
},
“switch_6”: {
“type”: “Boolean”,
“value”: {}
},
“switch_7”: {
“type”: “Boolean”,
“value”: {}
},
“switch_8”: {
“type”: “Boolean”,
“value”: {}
},
“switch_9”: {
“type”: “Boolean”,
“value”: {}
},
“switch_10”: {
“type”: “Boolean”,
“value”: {}
},
“switch_11”: {
“type”: “Boolean”,
“value”: {}
},
“switch_12”: {
“type”: “Boolean”,
“value”: {}
}
},
“status_range”: {
“switch_1”: {
“type”: “Boolean”,
“value”: {}
},
“switch_2”: {
“type”: “Boolean”,
“value”: {}
},
“switch_3”: {
“type”: “Boolean”,
“value”: {}
},
“switch_4”: {
“type”: “Boolean”,
“value”: {}
},
“switch_5”: {
“type”: “Boolean”,
“value”: {}
},
“switch_6”: {
“type”: “Boolean”,
“value”: {}
},
“switch_7”: {
“type”: “Boolean”,
“value”: {}
},
“switch_8”: {
“type”: “Boolean”,
“value”: {}
},
“switch_9”: {
“type”: “Boolean”,
“value”: {}
},
“switch_10”: {
“type”: “Boolean”,
“value”: {}
},
“switch_11”: {
“type”: “Boolean”,
“value”: {}
},
“switch_12”: {
“type”: “Boolean”,
“value”: {}
}
},
“status”: {
“switch_1”: false,
“switch_2”: false,
“switch_3”: false,
“switch_4”: false,
“switch_5”: false,
“switch_6”: false,
“switch_7”: false,
“switch_8”: false,
“switch_9”: false,
“switch_10”: false,
“switch_11”: false,
“switch_12”: false
},
“home_assistant”: {
“name”: “TY-12W”,
“name_by_user”: null,
“disabled”: false,
“disabled_by”: null,
“entities”: [
{
“disabled”: false,
“disabled_by”: null,
“entity_category”: null,
“device_class”: null,
“original_device_class”: “outlet”,
“icon”: null,
“original_icon”: null,
“unit_of_measurement”: null,
“state”: {
“entity_id”: “switch.ty_12w_socket_1”,
“state”: “off”,
“attributes”: {
“device_class”: “outlet”,
“friendly_name”: “TY-12W Socket 1”
},
“last_changed”: “2023-10-08T10:13:44.092394+00:00”,
“last_updated”: “2023-10-08T10:13:44.092394+00:00”
}
},
{
“disabled”: false,
“disabled_by”: null,
“entity_category”: null,
“device_class”: null,
“original_device_class”: “outlet”,
“icon”: null,
“original_icon”: null,
“unit_of_measurement”: null,
“state”: {
“entity_id”: “switch.ty_12w_socket_2”,
“state”: “off”,
“attributes”: {
“device_class”: “outlet”,
“friendly_name”: “TY-12W Socket 2”
},
“last_changed”: “2023-10-08T10:08:38.542444+00:00”,
“last_updated”: “2023-10-08T10:08:38.542444+00:00”
}
},
{
“disabled”: false,
“disabled_by”: null,
“entity_category”: null,
“device_class”: null,
“original_device_class”: “outlet”,
“icon”: null,
“original_icon”: null,
“unit_of_measurement”: null,
“state”: {
“entity_id”: “switch.ty_12w_socket_3”,
“state”: “off”,
“attributes”: {
“device_class”: “outlet”,
“friendly_name”: “TY-12W Socket 3”
},
“last_changed”: “2023-10-08T10:08:38.542611+00:00”,
“last_updated”: “2023-10-08T10:08:38.542611+00:00”
}
},
{
“disabled”: false,
“disabled_by”: null,
“entity_category”: null,
“device_class”: null,
“original_device_class”: “outlet”,
“icon”: null,
“original_icon”: null,
“unit_of_measurement”: null,
“state”: {
“entity_id”: “switch.ty_12w_socket_4”,
“state”: “off”,
“attributes”: {
“device_class”: “outlet”,
“friendly_name”: “TY-12W Socket 4”
},
“last_changed”: “2023-10-08T10:08:38.542782+00:00”,
“last_updated”: “2023-10-08T10:08:38.542782+00:00”
}
},
{
“disabled”: false,
“disabled_by”: null,
“entity_category”: null,
“device_class”: null,
“original_device_class”: “outlet”,
“icon”: null,
“original_icon”: null,
“unit_of_measurement”: null,
“state”: {
“entity_id”: “switch.ty_12w_socket_5”,
“state”: “off”,
“attributes”: {
“device_class”: “outlet”,
“friendly_name”: “TY-12W Socket 5”
},
“last_changed”: “2023-10-08T10:09:07.462545+00:00”,
“last_updated”: “2023-10-08T10:09:07.462545+00:00”
}
},
{
“disabled”: false,
“disabled_by”: null,
“entity_category”: null,
“device_class”: null,
“original_device_class”: “outlet”,
“icon”: null,
“original_icon”: null,
“unit_of_measurement”: null,
“state”: {
“entity_id”: “switch.ty_12w_socket_6”,
“state”: “off”,
“attributes”: {
“device_class”: “outlet”,
“friendly_name”: “TY-12W Socket 6”
},
“last_changed”: “2023-10-08T10:08:38.543064+00:00”,
“last_updated”: “2023-10-08T10:08:38.543064+00:00”
}
}
]
}
}

]

}
}

I totally agree with @francisp , I use the 'Tuya Local ’ intergration for all things Tuya + WiFi, and if its not currently support you can submit a request with the data points, or you can do a Pull Request and update the integration yourself (If you code) its quite straight forward.

https://github.com/make-all/tuya-local#finding-your-device-id-and-local-key

Dang! Looking at the comments @ aliexpress :point_down:

27 Jul 2023, Bundle:Zigbee version
r***i
Works perfectly only with the app, not recognized by zigbee2mqtt
Helpful (5)

it does not look good! :put_litter_in_its_place:

Being the zigbee version I don’t even expect that you can really own that thing completely (control over hardware and software) and fix the bug(s) yourself :man_shrugging:

Hence I always recommend to buy things that a completely ownable - allowing also control over the soft/firmware like it is with esphome compatible products. Advantage which comes with full ownership is amongst others the right to repair/modify/extend :man_judge:

Do you know which chip/soc is used on your board? Might be compatible with esphome now that they also support many (in)famous tuya chips (based on realtek and beken). If it is the case you just might be able to take full ownership and fix functions of your device so it works like it should :wink:

I have just been studying the process of adding a new device support to zigbee2MQTT, and then I started off the process by attempting to pair the device to Zigbee2MQTT only to find that it is now supported AMAZING .

Thank you to every over at Zigbee2MQTT and contributers :slight_smile:

2 Likes

Hi guys, this seems to be an interesting device and at a low price!
I’m curious about the possibilities/quality; I checked ali but it doesn’t reveal how much power it can control.

Did you find a solution for this? i’m having the same issue with tuya12ch wifi relay board only showing 6ch in HA. Please contact me if you do!

Hi, yes it works now.
But all I did was update Zigbee2MQTT in HA and also it became a support device by Zigbee2MQTT , so all 24 relays displayed correctly.

If yours is the WiFi version, maybe you could try Tuya Local this is an excellent HA Add-on and I use it for a lot of my Wifi Devices.

I’ll probably get dinged for this, but you gotta love the irony of someone bashing zigbee using a 3-month old review, when literally the same day someone chimes in and says the device is fully supported