pvvx / THB2

Custom firmware for Tuya devices on the PHY622x2 chipset
Other
92 stars 13 forks source link

TH05F TH05Y_V1.2 with 2332 LCD not working. #14

Closed rbonat closed 4 months ago

rbonat commented 4 months ago

Tested TH05_V1.2 device like in picture - everything seems to work ok on TH05_v11.bin except display. Any plans to support 2332 display in the future? log:

13:22:03: Ожидание соединения с TH05-92848F 13:22:18: Model: TH05 13:22:18: Firmware: github.com/pvvx 13:22:18: Hardware: 0001 13:22:18: Software: V1.1 13:22:19: Dev info # hw: 0015, sw: 0011, services: 000042B0, sd: 0000 13:22:19: Устройство подключено.

IMG_0792 IMG_0791

pvvx commented 4 months ago

Today there is only TH05_V1.4. I ordered a few more options on aliexpress. I'll see which ones come...

rbonat commented 4 months ago

Thank you, I'll wait then. By the way - impressive job already done!

jurgen2005 commented 4 months ago

I have this model but get the following message: Connecting... PHY62x2 - Reset Ok Error read Revision!

something I did wrong?

pvvx commented 4 months ago

RTS is not connected to Reset (REST_N)?

jurgen2005 commented 4 months ago

I think it is, like this?

image
CMY-Reader commented 4 months ago

I have this model but get the following message: Connecting... PHY62x2 - Reset Ok Error read Revision!

something I did wrong?

Linux OS?

Try to do manual reset. Disconnect reset wire. Run script. Then short once reset to the ground (BAT-).

jurgen2005 commented 4 months ago

Works! Thx! OTA also works, appears as BThome, just no display...

PHY62x2 Utility version 25.01.24

Connecting... PHY62x2 - Reset Ok Revision: b'001364c8 6222M005' FlashID: 1364c8, size: 512 kbytes PHY62x2 - connected Ok ---- Segments Table ------------------------------------- Segment: 11003000 <- Flash addr: 00003000, Size: 00009100 Segment: 1fff0000 <- Flash addr: 0000c100, Size: 00000400 Segment: 1fff1838 <- Flash addr: 0000c500, Size: 00002de2

Erase Flash work area... ok Segment Table[03] <- Flash addr: 00002000, Size: 00000130 Write 0x00000130 bytes to Flash at 0x00002000... ok Segment: 11003000 <- Flash addr: 00003000, Size: 00009100 Write 0x00002000 bytes to Flash at 0x00003000... ok Write 0x00002000 bytes to Flash at 0x00005000... ok Write 0x00002000 bytes to Flash at 0x00007000... ok Write 0x00002000 bytes to Flash at 0x00009000... ok Write 0x00001100 bytes to Flash at 0x0000b000... ok Segment: 1fff0000 <- Flash addr: 0000c100, Size: 00000400 Write 0x00000400 bytes to Flash at 0x0000c100... ok Segment: 1fff1838 <- Flash addr: 0000c500, Size: 00002de2 Write 0x00002000 bytes to Flash at 0x0000c500... ok Write 0x00000de2 bytes to Flash at 0x0000e500... ok

Write Flash from file: BOOT_TH05_v11.hex - ok. Send command 'reset' - ok

SaiQmon commented 4 months ago

Any news on this v1.2 display? Flashed with USB, then OTA and now it's BTHome compatible OK - without local display :(

Also, the "TH05_v12.bin" disappeared from BIN folder? Why?

SaiQmon commented 4 months ago

Also, do not OTA flash the working v1.2 with "TH05V13_v14.bin", device goes fully unresponsive. I need to try USB flash to retrieve it.

pvvx commented 4 months ago

In the file name "_v1.4.hex" is the firmware version number, not the device. TH05F image image image There is no firmware for TH05F yet, but it will be available soon.

pvvx commented 4 months ago

Added firmware for TH05F

rbonat commented 4 months ago

I can confirm that TH05Y_V1.2 works on TH05F_v14.bin with display :) Excellent work! I think this issue can be closed then.

SaiQmon commented 4 months ago

Confirmed, TH05Y_V1.2 works on TH05F_v14.bin, display working. Great work, thanks!

VolunPotest commented 3 months ago

Добрый день, @pvvx. А что у этой версии по эноргопотреблению? (на оригинальной и вашей прошивке) Есть ли разница с TH05?

pvvx commented 3 months ago

Минимум двукратная по сравнению с оригинальной от Tuya. Пока есть только такая статистика image

VolunPotest commented 3 months ago

Минимум двукратная по сравнению с оригинальной от Tuya. Пока есть только такая статистика image

Двухкратная в лучшую сторону или худшую? Вижу на графики, что потребление снизилось после 6 марта

pvvx commented 3 months ago

Напряжение CR2032 зависит от температуры и сильно.