-
Notifications
You must be signed in to change notification settings - Fork 65
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
Step by Step guide pls #14
Comments
which 3.3V TTL serial port device can be used to connect to it? thanks |
I have one that looks like this, which is a FT232RL FTDI |
There is a lot of information over at the Home Assistant forum thread. I suggest you look through that. I wrote a small howto for the first stage here. Note that if you have already connected your gateway to the internet and it has contacted Tuya's cloud, you will might not be able to use the root password extraction method, and you will need to rebuild and flash your root filesystem. There is also further information in other issues such as here. Back to your original reason for opening the issue: It probably needs someone to write it all up and propose an updated README. Maybe you have some time to help with that? |
Hi @challs, thanks for your detailed reply. I already have UART to USB device which looks similar to yours. So I think it should be alright.
sadly, I have connected it to the internet prior to all this home automation interest. Now that I have installed
I happily volunteer to write up a detailed n00b proof step by step instructions for you. Perhaps with a video tutorial. |
The LIDL version is well snapped and is not so easy getting popping up. |
I am making progress! I have purchased UART to USB device, DuPONT cables and most importantly popped open the case. On Paul's website, I see there are pins sticking out of the Lidl PCB. But in my device there are none. I am assuming its some sort of pin header. Is that true? If it is what is it called? thanks |
The J1 is not populated from the factory but you can soldiering one if you like. Pin 1 is on the inner side to the CPU and the pin 6 is on the side to the border of the PCB. |
or I will give it a shot first.
I am not sure what you're trying to say here. I thought I just need to connect three cables i.e. TX, RX and GND? Lastly, Which software do you use to connect to SERIAL port? I am using putty. I checked what the COM port is i.e. COM3, then set the speed to 38400 and connect. is this the right method? |
You can supplying the ZBGW with 3.3 V from the USB-TTL converter (plus the 3 normal GND, RX and TX) and no USB connected or you have the USB power supply connected and using GND, RX and TX. PuTTY is little old but its working OK as long not need sending files with XModem and in Linux Mini com i the standard. |
If you have the right comport and the cable OK you shall see the logging from the system boot in the console then its booting and also if you is not having Ethernet connected its trying discovery the network and doing printing that you shall see. |
ok, I just saw the terminal messages for the first time and it lands me at a |
Then you only need reboot the ZBGW and pressing "ESC" for landing in the bootloader :-))) |
The password you must "extract" from the bootloader then you can logging in on the "normal" mode. |
All done Thanks very much. I think I will change the Cheers |
Great work done !! I can recommending using the Release-1.2 of the binaries that have more functions and fixes that the linked from the main hacking page. |
I downloaded everything using this page. I have no idea which version I installed |
ok I just checked the md5 hash for both binaries and they are the same :) md5 serialgateway
MD5 (serialgateway) = 4bb59358e6db08192e8aeda3f8d0e646
md5 serialgateway.bin
MD5 (serialgateway.bin) = 4bb59358e6db08192e8aeda3f8d0e646 |
Its the original version that have problem doing updating of the Zigbee module. I can also recommending updating the firmware on the Zigbee module but only if you is not planing to connecting the ZBGW to tuya cloud then its not (easy) to reverting the firmware update. Edit: I was downloading the serialgateway for 2 weeks ago and its was the old version but i can being updated on the web site. |
I always stuck on stopping the boot process into the bootloader. regards, chris |
Important is flow control is set to non (no hardware or software flow control) if i remember right. One warning is that tuya have released new versions with Matter support but i dont knowing if they have blocking our hacks or only updated there application they is running on the hardware. Also not all brands dont like paying for the upgrade so all ZBGW devices of different brands is not getting it but we dont knowing if / now and then if its happening. |
Las year I have hacked 2 of the lidl zigbee gateway, went very smooth. I just bought a new gateway from lidl and now is impossible to stop loading linux. esc doesn't work anymore |
Is it the same still as this device? https://www.lidl.it/p/smart-home/gateway-lidl-home/p60735 ; Maybe they changed the bootloader break sequence - or disabled it altogether. Are there any physical differences you can see (labels, etc)? I'll check in Lidl next time I'm there and buy another. I'm sure we can find another way! 😃 |
LIDL have one new version certificated but is running the same version of the APP (1.0.6) and both is having hardware version 100 = not grantee that the bootloader is changed. The tuya version is original HW 1.0.2 and APP 1.1.14 and one HW 1.0.3 is running the same APP as 08/13/2021. But is one updated HW V1.0.4 as 11/01/2022 that is running APP V2.0.0 and is Matter certificated and not Zigbee but i think its not being used of our rebranded devices then its very new. I think they have updating the bootloader or the setting for it in the device so its not easy hacking it. By the way great to see you Paul !! |
Gateway bought 2 weeks ago seems to work, I tried now another serial converter, and I was able to stop boot process. Now I'll try next steps |
OK, I followed the manual from here now I was able to integrate it into my HomeAssistant. One thing I'm not sure If the steps in the other howto with replacing the whole firmware is also required, or this is enough? Thanks to all for your responses |
Great work done !!The original was running EZSP 6.5.X firmware on the Zigbee module and its little old and have many bugs that we dont like to have in our system. If you like flashing the Zigbee module firmware in one easy way you can trying https://github.com/puddly/universal-silabs-flasher that is working good for my after updating my python install in windows. Edit: If you must replacing the whole firmware ? |
Hi,
Ok I see that the problem can be the USB to TTL device, I have tried with 3
different usb to ttl and I cannot stop the boot loader.
Here is the GW board and the 3 usd to ttl devices
Il giorno gio 8 dic 2022 alle ore 16:18 Chris5020 ***@***.***>
ha scritto:
… Gateway bought 2 weeks ago seems to work, I tried now another serial
converter, and I was able to stop boot process. Now I'll try next steps
PCB ist REV1.0.2.7 from 21 19
—
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHYUDHSE5LYHO5244RZLOFTWMHU45ANCNFSM46HYMZ2Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I had the same issue. Doing the transfer using WSL worked fine. |
first of all, thanks Paul for a great write up, I was able to pull it off on a USB-c zigbee version of the gateway I bought not too long ago. Regarding noob guide, I was also missing simple things that are mentioned here, like pin 1, that RX and TX cross and more of the basic anyone doing it more often probably knows. I may do a write up myself sometime. Just to share, I have some V2 version of the board and I used minicom on linux to connect like so : sudo minicom -D /dev/ttyUSB0 using a cheap USB to serial device. thank you! |
Hi Paul,
Amazing project!
I already have a lidl silver crest gateway up and running which I wish to integrate with Home Assistant.
Would appreciate a step by step
n00b proof guide
.Thanks
Cheers,
The text was updated successfully, but these errors were encountered: