Skip to content

Update drv_tuyaMCU.c for implementation of the command 0x22 as "State" command for temp/hum/batt etc.#2119

Open
anlohan2026 wants to merge 8 commits into
openshwprojects:mainfrom
anlohan2026:main
Open

Update drv_tuyaMCU.c for implementation of the command 0x22 as "State" command for temp/hum/batt etc.#2119
anlohan2026 wants to merge 8 commits into
openshwprojects:mainfrom
anlohan2026:main

Conversation

@anlohan2026

Copy link
Copy Markdown

Newest TH01/ZTH01 wifi/Zigbee battery low power sensors (C83_FLY_TH01, 01/2026) uses command 0x22 as state command instead of 0x07. See case 0x22: (or per #define TUYA_CMD_C83_STATE 0c22) state_updated = true; g_sendQueryStatePackets = 0;

New command 0x22 for state
Edit: case 0x22 seems tü be wrong,  changed tü command 0x23 instead. Atherwise it conflicting with new CMD_C83_STATE
Newest release not working with Wifi/Zigbee TH01 sensors with T1-3S modules (BK7238) produced in 2026, tuyamcu sends temp/hum/batt states via command 0x22
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

Successfully merging this pull request may close these issues.

1 participant