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

Extend ZHA for TuYaERS10TZBVKAA #831

Open
OliverDudgeon opened this issue Apr 23, 2023 · 0 comments
Open

Extend ZHA for TuYaERS10TZBVKAA #831

OliverDudgeon opened this issue Apr 23, 2023 · 0 comments
Assignees
Labels
new-device New device

Comments

@OliverDudgeon
Copy link

OliverDudgeon commented Apr 23, 2023

New Device Support

Device Information

  • Device Model: TuYaERS10TZBVKAA

Integrations

Integration: zha

Actions

The controller has two modes that are switched between with a triple click (triggers x2 Knob 2 Attribute Updated event was fired events). From the device manual these are called:

  • remote mode
  • scene mode

The actions received by ZHA depend on this mode.

In remote mode:

  • Knob 2 Remote Button Short Press - Button event was fired : single click
  • no event : double click
  • Knob 2 Remote Button Long Release - Button event was fired with parameters: {'options_mask': None, 'options_override': None} followed by Knob 2 Move Hue event was fired with parameters: {'move_mode': <MoveMode.Up: 1>, 'rate': 15, 'options_mask': None, 'options_override': None} : long press (min 3 seconds)
  • Knob 2 Step event was fired with parameters: {'step_mode': <StepMode.Up: 0>, 'step_size': 25, 'transition_time': 1, 'options_mask': None, 'options_override': None} : clockwise turn (one notch)
  • Knob 2 Step event was fired with parameters: {'step_mode': <StepMode.Down: 1>, 'step_size': 13, 'transition_time': 1, 'options_mask': None, 'options_override': None} : anticlockwise turn (one notch)
  • Knob 2 Step Color Temp event was fired with parameters: {'step_mode': <StepMode.Up: 1>, 'step_size': 52, 'Knob 2 Step Color Temp event was fired with parameters: {'step_mode': <StepMode.Up: 1>, 'step_size': 154, 'transition_time': 3, 'color_temp_min_mireds': 153, 'color_temp_max_mireds': 500, 'options_mask': None, 'options_override': None} : press and turn clockwise
  • Knob 2 Step Color Temp event was fired with parameters: {'step_mode': <StepMode.Down: 3>, 'step_size': 256, 'transition_time': 3, 'color_temp_min_mireds': 153, 'color_temp_max_mireds': 500, 'options_mask': None, 'options_override': None} : press and turn anticlockwise

N.B. each notch equates to about 12.5 for the step_size

In scene mode:

  • Knob 2 Press Type event was fired with parameters: {'press_type': 0} : single click
  • Knob 2 Remote Button Double Press - Button 1 event was fired followed by Knob 2 Press Type event was fired with parameters: {'press_type': 1} : double click
  • Knob 2 Remote Button Long Press - Button 1 event was fired followed by Knob 2 Press Type event was fired with parameters: {'press_type': 2} : long press (min 3 seconds)
  • Knob 2 Device Rotated - Left event was fired : anticlockwise turn (one notch)
  • Knob 2 Device Rotated - Right event was fired followed by Knob 2 Rotate Type event was fired with parameters: {'rotate_type': 0} : clockwise turn (one notch)

Notes

#830, #625

@OliverDudgeon OliverDudgeon added the new-device New device label Apr 23, 2023
@OliverDudgeon OliverDudgeon changed the title [NEW DEVICE] Extend ZHA for TuYaERS10TZBVKAA Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-device New device
Projects
None yet
Development

No branches or pull requests

2 participants