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

[New device support]: TS0202 and manufacturer name '_TZ3040_bb6xaihh #17364

Closed
jocamane opened this issue Apr 16, 2023 · 29 comments
Closed

[New device support]: TS0202 and manufacturer name '_TZ3040_bb6xaihh #17364

jocamane opened this issue Apr 16, 2023 · 29 comments
Labels
new device support New device support request

Comments

@jocamane
Copy link

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

@jocamane jocamane added the new device support New device support request label Apr 16, 2023
@Koenkk
Copy link
Owner

Koenkk commented Apr 16, 2023

_TZ3040_bb6xaihh will be supported in the next z2m release on 1 May.

@Koenkk Koenkk closed this as completed Apr 16, 2023
@jocamane
Copy link
Author

thanks

@jocamane
Copy link
Author

jocamane commented May 1, 2023

Hi @Koenkk
I don't see this device in the release notes 1.30.4 !!
It's normal ?

@Koenkk
Copy link
Owner

Koenkk commented May 2, 2023

@jocamane indeed not reflected in the release notes but it is added.

@jocamane
Copy link
Author

jocamane commented May 2, 2023

@jocamane indeed not reflected in the release notes but it is added.

OK, boss :)
Thanks

@Anashost
Copy link

Anashost commented May 20, 2023

Hey,
I've tested this exact same sensor for couple of days, which doesn't work realibly at all.
Zigbee Manufacturer: _TZ3040_bb6xaihh
Zigbee Model: TS0202 - shows as TuYa TS0202_1 in the dashboard.

20230521_000031

Issues:

  • after pairing it, it detects and clears for couple of times (mostly 4 times) then it clears & stops responding, until i either:

    • remove the battery or
    • re-pair the sensor or
    • wait for some time > 10-15 minutes.

    and so on.

  • missing some features like tamper, and keep_time options (30-60-120 seconds).

  • shows wrong device image in dashboard.

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:

Info 2023-05-20 23:42:48Zigbee: allowing new devices to join.
Info 2023-05-20 23:42:48MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"al8wt-8"}'
Info 2023-05-20 23:42:59Device '0xa4c138feb8b9437e' joined
Info 2023-05-20 23:42:59MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138feb8b9437e","ieee_address":"0xa4c138feb8b9437e"},"type":"device_joined"}'
Info 2023-05-20 23:42:59MQTT publish: topic 'homeassistant/binary_sensor/0xa4c138feb8b9437e/occupancy/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0xa4c138feb8b9437e"],"manufacturer":"TuYa","model":"Motion sensor (TS0202_1)","name":"0xa4c138feb8b9437e"},"device_class":"motion","name":"0xa4c138feb8b9437e occupancy","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/0xa4c138feb8b9437e","unique_id":"0xa4c138feb8b9437e_occupancy_zigbee2mqtt","value_template":"{{ value_json.occupancy }}"}'
Info 2023-05-20 23:42:59MQTT publish: topic 'homeassistant/binary_sensor/0xa4c138feb8b9437e/battery_low/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0xa4c138feb8b9437e"],"manufacturer":"TuYa","model":"Motion sensor (TS0202_1)","name":"0xa4c138feb8b9437e"},"device_class":"battery","entity_category":"diagnostic","name":"0xa4c138feb8b9437e battery low","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/0xa4c138feb8b9437e","unique_id":"0xa4c138feb8b9437e_battery_low_zigbee2mqtt","value_template":"{{ value_json.battery_low }}"}'
Info 2023-05-20 23:42:59MQTT publish: topic 'homeassistant/sensor/0xa4c138feb8b9437e/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0xa4c138feb8b9437e"],"manufacturer":"TuYa","model":"Motion sensor (TS0202_1)","name":"0xa4c138feb8b9437e"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"0xa4c138feb8b9437e linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138feb8b9437e","unique_id":"0xa4c138feb8b9437e_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
Info 2023-05-20 23:42:59MQTT publish: topic 'homeassistant/sensor/0xa4c138feb8b9437e/battery/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0xa4c138feb8b9437e"],"manufacturer":"TuYa","model":"Motion sensor (TS0202_1)","name":"0xa4c138feb8b9437e"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","name":"0xa4c138feb8b9437e battery","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138feb8b9437e","unique_id":"0xa4c138feb8b9437e_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
Info 2023-05-20 23:42:59MQTT publish: topic 'homeassistant/sensor/0xa4c138feb8b9437e/voltage/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0xa4c138feb8b9437e"],"manufacturer":"TuYa","model":"Motion sensor (TS0202_1)","name":"0xa4c138feb8b9437e"},"device_class":"voltage","enabled_by_default":false,"entity_category":"diagnostic","name":"0xa4c138feb8b9437e voltage","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138feb8b9437e","unique_id":"0xa4c138feb8b9437e_voltage_zigbee2mqtt","unit_of_measurement":"mV","value_template":"{{ value_json.voltage }}"}'
Info 2023-05-20 23:42:59Starting interview of '0xa4c138feb8b9437e'
Info 2023-05-20 23:42:59MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138feb8b9437e","ieee_address":"0xa4c138feb8b9437e","status":"started"},"type":"device_interview"}'
Info 2023-05-20 23:42:59MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138feb8b9437e","ieee_address":"0xa4c138feb8b9437e"},"type":"device_announce"}'
Info 2023-05-20 23:43:01Successfully interviewed '0xa4c138feb8b9437e', device has successfully been paired
Info 2023-05-20 23:43:01Device '0xa4c138feb8b9437e' is supported, identified as: TuYa Motion sensor (TS0202_1)
Info 2023-05-20 23:43:01MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Motion sensor","exposes":[{"access":1,"description":"Indicates whether the device detected occupancy","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":1,"description":"Indicates if the battery of this device is almost empty","name":"battery_low","property":"battery_low","type":"binary","value_off":false,"value_on":true},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0},{"access":1,"description":"Remaining battery in %, can take up to 24 hours before reported.","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Voltage of the battery in millivolts","name":"voltage","property":"voltage","type":"numeric","unit":"mV"}],"model":"TS0202_1","options":[{"access":2,"description":"Time in seconds after which occupancy is cleared after detecting it (default 90 seconds).","name":"occupancy_timeout","property":"occupancy_timeout","type":"numeric","value_min":0}],"supports_ota":false,"vendor":"TuYa"},"friendly_name":"0xa4c138feb8b9437e","ieee_address":"0xa4c138feb8b9437e","status":"successful","supported":true},"type":"device_interview"}'
Info 2023-05-20 23:43:08MQTT publish: topic 'zigbee2mqtt/0xa4c138feb8b9437e', payload '{"battery":null,"battery_low":false,"linkquality":102,"occupancy":true,"tamper":false,"voltage":null}'

