Search found 9 matches

by firmware@nuos.in
2025年 Mar 12日 20:00
Forum: TuyaOS-Zigbee Device Development
Topic: Getting NULL value of ZB_ZCL_ATTR_TIME_LOCAL_TIME_ID attribute from Tuya Gateway
Replies: 13
Views: 4894

Re: Getting NULL value of ZB_ZCL_ATTR_TIME_LOCAL_TIME_ID attribute from Tuya Gateway

I am getting USA format time, I need Asia/Kolkata time. how i can set time zone to get time in Asia/Kolkata Time Zone.

by firmware@nuos.in
2025年 Mar 12日 15:03
Forum: TuyaOS-Zigbee Device Development
Topic: Getting NULL value of ZB_ZCL_ATTR_TIME_LOCAL_TIME_ID attribute from Tuya Gateway
Replies: 13
Views: 4894

Re: Getting NULL value of ZB_ZCL_ATTR_TIME_LOCAL_TIME_ID attribute from Tuya Gateway

I follow this, data.direction = ZG_ZCL_DATA_CLIENT_TO_SERVER;
And now its working.

Thank you very much

by firmware@nuos.in
2025年 Mar 12日 12:28
Forum: TuyaOS-Zigbee Device Development
Topic: Getting NULL value of ZB_ZCL_ATTR_TIME_LOCAL_TIME_ID attribute from Tuya Gateway
Replies: 13
Views: 4894

Re: Getting NULL value of ZB_ZCL_ATTR_TIME_LOCAL_TIME_ID attribute from Tuya Gateway

My code works ok with home assistant, but same failed to work with tuya gateway. I also followed your code steps, issue is still same. I am getting null local time attribute when i read it.

by firmware@nuos.in
2025年 Mar 11日 18:27
Forum: TuyaOS-Zigbee Device Development
Topic: Getting NULL value of ZB_ZCL_ATTR_TIME_LOCAL_TIME_ID attribute from Tuya Gateway
Replies: 13
Views: 4894

Re: Getting NULL value of ZB_ZCL_ATTR_TIME_LOCAL_TIME_ID attribute from Tuya Gateway

zb_zcl_attribute_t attr_fields; attr_fields.id = ZB_ZCL_ATTR_TIME_LOCAL_TIME_ID; attr_fields.data.type = ZB_ZCL_ATTR_TYPE_32BIT; attr_fields.data.size = 4; zb_zcl_read_attr_cmd_t read_cmd = { .zcl_basic_cmd.dst_endpoint = 1, .zcl_basic_cmd.src_endpoint = 1, .zcl_basic_cmd.dst_addr_u.addr_short = 0x0...
by firmware@nuos.in
2025年 Mar 10日 14:42
Forum: TuyaOS-Zigbee Device Development
Topic: Getting NULL value of ZB_ZCL_ATTR_TIME_LOCAL_TIME_ID attribute from Tuya Gateway
Replies: 13
Views: 4894

Re: Getting NULL value of ZB_ZCL_ATTR_TIME_LOCAL_TIME_ID attribute from Tuya Gateway

Hi

Can you please tell me the network key for Wireshark to scan packets from Tuya gateway.

by firmware@nuos.in
2025年 Mar 7日 19:35
Forum: TuyaOS-Zigbee Device Development
Topic: Getting NULL value of ZB_ZCL_ATTR_TIME_LOCAL_TIME_ID attribute from Tuya Gateway
Replies: 13
Views: 4894

Getting NULL value of ZB_ZCL_ATTR_TIME_LOCAL_TIME_ID attribute from Tuya Gateway

I am writing zigbee code to sync time using Time cluster. My code works well with home assistant (i can read local time) but fails to read local time attribute (Value NULL) from tuya gateway. Why this is happening? My app timezone is 5:30 GMT.
Do tuya gateway not allow to give you date time value?