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 separate white and yellow controls #330

Open
tdiggity opened this issue Oct 6, 2021 · 1 comment
Open

New Device: Ceiling fan with separate white and yellow controls #330

tdiggity opened this issue Oct 6, 2021 · 1 comment
Labels
newDevice Add support for a new device.

Comments

@tdiggity
Copy link

tdiggity commented Oct 6, 2021

Describe your device
Carro Ceiling Fan

Example: Generic Brand Lightbulb with Hex Color support, and 255 brightness.

Partial Support?
Using defaults, the yellow_led can be controlled. Fan speed works, too.

This is my configuration:

{
    "type": "Fanlight",
    "name": "Ceiling Fan ",
    "id": "x",
    "key": "x",
    "manufacturer": "Carro",
    "model": "Smart WiFi Fan Switch",
    "useBrightness": "True",
    "maxSpeed": 10
},

Device Schema
light = yellow leds
white_led = white leds

light and white_led are separately tunable in brightness.

bright_value	Integer	
{
  "min": 10,
  "max": 1000,
  "scale": 0,
  "step": 1
}
light	Boolean	
"{true,false}"
fan_speed	Enum	
{
  "range": [
    "1",
    "2",
    "3",
    "4",
    "5",
    "6",
    "7",
    "8",
    "9",
    "10"
  ]
}
switch	Boolean	
"{true,false}"
switch_led	Boolean	
"{true,false}"
bright_value_1	Integer	
{
  "min": 10,
  "max": 1000,
  "scale": 0,
  "step": 1
}

Additional context
Add any other context about the problem here.

@tdiggity tdiggity added the newDevice Add support for a new device. label Oct 6, 2021
@tdiggity
Copy link
Author

tdiggity commented Oct 8, 2021

[Tuya] SimpleFanLight changed: {"1":false,"2":"normal","3":"5","6":"0","7":0,"9":false,"10":1000,"101":true,"102":400,"103":"forward"}

key 9 = yellow_light, value = brightness
key 101 = white_led, value = brightness

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