logs during its behavior:

Info 2023-05-20 23:57:53MQTT publish: topic 'zigbee2mqtt/0xa4c138feb8b9437e', payload '{"battery":null,"battery_low":false,"linkquality":98,"occupancy":true,"tamper":false,"voltage":null}'
Info 2023-05-20 23:59:14MQTT publish: topic 'zigbee2mqtt/0xa4c138feb8b9437e', payload '{"battery":null,"battery_low":false,"linkquality":105,"occupancy":false,"tamper":false,"voltage":null}'
Info 2023-05-20 23:59:19MQTT publish: topic 'zigbee2mqtt/0xa4c138feb8b9437e', payload '{"battery":null,"battery_low":false,"linkquality":105,"occupancy":true,"tamper":false,"voltage":null}'
Info 2023-05-21 00:00:49MQTT publish: topic 'zigbee2mqtt/0xa4c138feb8b9437e', payload '{"battery":null,"battery_low":false,"linkquality":105,"occupancy":false,"tamper":false,"voltage":null}'

@jocamane
Copy link
Author

jocamane commented May 24, 2023

Hi @Koenkk

In my case, it respects the time but only when it goes from busy to clear. I put 20s and work.
to go from clear to busy only after 90 seconds.
detected - wait 20s - clear - 90s - detected
If in 90s exist moviment, the counter reset and is more 90s

But the occupancy_timeout setting in z2m is
"Time in seconds after which occupancy is cleared after detecting it (default 90 seconds)."

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.
I couldn't get the equipment to stop responding, the delay is those 90 seconds to become available again after becoming clear

@Anashost
Copy link

Anashost commented May 24, 2023

@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)
Both have same issue. I threw them in the drawer for now, and will follow this issue.

@jocamane
Copy link
Author

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
It works with 60s which should be the default and cannot be changed but work ok

@Anashost
Copy link

Anashost commented May 24, 2023

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:

  • Zigbee Model: TS0202
  • Zigbee Manufacturer: _TZ3040_bb6xaihh
  • Model: TS0202_1

20230524_233223
20230524_233026

Here's also images of the other sensor (looks the same from the outside) that im using since 6 months without any issues:

  • Zigbee Model: TS0202
  • Zigbee Manufacturer: _TZ3000_6ygjfyll
  • Model: IH012-RT01

20230524_232921
20230524_233132

@jocamane
Copy link
Author

Hi @Koenkk

can you do something?

thanks

@Koenkk
Copy link
Owner

Koenkk commented May 27, 2023

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.

@jocamane
Copy link
Author

The device is '0xa4c138c73d4bfacd'

info 2023-05-27 21:07:12: Successfully changed options
info 2023-05-27 21:07:12: MQTT publish: topic 'zigbee2mqtt/bridge/response/options', payload '{"data":{"restart_required":false},"status":"ok","transaction":"4fmar-3"}'
debug 2023-05-27 21:07:16: Received Zigbee message from 'Tomada 10 ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":54,"65508":0,"appVersion":192}' from endpoint 1 with groupID null
info 2023-05-27 21:07:16: MQTT publish: topic 'zigbee2mqtt/Tomada 10 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":89.06,"indicator_mode":"off/on","last_seen":"2023-05-27T21:07:16+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":228}'
debug 2023-05-27 21:07:25: Received Zigbee message from 'Tomada 8 ZG', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,1575]}' from endpoint 1 with groupID null
info 2023-05-27 21:07:25: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-27T21:07:25+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":227}'
debug 2023-05-27 21:07:26: Received Zigbee message from 'Tomada 8 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":227}' from endpoint 1 with groupID null
info 2023-05-27 21:07:26: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-27T21:07:26+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":227}'
debug 2023-05-27 21:07:28: Received Zigbee message from 'Int Casa Máq ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":54,"65508":0,"appVersion":82}' from endpoint 1 with groupID null
info 2023-05-27 21:07:28: MQTT publish: topic 'zigbee2mqtt/Int Casa Máq ZG', payload '{"last_seen":"2023-05-27T21:07:28+01:00","linkquality":255,"power_on_behavior_l1":"previous","power_on_behavior_l2":"previous","power_on_behavior_l3":"previous","power_on_behavior_l4":"previous","state_l1":"OFF","state_l2":"OFF","state_l3":"OFF","state_l4":"OFF"}'
debug 2023-05-27 21:07:29: Received Zigbee message from 'Tomada 4 ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":31,"65508":0,"appVersion":69}' from endpoint 1 with groupID null
info 2023-05-27 21:07:29: MQTT publish: topic 'zigbee2mqtt/Tomada 4 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":0.28,"indicator_mode":"off/on","last_seen":"2023-05-27T21:07:29+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":226}'
debug 2023-05-27 21:07:31: Received Zigbee message from 'Tomada 8 ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":31,"65508":0,"appVersion":69}' from endpoint 1 with groupID null
info 2023-05-27 21:07:31: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-27T21:07:31+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":227}'
debug 2023-05-27 21:07:38: Received Zigbee message from 'Int WC1 ZG', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null
info 2023-05-27 21:07:38: MQTT publish: topic 'zigbee2mqtt/Int WC1 ZG', payload '{"backlight_mode":"medium","last_seen":"2023-05-27T21:07:38+01:00","linkquality":255,"power_on_behavior":"previous","power_on_behavior_l1":"previous","state_l1":"OFF","state_l2":"OFF","state_l3":"OFF","state_l4":"OFF"}'
info 2023-05-27 21:07:38: MQTT publish: topic 'zigbee2mqtt/Int WC1 ZG/mode', payload '{"backlight":"medium"}'
debug 2023-05-27 21:07:38: Successfully pinged 'Int WC1 ZG' (attempt 1/2)
debug 2023-05-27 21:07:43: Received Zigbee message from 'Sen Mov Sala ZG', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":1}' from endpoint 1 with groupID null
info 2023-05-27 21:07:43: MQTT publish: topic 'zigbee2mqtt/Sen Mov Sala ZG', payload '{"battery":100,"battery_low":false,"keep_time":60,"last_seen":"2023-05-27T21:07:43+01:00","linkquality":255,"occupancy":true,"sensitivity":"medium","tamper":false,"voltage":2900}'
debug 2023-05-27 21:07:45: Received Zigbee message from 'Sen Mov Corredor ZG', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":0}' from endpoint 1 with groupID null
info 2023-05-27 21:07:45: MQTT publish: topic 'zigbee2mqtt/Sen Mov Corredor ZG', payload '{"battery":92,"battery_low":false,"last_seen":"2023-05-27T21:07:45+01:00","linkquality":255,"occupancy":false,"tamper":false,"voltage":2100}'
debug 2023-05-27 21:07:48: Received Zigbee message from '0xa4c138c73d4bfacd', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":1}' from endpoint 1 with groupID null
info 2023-05-27 21:07:48: MQTT publish: topic 'zigbee2mqtt/0xa4c138c73d4bfacd', payload '{"battery":89,"battery_low":false,"last_seen":"2023-05-27T21:07:48+01:00","linkquality":252,"occupancy":true,"tamper":false,"voltage":null}'
debug 2023-05-27 21:07:50: Received Zigbee message from 'Sen Mov Escritorio ZG', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":1}' from endpoint 1 with groupID null
info 2023-05-27 21:07:50: MQTT publish: topic 'zigbee2mqtt/Sen Mov Escritorio ZG', payload '{"battery":30,"battery_low":false,"last_seen":"2023-05-27T21:07:50+01:00","linkquality":255,"occupancy":true,"tamper":false,"voltage":2600}'
debug 2023-05-27 21:07:56: Received Zigbee message from 'Tomada 4 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":226}' from endpoint 1 with groupID null
info 2023-05-27 21:07:56: MQTT publish: topic 'zigbee2mqtt/Tomada 4 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":0.28,"indicator_mode":"off/on","last_seen":"2023-05-27T21:07:56+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":226}'
debug 2023-05-27 21:08:10: Received Zigbee message from 'Sen Temp Quarto JL ZG', type 'attributeReport', cluster 'msTemperatureMeasurement', data '{"measuredValue":2221}' from endpoint 1 with groupID null
info 2023-05-27 21:08:10: MQTT publish: topic 'zigbee2mqtt/Sen Temp Quarto JL ZG', payload '{"battery":100,"humidity":53.84,"last_seen":"2023-05-27T21:08:10+01:00","linkquality":255,"temperature":22.21,"voltage":3000}'
debug 2023-05-27 21:08:10: Received Zigbee message from 'Sen Temp Quarto JL ZG', type 'attributeReport', cluster 'msRelativeHumidity', data '{"measuredValue":5402}' from endpoint 1 with groupID null
info 2023-05-27 21:08:10: MQTT publish: topic 'zigbee2mqtt/Sen Temp Quarto JL ZG', payload '{"battery":100,"humidity":54.02,"last_seen":"2023-05-27T21:08:10+01:00","linkquality":255,"temperature":22.21,"voltage":3000}'
debug 2023-05-27 21:08:11: Received Zigbee message from 'Int Ref-Cozinha ZG', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null
info 2023-05-27 21:08:11: MQTT publish: topic 'zigbee2mqtt/Int Ref-Cozinha ZG', payload '{"backlight_mode":null,"last_seen":"2023-05-27T21:08:11+01:00","linkquality":255,"power_on_behavior":"previous","power_on_behavior_left":"previous","state_center":"OFF","state_left":"OFF","state_right":"OFF"}'
info 2023-05-27 21:08:11: MQTT publish: topic 'zigbee2mqtt/Int Ref-Cozinha ZG/mode', payload '{"backlight":null}'
debug 2023-05-27 21:08:11: Successfully pinged 'Int Ref-Cozinha ZG' (attempt 1/2)
debug 2023-05-27 21:08:13: Received Zigbee message from 'Int Cozinha ZG', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null
info 2023-05-27 21:08:13: MQTT publish: topic 'zigbee2mqtt/Int Cozinha ZG', payload '{"backlight_mode":null,"last_seen":"2023-05-27T21:08:13+01:00","linkquality":255,"power_on_behavior":"previous","power_on_behavior_left":"previous","state_center":"OFF","state_left":"OFF","state_right":"OFF"}'
info 2023-05-27 21:08:13: MQTT publish: topic 'zigbee2mqtt/Int Cozinha ZG/mode', payload '{"backlight":null}'
debug 2023-05-27 21:08:13: Successfully pinged 'Int Cozinha ZG' (attempt 1/2)
debug 2023-05-27 21:08:26: Received Zigbee message from 'Tomada 8 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":228}' from endpoint 1 with groupID null
info 2023-05-27 21:08:26: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-27T21:08:26+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":228}'
debug 2023-05-27 21:08:36: Received Zigbee message from 'Lamp WC1 RGB', type 'readResponse', cluster 'genBasic', data '{"zclVersion":1}' from endpoint 1 with groupID null
info 2023-05-27 21:08:36: MQTT publish: topic 'zigbee2mqtt/Lamp WC1 RGB', payload '{"brightness":76,"color":{"x":0.136,"y":0.04},"color_mode":"xy","color_temp":370,"last_seen":"2023-05-27T21:08:36+01:00","linkquality":255,"state":"OFF"}'
debug 2023-05-27 21:08:36: Successfully pinged 'Lamp WC1 RGB' (attempt 1/2)
debug 2023-05-27 21:08:39: Received Zigbee message from 'Int 1 Escadas ZG', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null
info 2023-05-27 21:08:39: MQTT publish: topic 'zigbee2mqtt/Int 1 Escadas ZG', payload '{"backlight_mode":"medium","last_seen":"2023-05-27T21:08:39+01:00","linkquality":255,"power_on_behavior":"previous","power_on_behavior_l1":"previous","state_l1":"OFF","state_l2":"OFF","state_l3":"OFF","state_l4":"OFF"}'
info 2023-05-27 21:08:39: MQTT publish: topic 'zigbee2mqtt/Int 1 Escadas ZG/mode', payload '{"backlight":"medium"}'
debug 2023-05-27 21:08:39: Successfully pinged 'Int 1 Escadas ZG' (attempt 1/2)
debug 2023-05-27 21:08:43: Received Zigbee message from 'Sen Mov Sala ZG', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":1}' from endpoint 1 with groupID null
info 2023-05-27 21:08:43: MQTT publish: topic 'zigbee2mqtt/Sen Mov Sala ZG', payload '{"battery":100,"battery_low":false,"keep_time":60,"last_seen":"2023-05-27T21:08:43+01:00","linkquality":255,"occupancy":true,"sensitivity":"medium","tamper":false,"voltage":2900}'
debug 2023-05-27 21:08:50: Received Zigbee message from 'Sen Mov Escritorio ZG', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":1}' from endpoint 1 with groupID null
info 2023-05-27 21:08:50: MQTT publish: topic 'zigbee2mqtt/Sen Mov Escritorio ZG', payload '{"battery":30,"battery_low":false,"last_seen":"2023-05-27T21:08:50+01:00","linkquality":255,"occupancy":true,"tamper":false,"voltage":2600}'
debug 2023-05-27 21:08:54: Received Zigbee message from 'Sen Mov Escritorio ZG', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":0}' from endpoint 1 with groupID null
info 2023-05-27 21:08:54: MQTT publish: topic 'zigbee2mqtt/Sen Mov Escritorio ZG', payload '{"battery":30,"battery_low":false,"last_seen":"2023-05-27T21:08:54+01:00","linkquality":255,"occupancy":false,"tamper":false,"voltage":2600}'
debug 2023-05-27 21:08:56: Received Zigbee message from 'Tomada 4 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":226}' from endpoint 1 with groupID null
info 2023-05-27 21:08:56: MQTT publish: topic 'zigbee2mqtt/Tomada 4 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":0.28,"indicator_mode":"off/on","last_seen":"2023-05-27T21:08:56+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":226}'
debug 2023-05-27 21:09:01: Received Zigbee message from 'Int Corredor Quintal ZG', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null
info 2023-05-27 21:09:01: MQTT publish: topic 'zigbee2mqtt/Int Corredor Quintal ZG', payload '{"backlight_mode":null,"last_seen":"2023-05-27T21:09:01+01:00","linkquality":255,"power_on_behavior":"previous","power_on_behavior_left":"previous","state_left":"OFF","state_right":"OFF"}'
info 2023-05-27 21:09:01: MQTT publish: topic 'zigbee2mqtt/Int Corredor Quintal ZG/mode', payload '{"backlight":null}'
debug 2023-05-27 21:09:01: Successfully pinged 'Int Corredor Quintal ZG' (attempt 1/2)
debug 2023-05-27 21:09:04: Received Zigbee message from 'Int Corredor Rua ZG', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null
info 2023-05-27 21:09:04: MQTT publish: topic 'zigbee2mqtt/Int Corredor Rua ZG', payload '{"backlight_mode":null,"last_seen":"2023-05-27T21:09:04+01:00","linkquality":255,"power_on_behavior":"previous","power_on_behavior_left":"previous","state_left":"OFF","state_right":"OFF"}'
info 2023-05-27 21:09:04: MQTT publish: topic 'zigbee2mqtt/Int Corredor Rua ZG/mode', payload '{"backlight":null}'
debug 2023-05-27 21:09:04: Successfully pinged 'Int Corredor Rua ZG' (attempt 1/2)
debug 2023-05-27 21:09:07: Received Zigbee message from 'Sen Mov Sala ZG', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":0}' from endpoint 1 with groupID null
info 2023-05-27 21:09:07: MQTT publish: topic 'zigbee2mqtt/Sen Mov Sala ZG', payload '{"battery":100,"battery_low":false,"keep_time":60,"last_seen":"2023-05-27T21:09:07+01:00","linkquality":255,"occupancy":false,"sensitivity":"medium","tamper":false,"voltage":2900}'
debug 2023-05-27 21:09:09: Received Zigbee message from 'Int Quarto JL ZG', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null
info 2023-05-27 21:09:09: MQTT publish: topic 'zigbee2mqtt/Int Quarto JL ZG', payload '{"backlight_mode":"medium","last_seen":"2023-05-27T21:09:09+01:00","linkquality":255,"power_on_behavior":"previous","power_on_behavior_l1":"previous","state_l1":"OFF","state_l2":"OFF","state_l3":"OFF","state_l4":"OFF"}'
info 2023-05-27 21:09:09: MQTT publish: topic 'zigbee2mqtt/Int Quarto JL ZG/mode', payload '{"backlight":"medium"}'
debug 2023-05-27 21:09:09: Successfully pinged 'Int Quarto JL ZG' (attempt 1/2)
debug 2023-05-27 21:09:13: Received Zigbee message from 'Int Escadas ZG', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null
info 2023-05-27 21:09:13: MQTT publish: topic 'zigbee2mqtt/Int Escadas ZG', payload '{"backlight_mode":null,"last_seen":"2023-05-27T21:09:13+01:00","linkquality":255,"power_on_behavior":"previous","state":"OFF"}'
info 2023-05-27 21:09:13: MQTT publish: topic 'zigbee2mqtt/Int Escadas ZG/mode', payload '{"backlight":null}'
debug 2023-05-27 21:09:13: Successfully pinged 'Int Escadas ZG' (attempt 1/2)
debug 2023-05-27 21:09:17: Received Zigbee message from 'Tomada 3 ZG', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID null
info 2023-05-27 21:09:17: MQTT publish: topic 'zigbee2mqtt/Tomada 3 ZG', payload '{"last_seen":"2023-05-27T21:09:17+01:00","linkquality":255,"state":"OFF"}'
debug 2023-05-27 21:09:17: Received Zigbee message from 'Tomada 6 ZG', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID null
info 2023-05-27 21:09:17: MQTT publish: topic 'zigbee2mqtt/Tomada 6 ZG', payload '{"last_seen":"2023-05-27T21:09:17+01:00","linkquality":255,"state":"OFF"}'
debug 2023-05-27 21:09:17: Received Zigbee message from 'Tomada 2 ZG', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID null
info 2023-05-27 21:09:17: MQTT publish: topic 'zigbee2mqtt/Tomada 2 ZG', payload '{"last_seen":"2023-05-27T21:09:17+01:00","linkquality":255,"state":"OFF"}'
info 2023-05-27 21:09:18: MQTT publish: topic 'zigbee2mqtt/0xa4c138c73d4bfacd', payload '{"battery":89,"battery_low":false,"last_seen":"2023-05-27T21:07:48+01:00","linkquality":252,"occupancy":false,"tamper":false,"voltage":null}'
debug 2023-05-27 21:09:21: Received Zigbee message from 'Tomada 7 ZG', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID null
info 2023-05-27 21:09:21: MQTT publish: topic 'zigbee2mqtt/Tomada 7 ZG', payload '{"last_seen":"2023-05-27T21:09:21+01:00","linkquality":255,"state":"OFF"}'
debug 2023-05-27 21:09:26: Received Zigbee message from 'Tomada 8 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":227}' from endpoint 1 with groupID null
info 2023-05-27 21:09:26: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-27T21:09:26+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":227}'
debug 2023-05-27 21:09:35: Received Zigbee message from 'Int Dispensa ZG', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null
info 2023-05-27 21:09:35: MQTT publish: topic 'zigbee2mqtt/Int Dispensa ZG', payload '{"backlight_mode":null,"last_seen":"2023-05-27T21:09:35+01:00","linkquality":255,"power_on_behavior":"previous","state":"OFF"}'
info 2023-05-27 21:09:35: MQTT publish: topic 'zigbee2mqtt/Int Dispensa ZG/mode', payload '{"backlight":null}'
debug 2023-05-27 21:09:35: Successfully pinged 'Int Dispensa ZG' (attempt 1/2)
debug 2023-05-27 21:09:35: Received Zigbee message from 'Sen Mov Sala ZG', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":1}' from endpoint 1 with groupID null
info 2023-05-27 21:09:35: MQTT publish: topic 'zigbee2mqtt/Sen Mov Sala ZG', payload '{"battery":100,"battery_low":false,"keep_time":60,"last_seen":"2023-05-27T21:09:35+01:00","linkquality":255,"occupancy":true,"sensitivity":"medium","tamper":false,"voltage":2900}'
debug 2023-05-27 21:09:46: Received Zigbee message from 'Mod Quintal Dentro ZG', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null
info 2023-05-27 21:09:46: MQTT publish: topic 'zigbee2mqtt/Mod Quintal Dentro ZG', payload '{"last_seen":"2023-05-27T21:09:46+01:00","linkquality":255,"power_on_behavior":"previous","power_on_behavior_l1":"previous","state_l1":"OFF","state_l2":"OFF"}'
debug 2023-05-27 21:09:46: Successfully pinged 'Mod Quintal Dentro ZG' (attempt 1/2)
debug 2023-05-27 21:09:56: Received Zigbee message from 'Tomada 4 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":227}' from endpoint 1 with groupID null
info 2023-05-27 21:09:56: MQTT publish: topic 'zigbee2mqtt/Tomada 4 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":0.28,"indicator_mode":"off/on","last_seen":"2023-05-27T21:09:56+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":227}'
debug 2023-05-27 21:10:08: Received Zigbee message from 'Tomada 8 ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":31,"65508":0,"appVersion":69}' from endpoint 1 with groupID null
info 2023-05-27 21:10:08: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-27T21:10:08+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":227}'
debug 2023-05-27 21:10:12: Received Zigbee message from 'Tomada 10 ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":54,"65508":0,"appVersion":192}' from endpoint 1 with groupID null
info 2023-05-27 21:10:12: MQTT publish: topic 'zigbee2mqtt/Tomada 10 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":89.06,"indicator_mode":"off/on","last_seen":"2023-05-27T21:10:12+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":228}'
debug 2023-05-27 21:10:22: Received Zigbee message from 'Tomada 4 ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":31,"65508":0,"appVersion":69}' from endpoint 1 with groupID null
info 2023-05-27 21:10:22: MQTT publish: topic 'zigbee2mqtt/Tomada 4 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":0.28,"indicator_mode":"off/on","last_seen":"2023-05-27T21:10:22+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":227}'
debug 2023-05-27 21:10:25: Received Zigbee message from 'Int Casa Máq ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":54,"65508":0,"appVersion":82}' from endpoint 1 with groupID null
info 2023-05-27 21:10:25: MQTT publish: topic 'zigbee2mqtt/Int Casa Máq ZG', payload '{"last_seen":"2023-05-27T21:10:25+01:00","linkquality":255,"power_on_behavior_l1":"previous","power_on_behavior_l2":"previous","power_on_behavior_l3":"previous","power_on_behavior_l4":"previous","state_l1":"OFF","state_l2":"OFF","state_l3":"OFF","state_l4":"OFF"}'
debug 2023-05-27 21:10:26: Received Zigbee message from 'Tomada 8 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":227}' from endpoint 1 with groupID null
info 2023-05-27 21:10:26: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-27T21:10:26+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":227}'
debug 2023-05-27 21:10:28: Received Zigbee message from 'LED Escadas ZG', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null
info 2023-05-27 21:10:28: MQTT publish: topic 'zigbee2mqtt/LED Escadas ZG', payload '{"brightness":254,"last_seen":"2023-05-27T21:10:28+01:00","linkquality":255,"state":"OFF"}'
debug 2023-05-27 21:10:28: Successfully pinged 'LED Escadas ZG' (attempt 1/2)
debug 2023-05-27 21:10:35: Received Zigbee message from 'Sen Mov Sala ZG', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":1}' from endpoint 1 with groupID null
info 2023-05-27 21:10:35: MQTT publish: topic 'zigbee2mqtt/Sen Mov Sala ZG', payload '{"battery":100,"battery_low":false,"keep_time":60,"last_seen":"2023-05-27T21:10:35+01:00","linkquality":255,"occupancy":true,"sensitivity":"medium","tamper":false,"voltage":2900}'
debug 2023-05-27 21:10:39: Received Zigbee message from 'Tomada 10 ZG', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,8906]}' from endpoint 1 with groupID null
info 2023-05-27 21:10:39: MQTT publish: topic 'zigbee2mqtt/Tomada 10 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":89.06,"indicator_mode":"off/on","last_seen":"2023-05-27T21:10:39+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":228}'
debug 2023-05-27 21:10:39: Received Zigbee message from 'Tomada 10 ZG', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":228}' from endpoint 1 with groupID null
info 2023-05-27 21:10:39: MQTT publish: topic 'zigbee2mqtt/Tomada 10 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":89.06,"indicator_mode":"off/on","last_seen":"2023-05-27T21:10:39+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":228}'
debug 2023-05-27 21:10:47: Received Zigbee message from 'Sen Mov Sala ZG', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":0}' from endpoint 1 with groupID null
info 2023-05-27 21:10:47: MQTT publish: topic 'zigbee2mqtt/Sen Mov Sala ZG', payload '{"battery":100,"battery_low":false,"keep_time":60,"last_seen":"2023-05-27T21:10:47+01:00","linkquality":255,"occupancy":false,"sensitivity":"medium","tamper":false,"voltage":2900}'
debug 2023-05-27 21:10:48: Received Zigbee message from 'Int Quintal Fora ZG', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null
info 2023-05-27 21:10:48: MQTT publish: topic 'zigbee2mqtt/Int Quintal Fora ZG', payload '{"backlight_mode":null,"last_seen":"2023-05-27T21:10:48+01:00","linkquality":255,"power_on_behavior":"previous","power_on_behavior_left":"previous","state_left":"OFF","state_right":"OFF"}'
info 2023-05-27 21:10:48: MQTT publish: topic 'zigbee2mqtt/Int Quintal Fora ZG/mode', payload '{"backlight":null}'
debug 2023-05-27 21:10:48: Successfully pinged 'Int Quintal Fora ZG' (attempt 1/2)

@Koenkk
Copy link
Owner

Koenkk commented May 28, 2023

Thanks, can you now also provide the logs when trigger occupancy and doing nothing for 5 minutes after that?

@jocamane
Copy link
Author

The device name is TEST:

info 2023-05-28 18:40:30: Successfully changed options
info 2023-05-28 18:40:30: MQTT publish: topic 'zigbee2mqtt/bridge/response/options', payload '{"data":{"restart_required":false},"status":"ok","transaction":"qjbqj-3"}'
debug 2023-05-28 18:40:34: Received Zigbee message from 'Int Casa Máq ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":54,"65508":0,"appVersion":82}' from endpoint 1 with groupID null
info 2023-05-28 18:40:34: MQTT publish: topic 'zigbee2mqtt/Int Casa Máq ZG', payload '{"last_seen":"2023-05-28T18:40:34+01:00","linkquality":255,"power_on_behavior_l1":"previous","power_on_behavior_l2":"previous","power_on_behavior_l3":"previous","power_on_behavior_l4":"previous","state_l1":"OFF","state_l2":"OFF","state_l3":"OFF","state_l4":"OFF"}'
debug 2023-05-28 18:40:35: Received Zigbee message from 'Tomada 4 ZG', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,28]}' from endpoint 1 with groupID null
info 2023-05-28 18:40:35: MQTT publish: topic 'zigbee2mqtt/Tomada 4 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":0.28,"indicator_mode":"off/on","last_seen":"2023-05-28T18:40:35+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":233}'
debug 2023-05-28 18:40:37: Received Zigbee message from 'Test', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":1}' from endpoint 1 with groupID null
info 2023-05-28 18:40:37: MQTT publish: topic 'zigbee2mqtt/Test', payload '{"battery":87,"battery_low":false,"last_seen":"2023-05-28T18:40:37+01:00","linkquality":255,"occupancy":true,"tamper":false,"voltage":null}'
debug 2023-05-28 18:40:53: Received Zigbee message from 'Tomada 8 ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":31,"65508":0,"appVersion":69}' from endpoint 1 with groupID null
info 2023-05-28 18:40:53: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-28T18:40:53+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":234}'
debug 2023-05-28 18:40:56: Received Zigbee message from 'Tomada 4 ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":31,"65508":0,"appVersion":69}' from endpoint 1 with groupID null
info 2023-05-28 18:40:56: MQTT publish: topic 'zigbee2mqtt/Tomada 4 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":0.28,"indicator_mode":"off/on","last_seen":"2023-05-28T18:40:56+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":233}'
debug 2023-05-28 18:41:02: Received Zigbee message from 'Tomada 4 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":233}' from endpoint 1 with groupID null
info 2023-05-28 18:41:02: MQTT publish: topic 'zigbee2mqtt/Tomada 4 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":0.28,"indicator_mode":"off/on","last_seen":"2023-05-28T18:41:02+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":233}'
debug 2023-05-28 18:41:19: Received Zigbee message from 'Tomada 8 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":234}' from endpoint 1 with groupID null
info 2023-05-28 18:41:19: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-28T18:41:19+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":234}'
debug 2023-05-28 18:41:48: Received Zigbee message from 'Test', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":0}' from endpoint 1 with groupID null
info 2023-05-28 18:41:48: MQTT publish: topic 'zigbee2mqtt/Test', payload '{"battery":87,"battery_low":false,"last_seen":"2023-05-28T18:41:48+01:00","linkquality":255,"occupancy":false,"tamper":false,"voltage":null}'
debug 2023-05-28 18:41:48: Received Zigbee message from 'Tomada 10 ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":54,"65508":0,"appVersion":192}' from endpoint 1 with groupID null
info 2023-05-28 18:41:48: MQTT publish: topic 'zigbee2mqtt/Tomada 10 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":89.06,"indicator_mode":"off/on","last_seen":"2023-05-28T18:41:48+01:00","linkquality":248,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":234}'
debug 2023-05-28 18:42:02: Received Zigbee message from 'Tomada 4 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":233}' from endpoint 1 with groupID null
info 2023-05-28 18:42:02: MQTT publish: topic 'zigbee2mqtt/Tomada 4 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":0.28,"indicator_mode":"off/on","last_seen":"2023-05-28T18:42:02+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":233}'
debug 2023-05-28 18:42:12: Saving state to file /config/zigbee2mqtt/state.json
debug 2023-05-28 18:42:19: Received Zigbee message from 'Tomada 8 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":234}' from endpoint 1 with groupID null
info 2023-05-28 18:42:19: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-28T18:42:19+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":234}'
debug 2023-05-28 18:42:23: Received Zigbee message from 'Tomada 8 ZG', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,1575]}' from endpoint 1 with groupID null
info 2023-05-28 18:42:23: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-28T18:42:23+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":234}'
debug 2023-05-28 18:42:32: Received Zigbee message from 'Sen PT Rua ZG', type 'attributeReport', cluster 'genPowerCfg', data '{"batteryPercentageRemaining":2,"batteryVoltage":25}' from endpoint 1 with groupID null
info 2023-05-28 18:42:32: MQTT publish: topic 'zigbee2mqtt/Sen PT Rua ZG', payload '{"battery":1,"battery_low":false,"contact":true,"last_seen":"2023-05-28T18:42:32+01:00","linkquality":255,"tamper":false,"voltage":2500}'
debug 2023-05-28 18:42:54: Received Zigbee message from 'Sen Temp Quarto JL ZG', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID null
info 2023-05-28 18:42:54: MQTT publish: topic 'zigbee2mqtt/Sen Temp Quarto JL ZG', payload '{"battery":100,"humidity":53.41,"last_seen":"2023-05-28T18:42:54+01:00","linkquality":255,"temperature":22.09,"voltage":3000}'
debug 2023-05-28 18:43:02: Received Zigbee message from 'Tomada 4 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":231}' from endpoint 1 with groupID null
info 2023-05-28 18:43:02: MQTT publish: topic 'zigbee2mqtt/Tomada 4 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":0.28,"indicator_mode":"off/on","last_seen":"2023-05-28T18:43:02+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":231}'
info 2023-05-28 18:43:18: MQTT publish: topic 'zigbee2mqtt/Test', payload '{"battery":87,"battery_low":false,"last_seen":"2023-05-28T18:41:48+01:00","linkquality":255,"occupancy":false,"tamper":false,"voltage":null}'
debug 2023-05-28 18:43:19: Received Zigbee message from 'Tomada 8 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":232}' from endpoint 1 with groupID null
info 2023-05-28 18:43:19: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-28T18:43:19+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":232}'
debug 2023-05-28 18:43:27: Received Zigbee message from 'Int Casa Máq ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":54,"65508":0,"appVersion":82}' from endpoint 1 with groupID null
info 2023-05-28 18:43:27: MQTT publish: topic 'zigbee2mqtt/Int Casa Máq ZG', payload '{"last_seen":"2023-05-28T18:43:27+01:00","linkquality":255,"power_on_behavior_l1":"previous","power_on_behavior_l2":"previous","power_on_behavior_l3":"previous","power_on_behavior_l4":"previous","state_l1":"OFF","state_l2":"OFF","state_l3":"OFF","state_l4":"OFF"}'
debug 2023-05-28 18:43:32: Received Zigbee message from 'Det Fumo Cozinha ZG', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID null
info 2023-05-28 18:43:32: MQTT publish: topic 'zigbee2mqtt/Det Fumo Cozinha ZG', payload '{"battery":100,"battery_state":"high","last_seen":"2023-05-28T18:43:32+01:00","linkquality":255,"smoke":false}'
debug 2023-05-28 18:43:37: Received Zigbee message from 'Tomada 8 ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":31,"65508":0,"appVersion":69}' from endpoint 1 with groupID null
info 2023-05-28 18:43:37: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-28T18:43:37+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":232}'
debug 2023-05-28 18:43:38: Received Zigbee message from 'Tomada 4 ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":31,"65508":0,"appVersion":69}' from endpoint 1 with groupID null
info 2023-05-28 18:43:38: MQTT publish: topic 'zigbee2mqtt/Tomada 4 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":0.28,"indicator_mode":"off/on","last_seen":"2023-05-28T18:43:38+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":231}'
debug 2023-05-28 18:44:02: Received Zigbee message from 'Tomada 4 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":231}' from endpoint 1 with groupID null
info 2023-05-28 18:44:02: MQTT publish: topic 'zigbee2mqtt/Tomada 4 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":0.28,"indicator_mode":"off/on","last_seen":"2023-05-28T18:44:02+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":231}'
debug 2023-05-28 18:44:18: Received Zigbee message from 'Tomada 3 ZG', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID null
info 2023-05-28 18:44:18: MQTT publish: topic 'zigbee2mqtt/Tomada 3 ZG', payload '{"last_seen":"2023-05-28T18:44:18+01:00","linkquality":255,"state":"OFF"}'
debug 2023-05-28 18:44:18: Received Zigbee message from 'Tomada 6 ZG', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID null
info 2023-05-28 18:44:18: MQTT publish: topic 'zigbee2mqtt/Tomada 6 ZG', payload '{"last_seen":"2023-05-28T18:44:18+01:00","linkquality":255,"state":"OFF"}'
debug 2023-05-28 18:44:18: Received Zigbee message from 'Tomada 2 ZG', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID null
info 2023-05-28 18:44:18: MQTT publish: topic 'zigbee2mqtt/Tomada 2 ZG', payload '{"last_seen":"2023-05-28T18:44:18+01:00","linkquality":255,"state":"OFF"}'
debug 2023-05-28 18:44:19: Received Zigbee message from 'Tomada 8 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":232}' from endpoint 1 with groupID null
info 2023-05-28 18:44:19: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-28T18:44:19+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":232}'
debug 2023-05-28 18:44:20: Received Zigbee message from 'Tomada 10 ZG', type 'attributeReport', cluster 'genBasic', data '{"65506":54,"65508":0,"appVersion":192}' from endpoint 1 with groupID null
info 2023-05-28 18:44:20: MQTT publish: topic 'zigbee2mqtt/Tomada 10 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":89.06,"indicator_mode":"off/on","last_seen":"2023-05-28T18:44:20+01:00","linkquality":244,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":234}'
debug 2023-05-28 18:44:25: Received Zigbee message from 'Tomada 7 ZG', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID null
info 2023-05-28 18:44:25: MQTT publish: topic 'zigbee2mqtt/Tomada 7 ZG', payload '{"last_seen":"2023-05-28T18:44:25+01:00","linkquality":255,"state":"ON"}'
debug 2023-05-28 18:45:02: Received Zigbee message from 'Tomada 4 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":231}' from endpoint 1 with groupID null
info 2023-05-28 18:45:02: MQTT publish: topic 'zigbee2mqtt/Tomada 4 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":0.28,"indicator_mode":"off/on","last_seen":"2023-05-28T18:45:02+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":231}'
debug 2023-05-28 18:45:11: Received Zigbee message from 'Tomada 10 ZG', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,8906]}' from endpoint 1 with groupID null
info 2023-05-28 18:45:11: MQTT publish: topic 'zigbee2mqtt/Tomada 10 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":89.06,"indicator_mode":"off/on","last_seen":"2023-05-28T18:45:11+01:00","linkquality":240,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":234}'
debug 2023-05-28 18:45:11: Received Zigbee message from 'Tomada 10 ZG', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":233}' from endpoint 1 with groupID null
info 2023-05-28 18:45:11: MQTT publish: topic 'zigbee2mqtt/Tomada 10 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":89.06,"indicator_mode":"off/on","last_seen":"2023-05-28T18:45:11+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":233}'
debug 2023-05-28 18:45:19: Received Zigbee message from 'Tomada 8 ZG', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":232}' from endpoint 1 with groupID null
info 2023-05-28 18:45:19: MQTT publish: topic 'zigbee2mqtt/Tomada 8 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":15.75,"indicator_mode":"off/on","last_seen":"2023-05-28T18:45:19+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":232}'
debug 2023-05-28 18:45:34: Received Zigbee message from 'Tomada 4 ZG', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,28]}' from endpoint 1 with groupID null
info 2023-05-28 18:45:34: MQTT publish: topic 'zigbee2mqtt/Tomada 4 ZG', payload '{"child_lock":"UNLOCK","current":0,"energy":0.28,"indicator_mode":"off/on","last_seen":"2023-05-28T18:45:34+01:00","linkquality":255,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":"idle"},"update_available":false,"voltage":231}'

@Koenkk
Copy link
Owner

Koenkk commented May 29, 2023

Could you check if the issue is fixed with the following external converter: https://gist.github.com/Koenkk/36a52ebffb0b3c5f2f08cd68011c0eff

  • save this as file next to configuration.yaml as ext_converter.js
  • add it to configuration.yaml:
external_converters:
  - ext_converter.js
  • start z2m, check if issue is fixed

@Anashost
Copy link

Wow, looks like it's working nicely now.
It detects for 70 seconds, and clears if there's no movement. If there was movement it does holds its occupied state.

Tested two _TZ3040_bb6xaihh sensors, both working, Thanks a lot @Koenkk
And thanks to you @jocamane for providing logs.

@jocamane
Copy link
Author

Could you check if the issue is fixed with the following external converter: https://gist.github.com/Koenkk/36a52ebffb0b3c5f2f08cd68011c0eff

  • save this as file next to configuration.yaml as ext_converter.js
  • add it to configuration.yaml:
external_converters:
  - ext_converter.js
  • start z2m, check if issue is fixed
  • Correct device image in dashboard
  • Work OK after 70s clear-ocupped-clear

5 stars like always

can move on to the next offical version of Z2M

Thanks @Koenkk and @Anashost for the help

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue May 30, 2023
@Koenkk
Copy link
Owner

Koenkk commented May 30, 2023

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)

@Anashost
Copy link

Anashost commented Jun 1, 2023

Hey @Koenkk
I've just updated to v1.31.0-1, which includes the fix for (_TZ3040_bb6xaihh)
but it shows as "NOT supported".

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!

Info 2023-06-01 12:33:21Zigbee: allowing new devices to join.
Info 2023-06-01 12:33:21MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"5buwk-1"}'
Info 2023-06-01 12:33:33Device '0xa4c138feb8b9437e' joined
Info 2023-06-01 12:33:33MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138feb8b9437e","ieee_address":"0xa4c138feb8b9437e"},"type":"device_joined"}'
Info 2023-06-01 12:33:33Starting interview of '0xa4c138feb8b9437e'
Info 2023-06-01 12:33:33MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138feb8b9437e","ieee_address":"0xa4c138feb8b9437e","status":"started"},"type":"device_interview"}'
Info 2023-06-01 12:33:39Successfully interviewed '0xa4c138feb8b9437e', device has successfully been paired
Warning 2023-06-01 12:33:39Device '0xa4c138feb8b9437e' 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-06-01 12:33:39MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":null,"friendly_name":"0xa4c138feb8b9437e","ieee_address":"0xa4c138feb8b9437e","status":"successful","supported":false},"type":"device_interview"}'
Warning 2023-06-01 12:34:45Received message from unsupported device with Zigbee model 'TS0202' and manufacturer name '_TZ3040_bb6xaihh'
Warning 2023-06-01 12:34:45Please see: https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Jun 1, 2023
@Koenkk
Copy link
Owner

Koenkk commented Jun 1, 2023

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)

@Anashost
Copy link

Anashost commented Jun 1, 2023

It's ok boss, thanks.

@chunkysteveo
Copy link

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!

@Anashost
Copy link

Anashost commented Jun 1, 2023

@chunkysteveo The converter provided by Koenkk above, works perfectly, and fixes _TZ3040_bb6xaihh previous issues.

@chunkysteveo
Copy link

@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!!!

@milandzuris
Copy link

image
image
I dont understand why when im change CFG in HA make nothing, and in Z2M CFG it works.

@fixed77
Copy link

fixed77 commented Nov 12, 2023

How i can change keep_time options (30-60-120 seconds)?
default 60s is too long

@Nisbo
Copy link

Nisbo commented Jan 22, 2024

I am also missing time options (found this thread via google)

@vmedunytsia
Copy link

vmedunytsia commented Feb 6, 2024

how to change keep_time options (30-60-120 seconds)?

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

No branches or pull requests

8 participants