-
Notifications
You must be signed in to change notification settings - Fork 130
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
Sdk3 - 2 new drivers for #140, #115 (only 1 gang) and 1 new driver for Smart Knob. #145
Open
danielgajdos
wants to merge
7
commits into
JohanBendz:SDK3
Choose a base branch
from
danielgajdos:SDK3
base: SDK3
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add "TUYATEC-v3uxbuxy".
Add "TS0002"/"_TZ3000_fisb3ajo".
Add "_TZ3000_bvrlqyj7".
Add _TZ3000_ke7pzj5d.
Add new driver for Moes 1 Gang Dimmer Module TS0601/_TZE200_la2c2uo9.
Hi @danielgajdos. Thanks for the PR, I'll try it out asap. |
Hi @danielgajdos, a few comments regarding the smart knob:
|
Hi Johan,
Here is the lonk for that knob € 11,60 43% Off | 1pc New Tuya ZigBee Smart
Knob Wireless Scene Switch Button Controller Battery Powered Automation
Scenario For Tuya Devices
https://a.aliexpress.com/_mKFdLUs
And here is the interview:
"ids": { "modelId": "TS004F", "manufacturerName": "_TZ3000_4fjiwweb" },
"endpoints": { "endpointDescriptors": [ { "endpointId": 1,
"applicationProfileId": 260, "applicationDeviceId": 260,
"applicationDeviceVersion": 0, "_reserved1": 1, "inputClusters": [ 0, 1, 3,
4, 6, 4096 ], "outputClusters": [ 25, 10, 3, 4, 5, 6, 8, 4096 ] } ],
"endpoints": { "1": { "clusters": { "basic": { "attributes": [ { "acl": [
"readable", "reportable" ], "id": 0, "name": "zclVersion", "value": 3,
"reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported"
} }, { "acl": [ "readable", "reportable" ], "id": 1, "name": "appVersion",
"value": 67, "reportingConfiguration": { "direction": "reported",
"attributeDataType": 32, "minInterval": 1, "maxInterval": 65534,
"minChange": 0, "status": "SUCCESS" } }, { "acl": [ "readable",
"reportable" ], "id": 2, "name": "stackVersion", "value": 0,
"reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported"
} }, { "acl": [ "readable", "reportable" ], "id": 3, "name": "hwVersion",
"value": 1, "reportingConfiguration": { "status": "NOT_FOUND", "direction":
"reported" } }, { "acl": [ "readable", "reportable" ], "id": 4, "name":
"manufacturerName", "value": "_TZ3000_4fjiwweb", "reportingConfiguration":
{ "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [
"readable", "reportable" ], "id": 5, "name": "modelId", "value": "TS004F",
"reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported"
} }, { "acl": [ "readable", "reportable" ], "id": 6, "name": "dateCode",
"value": "", "reportingConfiguration": { "status": "NOT_FOUND",
"direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id":
7, "name": "powerSource", "value": "battery", "reportingConfiguration": {
"status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable",
"writable", "reportable" ], "id": 65502, "reportingConfiguration": {
"status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable",
"reportable" ], "id": 65533, "name": "clusterRevision", "value": 2,
"reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported"
} }, { "acl": [ "readable", "reportable" ], "id": 65534, "name":
"attributeReportingStatus", "value": "PENDING", "reportingConfiguration": {
"status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable",
"reportable" ], "id": 65504, "reportingConfiguration": { "status":
"NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable",
"reportable" ], "id": 65505, "reportingConfiguration": { "status":
"NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable",
"reportable" ], "id": 65506, "reportingConfiguration": { "status":
"NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable",
"reportable" ], "id": 65507, "reportingConfiguration": { "status":
"NOT_FOUND", "direction": "reported" } } ], "commandsGenerated":
"UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" },
"powerConfiguration": { "attributes": [ { "acl": [ "readable", "reportable"
], "id": 0, "reportingConfiguration": { "status": "NOT_FOUND", "direction":
"reported" } }, { "acl": [ "readable", "reportable" ], "id": 32, "name":
"batteryVoltage", "value": 30, "reportingConfiguration": { "status":
"NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable",
"reportable" ], "id": 33, "name": "batteryPercentageRemaining", "value":
200, "reportingConfiguration": { "direction": "reported",
"attributeDataType": 32, "minInterval": 14400, "maxInterval": 65534,
"minChange": 10, "status": "SUCCESS" } }, { "acl": [ "readable",
"reportable" ], "id": 65533, "name": "clusterRevision", "value": 1,
"reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported"
} } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived":
"UNSUP_GENERAL_COMMAND" }, "identify": { "attributes": [ { "acl": [
"readable", "writable", "reportable" ], "id": 0, "reportingConfiguration":
{ "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [
"readable", "reportable" ], "id": 65533, "name": "clusterRevision",
"value": 1, "reportingConfiguration": { "status": "NOT_FOUND", "direction":
"reported" } } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND" }, "groups": { "attributes": [
{ "acl": [ "readable", "reportable" ], "id": 0, "name": "nameSupport",
"value": { "type": "Buffer", "data": [ 0 ] }, "reportingConfiguration": {
"status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable",
"reportable" ], "id": 65533, "name": "clusterRevision", "value": 1,
"reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported"
} } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived":
"UNSUP_GENERAL_COMMAND" }, "onOff": { "attributes": [ { "acl": [
"readable", "writable", "reportable" ], "id": 32772,
"reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported"
} } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived":
"UNSUP_GENERAL_COMMAND" }, "touchlink": { "attributes": [ { "acl": [
"readable", "reportable" ], "id": 65533, "name": "clusterRevision",
"value": 1, "reportingConfiguration": { "status": "NOT_FOUND", "direction":
"reported" } } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND" } }, "bindings": { "identify":
{ "attributes": [ { "acl": [ "readable", "writable", "reportable" ], "id":
0, "reportingConfiguration": { "status": "NOT_FOUND", "direction":
"reported" } }, { "acl": [ "readable", "reportable" ], "id": 65533, "name":
"clusterRevision", "value": 1, "reportingConfiguration": { "status":
"NOT_FOUND", "direction": "reported" } } ], "commandsGenerated":
"UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" },
"groups": { "attributes": [ { "acl": [ "readable", "reportable" ], "id": 0,
"name": "nameSupport", "value": { "type": "Buffer", "data": [ 0 ] },
"reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported"
} }, { "acl": [ "readable", "reportable" ], "id": 65533, "name":
"clusterRevision", "value": 1, "reportingConfiguration": { "status":
"NOT_FOUND", "direction": "reported" } } ], "commandsGenerated":
"UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" },
"onOff": { "attributes": [ { "acl": [ "readable", "writable", "reportable"
], "id": 32772, "reportingConfiguration": { "status": "NOT_FOUND",
"direction": "reported" } } ], "commandsGenerated":
"UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" },
"touchlink": { "attributes": [ { "acl": [ "readable", "reportable" ], "id":
65533, "name": "clusterRevision", "value": 1, "reportingConfiguration": {
"status": "NOT_FOUND", "direction": "reported" } } ], "commandsGenerated":
"UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" },
"ota": { "attributes": [], "commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND" }, "time": { "attributes": [],
"commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived":
"UNSUP_GENERAL_COMMAND" }, "scenes": { "attributes": [],
"commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived":
"UNSUP_GENERAL_COMMAND" }, "levelControl": { "attributes": [],
"commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived":
"UNSUP_GENERAL_COMMAND" } } } } }
I didn't add cluster 8 and 768 to the driver as they were not in the
interview in input clusters, I found this cluster based on debug messages.
How are you converting images?
And I wrote you a PM in community that I would like to get in contact with
you via Whatsapp or email to sync about my help with bugs/requests
Have a great day
Dňa so 8. 1. 2022 o 16:01 Johan Bendz ***@***.***>
napísala(a):
… Hi @danielgajdos <https://github.com/danielgajdos>, a few comments
regarding the smart knob:
1. Do you have a correct image for the knob or an url to where I can
see it?
2. I guess it's a rotary button but cluster 8 is not added to the
driver.
3. I see you use cluster 768 in the device but it's not added to the
driver.
4. Do you have an interview of the device to share?
—
Reply to this email directly, view it on GitHub
<#145 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADLBEZY6C2T7AAFGFXX7ZS3UVBGVBANCNFSM5LNIW4DQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
dear, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @JohanBendz please ignore commits from "Commits on Dec 13, 2021" as they were part of my PR from the past. Only commits from today are relevant.