0x5e / homebridge-tuya-platform

Make homebridge-tuya-platform great again.
MIT License
218 stars 67 forks source link

Tuya ceiling fan light - Light type: Unknown #466

Open Hailstorm030 opened 4 months ago

Hailstorm030 commented 4 months ago

Prerequisite

Cache

Version

1.7.0-beta.53

Device Infomation JSON File

{
  "active_time": 1716972771,
  "biz_type": 0,
  "category": "fsd",
  "create_time": 1716915675,
  "icon": "smart/icon/bay1672726785747y0qr/3b49bc6df24934ee95e68cbf0d8b62e9.png",
  "id": "xxxx",
  "ip": "xxxx",
  "lat": "52.1",
  "local_key": "xxxx",
  "lon": "5",
  "model": "XW-FAN-215-D(带灯不调光)",
  "name": "Ventilator",
  "online": true,
  "owner_id": "xxxx",
  "product_id": "xxxx",
  "product_name": "Ceiling Fan",
  "status": [
    {
      "code": "switch_led",
      "value": false
    },
    {
      "code": "work_mode",
      "value": "white"
    },
    {
      "code": "temp_value",
      "value": 500
    },
    {
      "code": "scene_data",
      "value": ""
    },
    {
      "code": "fan_switch",
      "value": false
    },
    {
      "code": "fan_speed",
      "value": 1
    },
    {
      "code": "fan_direction",
      "value": "forward"
    },
    {
      "code": "fan_countdown_left",
      "value": 0
    }
  ],
  "sub": false,
  "time_zone": "+02:00",
  "uid": "xxxx",
  "update_time": 1716972772,
  "uuid": "xxxx"
},
{
  "active_time": 1716131979,
  "biz_type": 0,
  "category": "fsd",
  "create_time": 1716131738,
  "icon": "smart/icon/ay1574761613130XgLRn/16145679637dc1c9fd58e.png",
  "id": "xxxx",
  "ip": "xxxx",
  "lat": "",
  "local_key": "xxxx",
  "lon": "",
  "model": "only fan",
  "name": "Ventilator",
  "online": true,
  "owner_id": "xxxx",
  "product_id": "xxxx",
  "product_name": "Ceiling Fan",
  "status": [
    {
      "code": "fan_switch",
      "value": false
    },
    {
      "code": "fan_speed",
      "value": 3
    },
    {
      "code": "fan_direction",
      "value": "forward"
    },
    {
      "code": "countdown_left_fan",
      "value": 0
    }
  ],
  "sub": false,
  "time_zone": "+02:00",
  "uid": "xxxx",
  "update_time": 1716890027,
  "uuid": "xxxx"
},
{
  "active_time": 1716918615,
  "biz_type": 0,
  "category": "fsd",
  "create_time": 1716910193,
  "icon": "smart/icon/bay1672726785747y0qr/3b49bc6df24934ee95e68cbf0d8b62e9.png",
  "id": "xxxx",
  "ip": "xxxx",
  "lat": "52.1",
  "local_key": "xxxx",
  "lon": "5",
  "model": "XW-FAN-215-D(带灯不调光)",
  "name": "Ventilator",
  "online": true,
  "owner_id": "xxxx",
  "product_id": "xxxx",
  "product_name": "Ceiling Fan",
  "status": [
    {
      "code": "switch_led",
      "value": false
    },
    {
      "code": "work_mode",
      "value": "white"
    },
    {
      "code": "temp_value",
      "value": 1000
    },
    {
      "code": "scene_data",
      "value": ""
    },
    {
      "code": "fan_switch",
      "value": false
    },
    {
      "code": "fan_speed",
      "value": 6
    },
    {
      "code": "fan_direction",
      "value": "forward"
    },
    {
      "code": "fan_countdown_left",
      "value": 0
    }
  ],
  "sub": false,
  "time_zone": "+02:00",
  "uid": "xxxx",
  "update_time": 1716918618,
  "uuid": "xxxx"
}

], "success": true, "t": xxxx, "tid": "xxxx" }

Device Control Mode

DP Instruction

Logs

[Tuya] Restoring existing accessory from cache: Fan
[Tuya] [Fan] Light type: Unknown
[Tuya] [Fan] Adaptive Lighting disabled.

Other Infomations

The ceiling fan (Create Windcalm DC) works perfectly in HomeKit when using the plugin in Homebridge, but the ceiling fan light is not responding to commands.

EzeikieI commented 1 month ago

Hi. Same issue here. Did you find any solution ? Have a good day.