Local Tuya - Master Hub Light works, but gateway device don't

I have some Tuya-based recessed ceiling lights. Amazon.com

The lights have a “master” light hub that connects to the internet. The other lights, I believe, are connected either through local wifi or bluetooth via a gateway in the Tuya/Smart Life app.

All devices show up and are online within the iot.tuya.com device list. The Tuya (not local) integration shows all devices and they all work as expected.

However, with Local Tuya, only the “master” light is automatically discovered. All the other lights connected to the gateway aren’t automatically discovered. The only way to add additional devices is to add a “host” IP, but the gateway lights don’t have an IP since they talk directly to the hub. So, I’ve been able to figure out how to add the non-master lights to Local Tuya.

Is there a way to have the gateway lights (devices) show up in Local Tuya?

I’m going to bump this as I have a similar problem

Tuya local sees my Tuya bluetooth gateway but not any of the devices binded to it.

Is there some secret magic sauce that we’re missing that will expose the devices and make them available to HA ?

Will answer if for myself… From the local tuya documentation

The following Tuya device types are currently supported:

  • Switches
  • Lights
  • Covers
  • Fans
  • Climates
  • Vacuums

The funny thing is that if I add the gateway using a device id of one that is behind it there seems to be some interesting debug info

      "owner_id": "????",
      "product_id": "xhf790if",
      "product_name": "CUBETOUCH II",
      "status": [
        {
          "code": "switch",
          "value": true
        },
        {
          "code": "mode",
          "value": "click"
        },
        {
          "code": "click_sustain_time",
          "value": 0
        },
        {
          "code": "arm_down_percent",
          "value": 29
        },
        {
          "code": "arm_up_percent",
          "value": 58
        },
        {
          "code": "charge_status",
          "value": "charge_done"
        },
        {
          "code": "battery_percentage",
          "value": 100
        }
      ],

Final response

There is actually a fork of local Tuya that supports gateways

The following Tuya device types are currently supported:

  • Switches
  • Wi-Fi smart plugs
  • Lights
  • Covers
  • Fans
  • Climates
  • Vacuums
  • Zigbee and Bluetooth gateways and their attached devices

Will have to trial this on a test setup