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

Add TS004F / _TZ3000_nuombroo #6303

Merged
merged 2 commits into from
Oct 20, 2023
Merged

Conversation

konistehrad
Copy link
Contributor

Closes Koenkk/zigbee2mqtt#19327 by adding support for _TZ3000_nuombroo

@konistehrad
Copy link
Contributor Author

konistehrad commented Oct 17, 2023

Ah sorry I’m not entirely sure how to set this up it looks like. Should I remove the model field from both objects?

'Operation mode: "command" - for group control, "event" - for clicks'),
e.action(['on', 'off', 'brightness_step_up', 'brightness_step_down', 'brightness_move_up',
'brightness_move_down', '1_single', '1_double', '1_hold', '2_single', '2_double', '2_hold',
'3_single', '3_double', '3_hold', '4_single', '4_double', '4_hold'])],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do the actions depend on the operation_mode? (command = on/off, etc, event=1_double`, etc.)?
If this is the case my previous statement was wrong and you can merge these.

Copy link
Contributor Author

@konistehrad konistehrad Oct 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, exactly. In command mode the device will broadcast the specific action messages to the group (on, off etc) but in event mode it sends special frames handled by tuya_on_off_action in fromZigbee.

EDIT: Ah wait I see what you're saying now. Yes I'll get this merged into the other entry.

@konistehrad konistehrad force-pushed the _TZ3000_nuombroo branch 2 times, most recently from 6d41e0a to 459e6ee Compare October 19, 2023 00:41
@Koenkk Koenkk merged commit e81ba3f into Koenkk:master Oct 20, 2023
@Koenkk
Copy link
Owner

Koenkk commented Oct 20, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[New device support]: Zigbee model 'TS004F' and manufacturer name '_TZ3000_nuombroo'
2 participants