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
Also,
Can you please make sure that you follow the following procedure?
Thanks in advance,
Azerty
ishimarumakoto
(Marco Antonio Velloni Figueiredo Junior)
28
Hi @azerty9971
Sorry for the late reply but I moved house and was unable to set my server until yesterday.
Tested with the 3.0 beta and the opening button is working great!
Thank you so much for your contribution
Hi,
I’ve got an issue with lock. I managed to Lock and Unlock via Alexa commands (created scriprs), however I just found out that in Xtended Tuya there is an option to Lock/Unlock door, but when I click on the button it sends me error message Failed to perform the action lock/lock. ‘bfe1be3f228a283107jawd’