For this to work, would it be possible for you to share the device using your Tuya/SmartLife app? (after removing it from a door so that I don’t cause a security breach to your house by performing tests)
Smartlife: gg-106053160716494114782
Tuya: [email protected]
And also contact me via [email protected] so that we can arrange test sessions when the implementation will be ready
Hello,
I’m guessing it needs to call a different API to do the unlocking, but since I don’t have access to one of these devices I can’t really test…
Would it be possible to share the lock with me via the Smartlife/Tuya app? (and temporarily place it in a place where locking/unlocking won’t be an issue for you)
This is just great! Could you add local support or is it impossible? And I would also like you to add codepad support to this lock if possible. Any data you need I will provide you in Discord
Hello,
I don’t think local support is realistic for now.
Locking could be done via LocalTuya by sending True to DpId 46.
Unlocking on the other hand needs some other API and I don’t think we have access to these…
For the Keypad, I’ve just added support for the latest alarm (wrong fingerprint, face, …), the key tone setting and the battery level, do you see anything else that would be worth getting from HA?
But how can i read the current status of my G30 ? For Example i want a litte lock icon on my Dashbord that tells me if the Door is locked or open. I’ve tried but i cant get it to read the status.
Hello,
It’s so nice to see this project, I have 2 g30 at home, I’m trying to install your latest beta but I have some problems I can see the status of my lock but I can’t close or open it and if I lock the door manually, the status is not updated in HA until I open the Smart Life app.
I have the tuya integration instaled alredy, they can work together or i have to remove it?
Hello,
To be able to lock/unlock the lock from HA you need to provide cloud credentials to my integration:
Once this is in and you restarted HA you should be able to open/close the lock from HA.
The status is something that unfortunately the cloud doesn’t send right now, it’s an issue on Tuya’s side and I tried to make their support fix it but it won’t work. Actually in the app itself you don’t have the history if your bluetooth is off…
EDIT: what I mean by status is unlock history, you can get the current status of the lock (locked/unlocked) on the entity page
For your other question, you can use xtend_tuya alongside Tuya even though I would recommend removing the Tuya integration completely, xtend_tuya will detect this and take over all the functionnalities normaly handled by tuya’s integration.
Also, if you want faster response time from me, open an issue at Issues · azerty9971/xtend_tuya · GitHub .
I’m rarely on the HA community but I get emails every time an issue is created
Have a nice evening,
Azerty
ishimarumakoto
(Marco Antonio Velloni Figueiredo Junior)
16
Using @azerty9971 xtended tuya I can see the status of the door, lock and change some other settings:
Once that’s done you should be able to operate your G30 lock from HA if you have configured the IOT Cloud credentials in Xtended Tuya.
Have a nice day,
Azerty
ishimarumakoto
(Marco Antonio Velloni Figueiredo Junior)
18
Hello again @azerty9971
I have enabled it on the Tuya IOT and tested, being able to unlock it without password and get status, but the entity of the G30 still keeps the same and I cannot open it from HA
Hello,
Can you post the device diagnostics? (the “download diagnostics” from the screenshot you posted in HA).
Please remove from this file your IP and the local_key (along with any other information you deem should not be public of course :))
Thanks in advance,
Azerty
ishimarumakoto
(Marco Antonio Velloni Figueiredo Junior)
20