Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Device: Ceiling Fan with TW Light #488

Open
megusd opened this issue Oct 30, 2024 · 0 comments
Open

New Device: Ceiling Fan with TW Light #488

megusd opened this issue Oct 30, 2024 · 0 comments
Labels
newDevice Add support for a new device.

Comments

@megusd
Copy link

megusd commented Oct 30, 2024

Describe your device
Ceiling Fan with possibility to adjust light color temperature
Model: GRID Connect DCF4002WHA, available in Australian Bunning Warehouse

Partial Support?
Existing template is working but missing color temperature and fan direction switching.
Was able to set up the device in Home Assistant with custom integration "Local Tuya", had to reverse light color temperature (there is in option in HA plugin)
Pls add adaptiveLightingSupport same as in TWLightAccessory.js

Device Schema


      "category": "fsd",
      "name": "GRID Ceiling Fan",
      "product_id": "1wadkk3gy2dgjuis",
      "product_name": "Ceiling Fan DCF4002WHA"
      {
        "code": "switch",
        "dp_id": 1,
        "type": "bool",
        "values": "{}"        
      },      
      {
        "code": "fan_speed",
        "dp_id": 3,
        "type": "enum",
        "values": "{\"range\":[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]}"
      },
      {
        "code": "fan_direction",
        "dp_id": 4,
        "type": "Enum",
        "values": "{\"range\":[\"forward\",\"reverse\"]}"
      },
      {
        "code": "light",
        "dp_id": 9,
        "type": "bool",
        "values": "{}"        
      },      
      {
        "code": "bright_value",
        "dp_id": 10,
        "type": "value",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":100,\"scale\":0,\"step\":2}",
      },
      {
        "code": "temp_value",
        "dp_id": 11,
        "type": "value",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":100,\"scale\":0,\"step\":2}"
      },
      {
        "code": "run_mode",
        "dp_id": 102,
        "type": "enum",
        "values": "{\"range\":[\"nature\",\"sleep\"]}"
      },
      {
        "code": "timer_stop",
        "dp_id": 103,
        "type": "enum",
        "values": "{\"range\":[\"cancel\",\"1h\",\"2h\",\"4h\",\"8h\"]}"
      }

@megusd megusd added the newDevice Add support for a new device. label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
newDevice Add support for a new device.
Projects
None yet
Development

No branches or pull requests

1 participant