Skip to content
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

Support for new device ZG-227Z #161

Closed
pohlond opened this issue Feb 9, 2025 · 9 comments
Closed

Support for new device ZG-227Z #161

pohlond opened this issue Feb 9, 2025 · 9 comments

Comments

@pohlond
Copy link

pohlond commented Feb 9, 2025

Hello, I have successfully added support for the new device ZG-227Z. It is a different variant of the TH03Z sensor. The temperature/humidity sensor is AHT20 and is connected via software I2C. MCU is TLSR8253.

According to the original firmware, the manufacturer is 0x1286 and the image type is 0x0203.

// GPIO_PA7 - SWS
// GPIO_PB1 - TX
// GPIO_PC2 - LED
// GPIO_PB7 - RX
// GPIO_PD4 - KEY
// GPIO_PC3 - SDA
// GPIO_PC4 - SCL

Patch file:
ZG_227Z.zip

Link:
https://www.aliexpress.com/item/1005008095769004.html

Images:
Image
Image

@pvvx
Copy link
Owner

pvvx commented Feb 10, 2025

@pohlond
Copy link
Author

pohlond commented Feb 10, 2025

So the PCB serves as a template for multiple types of devices, nice...

@pvvx
Copy link
Owner

pvvx commented Feb 10, 2025

  1. Original name in z2m/ZHA - TS0601_TZE200_???? ?
  2. Original Full-Flash ?
  3. Zigbee OTA ID: 1286-0203-10013001 ?

BLE version has already been added. https://github.com/pvvx/ATC_MiThermometer

@pohlond
Copy link
Author

pohlond commented Feb 10, 2025

  1. Original name: TS0601_TZE200_a8sdabtg
  2. Tuya bin: zg-227z_orig.bin.zip
  3. Zigbee OTA ID: 1286-0203-10013001

@pvvx
Copy link
Owner

pvvx commented Feb 10, 2025

https://pvvx.github.io/ZG-227Z/ ?

@pohlond
Copy link
Author

pohlond commented Feb 10, 2025

looks good

@pvvx
Copy link
Owner

pvvx commented Feb 10, 2025

ZigbeeTlc version has been added. https://github.com/pvvx/ZigbeeTLc

I soldered AHT25 into ZG-103Z and tested it...

@pvvx pvvx closed this as completed Feb 11, 2025
@NonPIayerCharacter
Copy link

Same firmware works on ZG-227ZS v1.2
But instead of TLSR8253 it has TLSR8258. It announced itself with the same name.
I tried to port it, but couldn't make the sensor work.
Unfortunately, the backup i took is most likely corrupted somehow, because when i tried to flash it back it didn't work. So i set it aside and forgot about it until now.

Backup: ff.zip

Image

@pvvx
Copy link
Owner

pvvx commented Feb 11, 2025

Same firmware works on ZG-227ZS v1.2
But instead of TLSR8253 it has TLSR8258.

It doesn't matter. The main thing is that the port pins match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants