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

Wrong inital name for new TS0201 #117

Open
web2brain opened this issue Aug 24, 2024 · 4 comments
Open

Wrong inital name for new TS0201 #117

web2brain opened this issue Aug 24, 2024 · 4 comments

Comments

@web2brain
Copy link

web2brain commented Aug 24, 2024

I added two new TS0201 and their model name was not set to "TS0201-z" as I expected, but to "��z�" (copy & paste from Home Assistant probably made it worse).
If I check the two new sensors, their information contains:
"manufacturer": "Tuya", "model": "\ufffd\u0003z\u0002", "name": "Tuya \ufffd\u0003z\u0002",
The older ones have
"manufacturer": "Tuya", "model": "TS0201-z", "name": "Tuya TS0201-z",

Not a big issue, as the names can be changed, but irritating.

Thank you a lot for this great zigbee firmware for these sensors!

@pvvx
Copy link
Owner

pvvx commented Aug 24, 2024

Flash was not cleared after Tuya flashing.
The name is stored in Flash at address 0x075000.
This sector contained characters matching the name format filter.

@web2brain
Copy link
Author

What does this mean for using it as a Zigbee sensor? Can I just rename them? It happened for OTA flashing via ZHA and also directly flashing the Zigbee firmware to the controller via USB TTL.

@pvvx
Copy link
Owner

pvvx commented Aug 27, 2024

The device name can be set using the standard Zigbee function.

image

Maximum name length is 24 characters

@web2brain
Copy link
Author

That was my understanding as well, thanks for confirming it.

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

2 participants