-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[New device support]: TS0202 and manufacturer name '_TZ3040_bb6xaihh #17364
Comments
|
thanks |
Hi @Koenkk |
@jocamane indeed not reflected in the release notes but it is added. |
OK, boss :) |
Hey, Issues:
I have also similar ones which are the TuYa IH012-RT01 (it looks exactly like this TS0202_1) works perfectly since over 6 month. So i wonder if this one can be fixed. Really appreciate your work. logs when pairing the device:
logs during its behavior:
|
Hi @Koenkk In my case, it respects the time but only when it goes from busy to clear. I put 20s and work. But the occupancy_timeout setting in z2m is occupancy to clear, no clear to occupancy. In my opinion is necessary a second setting " clear to occupancy" I confirm that the image is wrong. |
@jocamane does it stay in "occupied" state if you keep moving? in my case most of the time it doesn't, it almost always go back to clear after about 70-80 seconds regardless of the movement, and then it becomes un-responsive for 10-15 minutes. Until i can use it again. I wonder if it has same behavior with a Tuya zigbee gateway! I have 2 TS0202_1 (TZ3040_bb6xaihh) |
Hi @Anashost You are right. In my case i put 20s in setting, and after 20s clear regardless of whether or not there is movement. but if you don't make any movement after 90s it's back to being good to work I have 2 TS0202_1 (TZ3040_bb6xaihh) too. I just did the test with a tuya zigbee hub and everything works OK |
This sensor is not usable for me in it's current state, as i want it to stay "occupied" while there is movement. I don't know if this can help determining if its behavior is fixable, here is images of the board:
Here's also images of the other sensor (looks the same from the outside) that im using since 6 months without any issues:
|
Hi @Koenkk can you do something? thanks |
Can you provide the debug log when moving for 2 minutes in front of the sensor? See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable debug logging. |
The device is '0xa4c138c73d4bfacd' info 2023-05-27 21:07:12: Successfully changed options |
Thanks, can you now also provide the logs when trigger occupancy and doing nothing for 5 minutes after that? |
The device name is TEST: info 2023-05-28 18:40:30: Successfully changed options |
Could you check if the issue is fixed with the following external converter: https://gist.github.com/Koenkk/36a52ebffb0b3c5f2f08cd68011c0eff
external_converters:
- ext_converter.js
|
5 stars like always can move on to the next offical version of Z2M |
Integrated the fix! Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html) |
Hey @Koenkk Already deleted the converter file, and removed the mention from zigbee2mqtt configrations.yaml. Any idea whats going on. (as i have a small zigbee network, i have already reinstalled zigbee2mqtt, still same issue). also device image is wrong with red glow on it!
|
Whoops, I made a mistake, correct it now. You can use the external converter until the next release. Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html) |
It's ok boss, thanks. |
Same here - the _TZ3040_bb6xaihh was working till the latest version updated. I'll look how to add a convertor file till the next release, eek! |
@chunkysteveo The converter provided by Koenkk above, works perfectly, and fixes _TZ3040_bb6xaihh previous issues. |
haha yeah, I spent about 30 mins trying to work out what how to make a convertor for a Tuya device, and then found that link to the test one - worked in about 5 seconds!! haha, thanks to all!!! |
How i can change keep_time options (30-60-120 seconds)? |
I am also missing time options (found this thread via google) |
how to change keep_time options (30-60-120 seconds)? |
Link
https://www.aliexpress.com/item/1005005099780623.html
Database entry
{"id":80,"type":"EndDevice","ieeeAddr":"0xa4c13863cb90b4be","nwkAddr":28436,"manufId":4417,"manufName":"_TZ3040_bb6xaihh","powerSource":"Battery","modelId":"TS0202","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[1,3,4,1280,0],"outClusterList":[4,6,4096,25,10],"clusters":{"genBasic":{"attributes":{"stackVersion":0,"dateCode":""}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00212effff07afaa","zoneState":1}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":72,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1681655875502,"defaultSendRequestWhen":"immediate"}
Comments
don't join:
2023-04-16 15:37:50Zigbee: allowing new devices to join.
Info 2023-04-16 15:37:50MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"288zx-15"}'
Info 2023-04-16 15:37:52Device '0xa4c13863cb90b4be' joined
Info 2023-04-16 15:37:53MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c13863cb90b4be","ieee_address":"0xa4c13863cb90b4be"},"type":"device_joined"}'
Info 2023-04-16 15:37:53MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"0xa4c13863cb90b4be"},"type":"device_connected"}'
Info 2023-04-16 15:37:53MQTT publish: topic 'zigbee2mqtt/0xa4c13863cb90b4be', payload '{"last_seen":"2023-04-16T15:37:53+01:00","linkquality":255}'
Info 2023-04-16 15:37:53Starting interview of '0xa4c13863cb90b4be'
Info 2023-04-16 15:37:53MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c13863cb90b4be","ieee_address":"0xa4c13863cb90b4be","status":"started"},"type":"device_interview"}'
Info 2023-04-16 15:37:53MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_started","meta":{"friendly_name":"0xa4c13863cb90b4be"},"type":"pairing"}'
Debug 2023-04-16 15:37:53Received Zigbee message from 'Sen Mov Quarto RC ZG', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID null
Info 2023-04-16 15:37:53MQTT publish: topic 'zigbee2mqtt/Sen Mov Quarto RC ZG', payload '{"battery":100,"battery_low":false,"keep_time":60,"last_seen":"2023-04-16T15:37:53+01:00","linkquality":255,"occupancy":true,"sensitivity":"medium","tamper":false,"voltage":2900}'
Debug 2023-04-16 15:37:55Received Zigbee message from '0xa4c13863cb90b4be', type 'readResponse', cluster 'genBasic', data '{"stackVersion":0}' from endpoint 1 with groupID null
Debug 2023-04-16 15:37:55Skipping message, definition is undefined and still interviewing
Info 2023-04-16 15:37:55MQTT publish: topic 'zigbee2mqtt/0xa4c13863cb90b4be', payload '{"last_seen":"2023-04-16T15:37:54+01:00","linkquality":255}'
Debug 2023-04-16 15:37:55Received Zigbee message from '0xa4c13863cb90b4be', type 'readResponse', cluster 'genBasic', data '{"dateCode":""}' from endpoint 1 with groupID null
Debug 2023-04-16 15:37:55Skipping message, definition is undefined and still interviewing
Info 2023-04-16 15:37:55MQTT publish: topic 'zigbee2mqtt/0xa4c13863cb90b4be', payload '{"last_seen":"2023-04-16T15:37:54+01:00","linkquality":255}'
Debug 2023-04-16 15:37:55Received Zigbee message from '0xa4c13863cb90b4be', type 'readResponse', cluster 'genBasic', data '{}' from endpoint 1 with groupID null
Debug 2023-04-16 15:37:55Skipping message, definition is undefined and still interviewing
Info 2023-04-16 15:37:55MQTT publish: topic 'zigbee2mqtt/0xa4c13863cb90b4be', payload '{"last_seen":"2023-04-16T15:37:55+01:00","linkquality":255}'
Debug 2023-04-16 15:37:55Received Zigbee message from '0xa4c13863cb90b4be', type 'readResponse', cluster 'ssIasZone', data '{"iasCieAddr":"0x00212effff07afaa","zoneState":1}' from endpoint 1 with groupID null
Debug 2023-04-16 15:37:55Skipping message, definition is undefined and still interviewing
Info 2023-04-16 15:37:55MQTT publish: topic 'zigbee2mqtt/0xa4c13863cb90b4be', payload '{"last_seen":"2023-04-16T15:37:55+01:00","linkquality":255}'
Info 2023-04-16 15:37:55Successfully interviewed '0xa4c13863cb90b4be', device has successfully been paired
Warning 2023-04-16 15:37:55Device '0xa4c13863cb90b4be' with Zigbee model 'TS0202' and manufacturer name '_TZ3040_bb6xaihh' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html
Info 2023-04-16 15:37:56MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":null,"friendly_name":"0xa4c13863cb90b4be","ieee_address":"0xa4c13863cb90b4be","status":"successful","supported":false},"type":"device_interview"}'
Info 2023-04-16 15:37:56MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"friendly_name":"0xa4c13863cb90b4be","supported":false},"type":"pairing"}'
Debug 2023-04-16 15:37:57Received Zigbee message from 'Tomada 7 ZG', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID null
Info 2023-04-16 15:37:57MQTT publish: topic 'zigbee2mqtt/Tomada 7 ZG', payload '{"last_seen":"2023-04-16T15:37:57+01:00","linkquality":255,"state":"OFF"}'
Debug 2023-04-16 15:38:00Received Zigbee message from '0xa4c13863cb90b4be', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":1}' from endpoint 1 with groupID null
Warning 2023-04-16 15:38:00Received message from unsupported device with Zigbee model 'TS0202' and manufacturer name '_TZ3040_bb6xaihh'
Warning 2023-04-16 15:38:00Please see: https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html
Info 2023-04-16 15:38:00MQTT publish: topic 'zigbee2mqtt/0xa4c13863cb90b4be', payload '{"last_seen":"2023-04-16T15:37:59+01:00","linkquality":255}'
Debug 2023-04-16 15:38:00Received Zigbee message from '0xa4c13863cb90b4be', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID null
Warning 2023-04-16 15:38:00Received message from unsupported device with Zigbee model 'TS0202' and manufacturer name '_TZ3040_bb6xaihh'
Warning 2023-04-16 15:38:00Please see: https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html
Info 2023-04-16 15:38:00MQTT publish: topic 'zigbee2mqtt/0xa4c13863cb90b4be', payload '{"last_seen":"2023-04-16T15:37:59+01:00","linkquality":255}'
Debug 2023-04-16 15:38:00Received Zigbee message from 'Sen Mov Corredor ZG', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":0}' from endpoint 1 with groupID null
Info 2023-04-16 15:38:00MQTT publish: topic 'zigbee2mqtt/Sen Mov Corredor ZG', payload '{"battery":95,"battery_low":false,"last_seen":"2023-04-16T15:38:00+01:00","linkquality":255,"occupancy":false,"tamper":false,"voltage":2100}'
Debug 2023-04-16 15:38:02Saving state to file /config/zigbee2mqtt/state.json
Debug 2023-04-16 15:38:07Received MQTT message on 'zigbee2mqtt/bridge/request/permit_join' with data '{"device":null,"time":254,"transaction":"288zx-16","value":false}'
Info 2023-04-16 15:38:07Zigbee: disabling joining new devices.
External converter
No response
Supported color modes
No response
Color temperature range
No response
The text was updated successfully, but these errors were encountered: