-
Notifications
You must be signed in to change notification settings - Fork 126
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
WIP: LCD T&H with date/time display #641
base: SDK3
Are you sure you want to change the base?
Conversation
I'd like to ask for help.
Correct me if i'm wrong but i believe the above request is send by the sensor to request for date/time in some format likely epoch or something. But for the life of me i can't find how to answer with code and or if im actually looking at the request for time update. |
Hi there @jepke, not sure I get the issue here.. your PR is quite a mess with two drivers and images and icons etc that do not match.. is this an early trial to get something working? Perhaps better to start an issue and ask for me to have a look at your code? |
Yea i need to fix that up, based all my PR's off SDK3 branch but something is funky with that app.json file that gets regenerated by this is the device i have which can display date and time but there's no code to actually send date/time or respond to its request to get date/time. So when the device is booted it just shows/starts at I found something that suggested 0x24 is the request command for date/time which equals 36 in decimal which makes me believe the debug output from my last message is the device its request for date/time value. |
@jepke The app.json is nothing you should make changes in. it is a generated file. |
Yes, Cmd ID 36 (0x24) is the Set Time command. I guess it's just to simple to use Zigbee Cluster 10.. they HAVE to come up with their own way using commands 😂 |
Yea been just reading up in the SDK docs about it. Either @JohanBendz
Ill also redo this PR once i have cleaned up locally and rebase of the the updated SDK3 branch. |
Guess tuya did something with CL10 (time) havent noticed these before. |
Hi @jepke, how is work going on this driver? :) |
was still strugling with the date/time update thing and then got caught up in other things. Hopefully some more time for fun things after this week. |
i ended up hooking these lcd t&h sensors up to my zigbee2mqtt. This PR fully works with the temp hum and battery i just never got the damn time to update on those so the display would display correct date/time. Ill leave it up to you what to do with this PR. Hopefully someday i get enough knowledge about zigbee and tuya to finaly fix it. |
Have you tried adding _TZE200_locansqn to the temphumidisensor4 driver? It already supports the pretty much identical, though with a color LCD, _TZE200_vvmbj46n |
Need to figure out on which DP to put the time. And likely update on any message. They get out of sync by a minute within the hour.