-
Notifications
You must be signed in to change notification settings - Fork 758
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
[Device Support Request] _TZ3210_weaqkhab TS110E (QS-Zigbee-D02-TRIAC-L whitout neutral) #2058
Comments
Do you mind to add the device signature? There are a few |
Without any quirks works only on/off and no dimming. for example response with this quirk #1840 (comment):
This is signature of my device:
|
Your device is not one |
I have a proposal for your device but probably will going to need adjusting: DimmerSwitchNoNeutral1Gangclass DimmerSwitchNoNeutral1Gang_var01(TuyaDimmerSwitch):
"""Tuya Dimmer Switch Module Without Neutral 1 Gang."""
signature = {
MODELS_INFO: [("_TZ3210_weaqkhab", "TS110E")],
ENDPOINTS: {
1: {
# "profile_id": 260,
# "device_type": "0x0101",
# "in_clusters": ["0x0000","0x0004","0x0005","0x0006","0x0008","0x0300","0xef00"],
# "out_clusters": ["0x000a","0x0019"]
PROFILE_ID: zha.PROFILE_ID,
DEVICE_TYPE: zha.DeviceType.DIMMABLE_LIGHT,
INPUT_CLUSTERS: [
Basic.cluster_id,
Groups.cluster_id,
Scenes.cluster_id,
OnOff.cluster_id,
LevelControl.cluster_id,
Color.cluster_id,
TuyaZBExternalSwitchTypeCluster.cluster_id,
],
OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
},
2: {
# "profile_id": 260,
# "device_type": "0x0101",
# "in_clusters": ["0x0004","0x0005","0x0006","0x0008","0x0300","0xef00"],
# "out_clusters": []
PROFILE_ID: zha.PROFILE_ID,
DEVICE_TYPE: zha.DeviceType.DIMMABLE_LIGHT,
INPUT_CLUSTERS: [
Groups.cluster_id,
Scenes.cluster_id,
OnOff.cluster_id,
LevelControl.cluster_id,
Color.cluster_id,
TuyaZBExternalSwitchTypeCluster.cluster_id,
],
OUTPUT_CLUSTERS: [],
},
242: {
# "profile_id": 41440,
# "device_type": "0x0061",
# "in_clusters": [],
# "out_clusters": ["0x0021"]
PROFILE_ID: 41440,
DEVICE_TYPE: 97,
INPUT_CLUSTERS: [],
OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
},
},
}
replacement = {
ENDPOINTS: {
1: {
PROFILE_ID: zha.PROFILE_ID,
DEVICE_TYPE: zha.DeviceType.DIMMABLE_LIGHT,
INPUT_CLUSTERS: [
Basic.cluster_id,
Groups.cluster_id,
Scenes.cluster_id,
OnOff.cluster_id,
F000LevelControlCluster,
TuyaZBExternalSwitchTypeCluster,
],
OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
},
242: {
PROFILE_ID: 41440,
DEVICE_TYPE: 97,
INPUT_CLUSTERS: [],
OUTPUT_CLUSTERS: [GreenPowerProxy.cluster_id],
},
},
} You will need to import the And because is a 1 gang device, I have also removed the endpoint 2. All the other clusters are the same that already in use in the class, but not sure if they will be functional ( |
There is no Color class in zigpy.zcl.clusters.general
But without success:
|
OK.
and found that TuyaZBExternalSwitchTypeCluster cannot be used because of different cluster_id. Needed cluster_id is 0xef00.
I`ve created custom class (copypasted from code and changed cluster_id)
|
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions. |
Hi!
I have one gang Dimmer without neutral. Manufacturer _TZ3210_weaqkhab Model TS110E
Can someone convert to quirk from zigbee2mqtt format Koenkk/zigbee2mqtt#11853 (comment)
The text was updated successfully, but these errors were encountered: