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

Zigbee Home Automation (ZHA) - Aqara T1 Pro Cube - Only Shake and Rotate Events Triggering #84301

Closed
sdonoghu75 opened this issue Dec 20, 2022 · 36 comments

Comments

@sdonoghu75
Copy link

The problem

The Aqara T1 Pro Cube supports multiple actions/modes. When added into Aqara app I can verify that is detects all events: knock, flip, rotate, slide, shake. However, when I delete from app and add device via ZHA....it will bind it but only detect a subset of events. In the logbook on the device page in HA I can see the rotate and shake events trigger but not the flip event. I confirmed this in developer tools by attempting to listen to ZHA events.

What version of Home Assistant Core has the issue?

2022.12.7

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @dmulcahey, @Adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of zha can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign zha Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


zha documentation
zha source
(message by IssueLinks)

@dmulcahey
Copy link
Contributor

can you please share your diagnostic info for the device? The one I have is working:
Screenshot 2022-12-20 at 10 36 44 AM
Screenshot 2022-12-20 at 10 35 29 AM

Screenshot 2022-12-20 at 10 36 24 AM

@sdonoghu75
Copy link
Author

cube_logbook

cubeevent

CubeDeviceInfo

Attached please find my device info, ZHA events, and logbook

@dmulcahey
Copy link
Contributor

Can you please share the diagnostic file from the device page. It’s in the 3 dots menu

@dmulcahey
Copy link
Contributor

Also, wake the device up by shaking it and try the reconfiguration in the 3 dots menu as well

@sdonoghu75
Copy link
Author

sdonoghu75 commented Dec 22, 2022

Hi-

Here is the file you requested. I also tried reconfiguration which showed green but still did not activate the flips, slide, knock actions.

SD

{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2022.12.8",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.10.7",
"docker": true,
"arch": "aarch64",
"timezone": "America/New_York",
"os_name": "Linux",
"os_version": "5.15.76-v8",
"supervisor": "2022.11.2",
"host_os": "Home Assistant OS 9.4",
"docker_version": "20.10.19",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"tryfi": {
"version": "0.0.18",
"requirements": [
"pytryfi>=0.0.17"
]
},
"mail_and_packages": {
"version": "0.3.4-2",
"requirements": [
"imageio>=2.9.0",
"python-resize-image>=1.1.19"
]
},
"alexa_media": {
"version": "4.3.2",
"requirements": [
"alexapy==1.26.4",
"packaging>=20.3",
"wrapt>=1.12.1"
]
},
"nws_alerts": {
"version": "2.5",
"requirements": []
},
"blitzortung": {
"version": "1.0.1",
"requirements": [
"paho-mqtt>=1.5.0"
]
},
"garbage_collection": {
"version": "4.10.2",
"requirements": [
"python-dateutil>=2.8.2"
]
},
"samsungtv_tizen": {
"version": "1.6.1",
"requirements": [
"websocket-client>=0.56.0",
"wakeonlan>=2.0.0",
"numpy>=1.19.2"
]
},
"samsungtv_smart": {
"version": "0.9.2",
"requirements": [
"websocket-client!=1.4.0,>=0.58.0",
"wakeonlan>=2.0.0",
"aiofiles>=0.8.0"
]
},
"adaptive_lighting": {
"version": "1.4.1",
"requirements": []
},
"frigate": {
"version": "3.0.0",
"requirements": []
},
"hacs": {
"version": "1.29.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"weatheralerts": {
"version": "0.1.5",
"requirements": []
},
"icloud3": {
"version": "2.4.6",
"requirements": []
},
"reolink_dev": {
"version": "0.59",
"requirements": [
"reolink==0.0.62",
"aiosmtpd>=1.4.2"
]
},
"smartthinq_sensors": {
"version": "0.26.1",
"requirements": [
"pycountry>=20.7.3",
"xmltodict>=0.12.0",
"cchardet>=2.1.7"
]
},
"rental_control": {
"version": "v0.8.1",
"requirements": [
"icalendar==4.0.7"
]
},
"reolink_cctv": {
"version": "0.1.9",
"requirements": [
"reolink-ip==0.0.44"
]
},
"clean_up_snapshots_service": {
"version": "0.8.1",
"requirements": []
},
"mass": {
"version": "2022.12.1",
"requirements": [
"music-assistant==1.8.7.2",
"git+https://github.com/music-assistant/databases@fix-breaking-sqlalchemy-cursor-changes#databases==0.6.3"
]
},
"ics": {
"version": "20211212.01",
"requirements": [
"recurring-ical-events",
"icalendar>=4.0.4",
"tzlocal",
"integrationhelper",
"voluptuous",
"python-dateutil>2.7.3"
]
},
"pirateweather": {
"version": "1.0.0",
"requirements": [
"python-forecastio==1.4.0"
]
},
"webrtc": {
"version": "v2.3.1",
"requirements": []
},
"eufy_security": {
"version": "2.9.1",
"requirements": [
"websocket-client==1.1.0"
]
},
"govee": {
"version": "0.2.2",
"requirements": [
"govee-api-laggat==0.2.2",
"dacite==1.6.0"
]
},
"spotcast": {
"version": "v3.6.30",
"requirements": [
"spotify_token==1.0.0"
]
}
},
"integration_manifest": {
"domain": "zha",
"name": "Zigbee Home Automation",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/zha",
"requirements": [
"bellows==0.34.5",
"pyserial==3.5",
"pyserial-asyncio==0.6",
"zha-quirks==0.0.89",
"zigpy-deconz==0.19.2",
"zigpy==0.52.3",
"zigpy-xbee==0.16.2",
"zigpy-zigate==0.10.3",
"zigpy-znp==0.9.2"
],
"usb": [
{
"vid": "10C4",
"pid": "EA60",
"description": "2652",
"known_devices": [
"slae.sh cc2652rb stick"
]
},
{
"vid": "1A86",
"pid": "55D4",
"description": "sonoffplus*",
"known_devices": [
"sonoff zigbee dongle plus v2"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "sonoffplus*",
"known_devices": [
"sonoff zigbee dongle plus"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "tubeszb",
"known_devices": [
"TubesZB Coordinator"
]
},
{
"vid": "1A86",
"pid": "7523",
"description": "tubeszb",
"known_devices": [
"TubesZB Coordinator"
]
},
{
"vid": "1A86",
"pid": "7523",
"description": "zigstar",
"known_devices": [
"ZigStar Coordinators"
]
},
{
"vid": "1CF1",
"pid": "0030",
"description": "conbee",
"known_devices": [
"Conbee II"
]
},
{
"vid": "10C4",
"pid": "8A2A",
"description": "zigbee",
"known_devices": [
"Nortek HUSBZB-1"
]
},
{
"vid": "0403",
"pid": "6015",
"description": "zigate",
"known_devices": [
"ZiGate+"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "zigate",
"known_devices": [
"ZiGate"
]
},
{
"vid": "10C4",
"pid": "8B34",
"description": "bv 2010/10",
"known_devices": [
"Bitron Video AV2010/10"
]
}
],
"codeowners": [
"@dmulcahey",
"@Adminiuga",
"@puddly"
],
"zeroconf": [
{
"type": "_esphomelib._tcp.local.",
"name": "tube*"
},
{
"type": "_zigate-zigbee-gateway._tcp.local.",
"name": "zigate"
},
{
"type": "_zigstar_gw._tcp.local.",
"name": "zigstar"
}
],
"dependencies": [
"file_upload"
],
"after_dependencies": [
"onboarding",
"usb",
"zeroconf"
],
"iot_class": "local_polling",
"loggers": [
"aiosqlite",
"bellows",
"crccheck",
"pure_pcapy3",
"zhaquirks",
"zigpy",
"zigpy_deconz",
"zigpy_xbee",
"zigpy_zigate",
"zigpy_znp"
],
"is_built_in": true
},
"data": {
"ieee": "REDACTED",
"nwk": 41711,
"manufacturer": "LUMI",
"model": "lumi.remote.cagl02",
"name": "LUMI lumi.remote.cagl02",
"quirk_applied": true,
"quirk_class": "zhaquirks.xiaomi.aqara.cube_aqgl01.CubeCAGL02",
"manufacturer_code": 4447,
"power_source": "Battery or Unknown",
"lqi": 255,
"rssi": -73,
"last_seen": "2022-12-22T17:51:15",
"available": true,
"device_type": "EndDevice",
"signature": {
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": 260,
"device_type": "0x6f01",
"in_clusters": [
"0x0000",
"0x0001",
"0x0003",
"0x0012",
"0x0019"
],
"out_clusters": [
"0x0000",
"0x0003",
"0x0019"
]
},
"2": {
"profile_id": 260,
"device_type": "0x6f01",
"in_clusters": [
"0x0012"
],
"out_clusters": [
"0x0012"
]
},
"3": {
"profile_id": 260,
"device_type": "0x6f01",
"in_clusters": [
"0x000c"
],
"out_clusters": [
"0x000c"
]
}
}
},
"active_coordinator": false,
"entities": [
{
"entity_id": "button.lumi_lumi_remote_cagl02_identify",
"name": "LUMI lumi.remote.cagl02"
},
{
"entity_id": "sensor.lumi_lumi_remote_cagl02_battery",
"name": "LUMI lumi.remote.cagl02"
}
],
"neighbors": [],
"routes": [],
"endpoint_names": [
{
"name": "undefined_0x6f01"
},
{
"name": "undefined_0x6f01"
},
{
"name": "undefined_0x6f01"
}
],
"user_given_name": "Office Aqara Cube",
"device_reg_id": "bd0aee40157ae55b61d782596707d268",
"area_id": "2c45bc241a3448cfbc8da67cd26d0374",
"cluster_details": {
"1": {
"device_type": {
"name": "undefined_0x6f01",
"id": 28417
},
"profile_id": 260,
"in_clusters": {
"0x0000": {
"endpoint_attribute": "basic",
"attributes": {
"0x0004": {
"attribute_name": "manufacturer",
"value": "LUMI"
},
"0x0005": {
"attribute_name": "model",
"value": "lumi.remote.cagl02"
}
},
"unsupported_attributes": {}
},
"0x0001": {
"endpoint_attribute": "power",
"attributes": {
"0x0020": {
"attribute_name": "battery_voltage",
"value": 31
},
"0x0031": {
"attribute_name": "battery_size",
"value": 9
},
"0x0033": {
"attribute_name": "battery_quantity",
"value": 1
}
},
"unsupported_attributes": {}
},
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
},
"0x0019": {
"endpoint_attribute": "ota",
"attributes": {},
"unsupported_attributes": {}
},
"0x0012": {
"endpoint_attribute": "multistate_input",
"attributes": {},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x0000": {
"endpoint_attribute": "basic",
"attributes": {},
"unsupported_attributes": {}
},
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
},
"0x0019": {
"endpoint_attribute": "ota",
"attributes": {},
"unsupported_attributes": {}
}
}
},
"2": {
"device_type": {
"name": "undefined_0x6f01",
"id": 28417
},
"profile_id": 260,
"in_clusters": {
"0x0012": {
"endpoint_attribute": "multistate_input",
"attributes": {
"0x0055": {
"attribute_name": "present_value",
"value": 0.0
}
},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x0012": {
"endpoint_attribute": "multistate_input",
"attributes": {},
"unsupported_attributes": {}
}
}
},
"3": {
"device_type": {
"name": "undefined_0x6f01",
"id": 28417
},
"profile_id": 260,
"in_clusters": {
"0x000c": {
"endpoint_attribute": "analog_input",
"attributes": {
"0x0055": {
"attribute_name": "present_value",
"value": 30.82999610900879
}
},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x000c": {
"endpoint_attribute": "analog_input",
"attributes": {},
"unsupported_attributes": {}
}
}
}
}
}
}

@Danoro73
Copy link

Same here :(

@rustedapple
Copy link

I'm also having a similar issue. In my case, my log book is empty but shaking and rotating instead turn on and off all the zigbee connected devices without any automation instructions.

{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2022.12.8",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.10.7",
"docker": true,
"arch": "x86_64",
"timezone": "America/New_York",
"os_name": "Linux",
"os_version": "5.15.80",
"supervisor": "2022.11.2",
"host_os": "Home Assistant OS 9.4",
"docker_version": "20.10.19",
"chassis": "vm",
"run_as_root": true
},
"custom_components": {
"adaptive_lighting": {
"version": "1.4.1",
"requirements": []
},
"hacs": {
"version": "1.29.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
}
},
"integration_manifest": {
"domain": "zha",
"name": "Zigbee Home Automation",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/zha",
"requirements": [
"bellows==0.34.5",
"pyserial==3.5",
"pyserial-asyncio==0.6",
"zha-quirks==0.0.89",
"zigpy-deconz==0.19.2",
"zigpy==0.52.3",
"zigpy-xbee==0.16.2",
"zigpy-zigate==0.10.3",
"zigpy-znp==0.9.2"
],
"usb": [
{
"vid": "10C4",
"pid": "EA60",
"description": "2652",
"known_devices": [
"slae.sh cc2652rb stick"
]
},
{
"vid": "1A86",
"pid": "55D4",
"description": "sonoffplus*",
"known_devices": [
"sonoff zigbee dongle plus v2"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "sonoffplus*",
"known_devices": [
"sonoff zigbee dongle plus"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "tubeszb",
"known_devices": [
"TubesZB Coordinator"
]
},
{
"vid": "1A86",
"pid": "7523",
"description": "tubeszb",
"known_devices": [
"TubesZB Coordinator"
]
},
{
"vid": "1A86",
"pid": "7523",
"description": "zigstar",
"known_devices": [
"ZigStar Coordinators"
]
},
{
"vid": "1CF1",
"pid": "0030",
"description": "conbee",
"known_devices": [
"Conbee II"
]
},
{
"vid": "10C4",
"pid": "8A2A",
"description": "zigbee",
"known_devices": [
"Nortek HUSBZB-1"
]
},
{
"vid": "0403",
"pid": "6015",
"description": "zigate",
"known_devices": [
"ZiGate+"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "zigate",
"known_devices": [
"ZiGate"
]
},
{
"vid": "10C4",
"pid": "8B34",
"description": "bv 2010/10",
"known_devices": [
"Bitron Video AV2010/10"
]
}
],
"codeowners": [
"@dmulcahey",
"@Adminiuga",
"@puddly"
],
"zeroconf": [
{
"type": "_esphomelib._tcp.local.",
"name": "tube*"
},
{
"type": "_zigate-zigbee-gateway._tcp.local.",
"name": "zigate"
},
{
"type": "_zigstar_gw._tcp.local.",
"name": "zigstar"
}
],
"dependencies": [
"file_upload"
],
"after_dependencies": [
"onboarding",
"usb",
"zeroconf"
],
"iot_class": "local_polling",
"loggers": [
"aiosqlite",
"bellows",
"crccheck",
"pure_pcapy3",
"zhaquirks",
"zigpy",
"zigpy_deconz",
"zigpy_xbee",
"zigpy_zigate",
"zigpy_znp"
],
"is_built_in": true
},
"data": {
"ieee": "REDACTED",
"nwk": 55219,
"manufacturer": "LUMI",
"model": "lumi.remote.cagl02",
"name": "LUMI lumi.remote.cagl02",
"quirk_applied": true,
"quirk_class": "zhaquirks.xiaomi.aqara.cube_aqgl01.CubeCAGL02",
"manufacturer_code": 4447,
"power_source": "Battery or Unknown",
"lqi": 9,
"rssi": null,
"last_seen": "2022-12-24T23:25:11",
"available": true,
"device_type": "EndDevice",
"signature": {
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": 260,
"device_type": "0x6f01",
"in_clusters": [
"0x0000",
"0x0001",
"0x0003",
"0x0012",
"0x0019"
],
"out_clusters": [
"0x0000",
"0x0003",
"0x0019"
]
},
"2": {
"profile_id": 260,
"device_type": "0x6f01",
"in_clusters": [
"0x0012"
],
"out_clusters": [
"0x0012"
]
},
"3": {
"profile_id": 260,
"device_type": "0x6f01",
"in_clusters": [
"0x000c"
],
"out_clusters": [
"0x000c"
]
}
}
},
"active_coordinator": false,
"entities": [
{
"entity_id": "button.lumi_lumi_remote_cagl02_identify",
"name": "LUMI lumi.remote.cagl02"
},
{
"entity_id": "sensor.lumi_lumi_remote_cagl02_battery",
"name": "LUMI lumi.remote.cagl02"
}
],
"neighbors": [],
"routes": [],
"endpoint_names": [
{
"name": "undefined_0x6f01"
},
{
"name": "undefined_0x6f01"
},
{
"name": "undefined_0x6f01"
}
],
"user_given_name": "Cube",
"device_reg_id": "f534a8d867f794d0d2824116644cc5fd",
"area_id": null,
"cluster_details": {
"1": {
"device_type": {
"name": "undefined_0x6f01",
"id": 28417
},
"profile_id": 260,
"in_clusters": {
"0x0000": {
"endpoint_attribute": "basic",
"attributes": {
"0x0004": {
"attribute_name": "manufacturer",
"value": "LUMI"
},
"0x0005": {
"attribute_name": "model",
"value": "lumi.remote.cagl02"
}
},
"unsupported_attributes": {}
},
"0x0001": {
"endpoint_attribute": "power",
"attributes": {
"0x0031": {
"attribute_name": "battery_size",
"value": 9
},
"0x0033": {
"attribute_name": "battery_quantity",
"value": 1
}
},
"unsupported_attributes": {}
},
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
},
"0x0019": {
"endpoint_attribute": "ota",
"attributes": {},
"unsupported_attributes": {}
},
"0x0012": {
"endpoint_attribute": "multistate_input",
"attributes": {},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x0000": {
"endpoint_attribute": "basic",
"attributes": {},
"unsupported_attributes": {}
},
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
},
"0x0019": {
"endpoint_attribute": "ota",
"attributes": {},
"unsupported_attributes": {}
}
}
},
"2": {
"device_type": {
"name": "undefined_0x6f01",
"id": 28417
},
"profile_id": 260,
"in_clusters": {
"0x0012": {
"endpoint_attribute": "multistate_input",
"attributes": {},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x0012": {
"endpoint_attribute": "multistate_input",
"attributes": {},
"unsupported_attributes": {}
}
}
},
"3": {
"device_type": {
"name": "undefined_0x6f01",
"id": 28417
},
"profile_id": 260,
"in_clusters": {
"0x000c": {
"endpoint_attribute": "analog_input",
"attributes": {},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x000c": {
"endpoint_attribute": "analog_input",
"attributes": {},
"unsupported_attributes": {}
}
}
}
}
}
}

@Salkiiin
Copy link

I also have the same problem.

{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2022.12.8",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.10.7",
"docker": true,
"arch": "aarch64",
"timezone": "Europe/Berlin",
"os_name": "Linux",
"os_version": "5.15.76-v8",
"supervisor": "2022.11.2",
"host_os": "Home Assistant OS 9.4",
"docker_version": "20.10.19",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"hacs": {
"version": "1.29.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"bosch_shc": {
"version": "0.4.36",
"requirements": [
"boschshcpy==0.2.37"
]
},
"deebot": {
"version": "1.5.0",
"requirements": [
"deebot-client==1.6.0",
"numpy>=1.21.2"
]
}
},
"integration_manifest": {
"domain": "zha",
"name": "Zigbee Home Automation",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/zha",
"requirements": [
"bellows==0.34.5",
"pyserial==3.5",
"pyserial-asyncio==0.6",
"zha-quirks==0.0.89",
"zigpy-deconz==0.19.2",
"zigpy==0.52.3",
"zigpy-xbee==0.16.2",
"zigpy-zigate==0.10.3",
"zigpy-znp==0.9.2"
],
"usb": [
{
"vid": "10C4",
"pid": "EA60",
"description": "2652",
"known_devices": [
"slae.sh cc2652rb stick"
]
},
{
"vid": "1A86",
"pid": "55D4",
"description": "sonoffplus*",
"known_devices": [
"sonoff zigbee dongle plus v2"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "sonoffplus*",
"known_devices": [
"sonoff zigbee dongle plus"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "tubeszb",
"known_devices": [
"TubesZB Coordinator"
]
},
{
"vid": "1A86",
"pid": "7523",
"description": "tubeszb",
"known_devices": [
"TubesZB Coordinator"
]
},
{
"vid": "1A86",
"pid": "7523",
"description": "zigstar",
"known_devices": [
"ZigStar Coordinators"
]
},
{
"vid": "1CF1",
"pid": "0030",
"description": "conbee",
"known_devices": [
"Conbee II"
]
},
{
"vid": "10C4",
"pid": "8A2A",
"description": "zigbee",
"known_devices": [
"Nortek HUSBZB-1"
]
},
{
"vid": "0403",
"pid": "6015",
"description": "zigate",
"known_devices": [
"ZiGate+"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "zigate",
"known_devices": [
"ZiGate"
]
},
{
"vid": "10C4",
"pid": "8B34",
"description": "bv 2010/10",
"known_devices": [
"Bitron Video AV2010/10"
]
}
],
"codeowners": [
"@dmulcahey",
"@Adminiuga",
"@puddly"
],
"zeroconf": [
{
"type": "_esphomelib._tcp.local.",
"name": "tube*"
},
{
"type": "_zigate-zigbee-gateway._tcp.local.",
"name": "zigate"
},
{
"type": "_zigstar_gw._tcp.local.",
"name": "zigstar"
}
],
"dependencies": [
"file_upload"
],
"after_dependencies": [
"onboarding",
"usb",
"zeroconf"
],
"iot_class": "local_polling",
"loggers": [
"aiosqlite",
"bellows",
"crccheck",
"pure_pcapy3",
"zhaquirks",
"zigpy",
"zigpy_deconz",
"zigpy_xbee",
"zigpy_zigate",
"zigpy_znp"
],
"is_built_in": true
},
"data": {
"ieee": "REDACTED",
"nwk": 44781,
"manufacturer": "LUMI",
"model": "lumi.remote.cagl02",
"name": "LUMI lumi.remote.cagl02",
"quirk_applied": true,
"quirk_class": "zhaquirks.xiaomi.aqara.cube_aqgl01.CubeCAGL02",
"manufacturer_code": 4447,
"power_source": "Battery or Unknown",
"lqi": 255,
"rssi": -50,
"last_seen": "2022-12-27T12:58:44",
"available": true,
"device_type": "EndDevice",
"signature": {
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": 260,
"device_type": "0x6f01",
"in_clusters": [
"0x0000",
"0x0001",
"0x0003",
"0x0012",
"0x0019"
],
"out_clusters": [
"0x0000",
"0x0003",
"0x0019"
]
},
"2": {
"profile_id": 260,
"device_type": "0x6f01",
"in_clusters": [
"0x0012"
],
"out_clusters": [
"0x0012"
]
},
"3": {
"profile_id": 260,
"device_type": "0x6f01",
"in_clusters": [
"0x000c"
],
"out_clusters": [
"0x000c"
]
}
}
},
"active_coordinator": false,
"entities": [
{
"entity_id": "button.lumi_lumi_remote_cagl02_identify",
"name": "LUMI lumi.remote.cagl02"
},
{
"entity_id": "sensor.lumi_lumi_remote_cagl02_battery",
"name": "LUMI lumi.remote.cagl02"
}
],
"neighbors": [],
"routes": [],
"endpoint_names": [
{
"name": "undefined_0x6f01"
},
{
"name": "undefined_0x6f01"
},
{
"name": "undefined_0x6f01"
}
],
"user_given_name": "cube T1 ",
"device_reg_id": "49d1e7419f655bf231ebe924f66b5952",
"area_id": "wohnzimmer",
"cluster_details": {
"1": {
"device_type": {
"name": "undefined_0x6f01",
"id": 28417
},
"profile_id": 260,
"in_clusters": {
"0x0000": {
"endpoint_attribute": "basic",
"attributes": {},
"unsupported_attributes": {}
},
"0x0001": {
"endpoint_attribute": "power",
"attributes": {
"0x0031": {
"attribute_name": "battery_size",
"value": 9
},
"0x0033": {
"attribute_name": "battery_quantity",
"value": 1
}
},
"unsupported_attributes": {}
},
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
},
"0x0019": {
"endpoint_attribute": "ota",
"attributes": {},
"unsupported_attributes": {}
},
"0x0012": {
"endpoint_attribute": "multistate_input",
"attributes": {},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x0000": {
"endpoint_attribute": "basic",
"attributes": {},
"unsupported_attributes": {}
},
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
},
"0x0019": {
"endpoint_attribute": "ota",
"attributes": {},
"unsupported_attributes": {}
}
}
},
"2": {
"device_type": {
"name": "undefined_0x6f01",
"id": 28417
},
"profile_id": 260,
"in_clusters": {
"0x0012": {
"endpoint_attribute": "multistate_input",
"attributes": {
"0x0055": {
"attribute_name": "present_value",
"value": 1024.0
}
},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x0012": {
"endpoint_attribute": "multistate_input",
"attributes": {},
"unsupported_attributes": {}
}
}
},
"3": {
"device_type": {
"name": "undefined_0x6f01",
"id": 28417
},
"profile_id": 260,
"in_clusters": {
"0x000c": {
"endpoint_attribute": "analog_input",
"attributes": {
"0x0055": {
"attribute_name": "present_value",
"value": -73.2300033569336
}
},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x000c": {
"endpoint_attribute": "analog_input",
"attributes": {},
"unsupported_attributes": {}
}
}
}
}
}
}

@Rdrake8
Copy link

Rdrake8 commented Dec 30, 2022

I will post diagnostics here as well if needed but just wanted to chime in that I'm having the same problem. However, I can only register device shaken events. Battery is "unknown" as well, not sure if that matters..

@robertdijk
Copy link

I recently bought an Aqara Cube T1Pro, and mine seems to have even fewer clusters, and the signature doesn't even match the zhaquirks.xiaomi.aqara.cube_aqgl01.CubeCAGL02 quirk. Does anyone have the same issue?

signature:

{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0103",
      "in_clusters": [
        "0x0000",
        "0x0003",
        "0x0006"
      ],
      "out_clusters": [
        "0x0000",
        "0x0003"
      ]
    }
  },
  "manufacturer": "LUMI",
  "model": "lumi.remote.cagl02",
  "class": "zigpy.device.Device"
}

diagnostics:

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.12.8",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.7",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Amsterdam",
    "os_name": "Linux",
    "os_version": "5.15.76-v8",
    "supervisor": "2022.12.1",
    "host_os": "Home Assistant OS 9.4",
    "docker_version": "20.10.19",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "auto_backup": {
      "version": "1.3.0",
      "requirements": []
    },
    "lightwave": {
      "version": "2.2.0",
      "requirements": [
        "lightwave==0.20"
      ]
    },
    "hacs": {
      "version": "1.29.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    }
  },
  "integration_manifest": {
    "domain": "zha",
    "name": "Zigbee Home Automation",
    "config_flow": true,
    "documentation": "https://www.home-assistant.io/integrations/zha",
    "requirements": [
      "bellows==0.34.5",
      "pyserial==3.5",
      "pyserial-asyncio==0.6",
      "zha-quirks==0.0.89",
      "zigpy-deconz==0.19.2",
      "zigpy==0.52.3",
      "zigpy-xbee==0.16.2",
      "zigpy-zigate==0.10.3",
      "zigpy-znp==0.9.2"
    ],
    "usb": [
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*2652*",
        "known_devices": [
          "slae.sh cc2652rb stick"
        ]
      },
      {
        "vid": "1A86",
        "pid": "55D4",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus v2"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*zigstar*",
        "known_devices": [
          "ZigStar Coordinators"
        ]
      },
      {
        "vid": "1CF1",
        "pid": "0030",
        "description": "*conbee*",
        "known_devices": [
          "Conbee II"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8A2A",
        "description": "*zigbee*",
        "known_devices": [
          "Nortek HUSBZB-1"
        ]
      },
      {
        "vid": "0403",
        "pid": "6015",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate+"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8B34",
        "description": "*bv 2010/10*",
        "known_devices": [
          "Bitron Video AV2010/10"
        ]
      }
    ],
    "codeowners": [
      "@dmulcahey",
      "@adminiuga",
      "@puddly"
    ],
    "zeroconf": [
      {
        "type": "_esphomelib._tcp.local.",
        "name": "tube*"
      },
      {
        "type": "_zigate-zigbee-gateway._tcp.local.",
        "name": "*zigate*"
      },
      {
        "type": "_zigstar_gw._tcp.local.",
        "name": "*zigstar*"
      }
    ],
    "dependencies": [
      "file_upload"
    ],
    "after_dependencies": [
      "onboarding",
      "usb",
      "zeroconf"
    ],
    "iot_class": "local_polling",
    "loggers": [
      "aiosqlite",
      "bellows",
      "crccheck",
      "pure_pcapy3",
      "zhaquirks",
      "zigpy",
      "zigpy_deconz",
      "zigpy_xbee",
      "zigpy_zigate",
      "zigpy_znp"
    ],
    "is_built_in": true
  },
  "data": {
    "ieee": "**REDACTED**",
    "nwk": 55359,
    "manufacturer": "LUMI",
    "model": "lumi.remote.cagl02",
    "name": "LUMI lumi.remote.cagl02",
    "quirk_applied": false,
    "quirk_class": "zigpy.device.Device",
    "manufacturer_code": 4447,
    "power_source": "Battery or Unknown",
    "lqi": 207,
    "rssi": -68,
    "last_seen": "2023-01-03T11:32:09",
    "available": true,
    "device_type": "EndDevice",
    "signature": {
      "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
      "endpoints": {
        "1": {
          "profile_id": 260,
          "device_type": "0x0103",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0006"
          ],
          "out_clusters": [
            "0x0000",
            "0x0003"
          ]
        }
      }
    },
    "active_coordinator": false,
    "entities": [
      {
        "entity_id": "button.lumi_lumi_remote_cagl02_identify",
        "name": "LUMI lumi.remote.cagl02"
      },
      {
        "entity_id": "switch.lumi_lumi_remote_cagl02_switch",
        "name": "LUMI lumi.remote.cagl02"
      }
    ],
    "neighbors": [],
    "routes": [],
    "endpoint_names": [
      {
        "name": "ON_OFF_LIGHT_SWITCH"
      }
    ],
    "user_given_name": null,
    "device_reg_id": "6f9251be0d6c6861aa68d65c430e1744",
    "area_id": "roberts_kamer",
    "cluster_details": {
      "1": {
        "device_type": {
          "name": "ON_OFF_LIGHT_SWITCH",
          "id": 259
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {
              "0x0004": {
                "attribute_name": "manufacturer",
                "value": "LUMI"
              },
              "0x0005": {
                "attribute_name": "model",
                "value": "lumi.remote.cagl02"
              }
            },
            "unsupported_attributes": {}
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          }
        }
      }
    }
  }
}

@jmcharg
Copy link

jmcharg commented Jan 5, 2023

I am also having similar issues with the T1 Pro cube.

zha-773ae64a7574387e16e52d3c9650b65f-LUMI lumi.remote.cagl02-e870649382da90cc71d7c9dcf08d9d32.json.txt

@mclex79
Copy link

mclex79 commented Jan 5, 2023

Same thing with mine as well, described above.

@TheJulianJES
Copy link
Member

Did you see zigpy/zha-device-handlers#1975 (comment)?

@mclex79
Copy link

mclex79 commented Jan 5, 2023

Yah but I can't that fix to work. Need more context on how to do it. Do you remove device and then add back in, etc.

@Giuliointhetube
Copy link

Same problem here, also the responsiveness and the accuracy of the event is not really accurate.
Sometimes the rotation triggers 2 or 3 events (rotate) at the same time while sometimes is completely unresponsive. The only consistent gesture is the shaking one.

@jproefrock
Copy link

Same here. Shake is the only consistent event.

I also noticed that using developer tools or node red to look at zha_events, even when turn events show in the log book, nothing comes through in the dev tools.

@jproefrock
Copy link

I left it alone overnight... now all the events are coming through in Node Red. Fun times...

@diothar
Copy link

diothar commented Jan 11, 2023

I can't get my cube to expose any entities except the identify button and battery sensor.

@Giuliointhetube
Copy link

I left it alone overnight... now all the events are coming through in Node Red. Fun times...

Are you using ZHA? Could you please check integration logs if events are available there? Thanks!

@jproefrock
Copy link

jproefrock commented Jan 11, 2023

Yes, I'm using ZHA and if you are referring to the Log Book, yes they are.

@Giuliointhetube
Copy link

Yes, I'm using ZHA and if you are referring to the Log Book, yes they are.

Not for me :(

@Giuliointhetube
Copy link

Yes, I'm using ZHA and if you are referring to the Log Book, yes they are.

Not for me :(

I solved the problem, I found into another thread that the cube can operate in 2 different modes. To switch those modes, just to press fast 5 times the cube pairing button (no blink or other notification) but immediately the cube started to work as expected and to send events to HA. Only the battery indicator is still unknown.

@jproefrock
Copy link

Yeah, I tried that several times. It seemed very non-deterministic. I saw no immediate change in events from the cube. In fact sometimes, the cube stopped responding at all! I'm sure doing something like that ultimately caused it to work properly, but I can't tell you exactly what it was.

@Giuliointhetube
Copy link

Yeah, I tried that several times. It seemed very non-deterministic. I saw no immediate change in events from the cube. In fact sometimes, the cube stopped responding at all! I'm sure doing something like that ultimately caused it to work properly, but I can't tell you exactly what it was.

I noted that operating the cube on sofa (not really a flat solid surface) the cube doesn’t work while on a desk, flat and solid surface, all the commands are quite responsive at the moment. I’ll keep posted if the device goes in sleep mode in the next days/hours. Maybe this is not the case but it looks that internal sensors/algorithm are not capable to interpret more than on trigger at the same time like rotation on a slant surface).

@Salkiiin
Copy link

Yes, I'm using ZHA and if you are referring to the Log Book, yes they are.

Not for me :(

I solved the problem, I found into another thread that the cube can operate in 2 different modes. To switch those modes, just to press fast 5 times the cube pairing button (no blink or other notification) but immediately the cube started to work as expected and to send events to HA. Only the battery indicator is still unknown.

That works for me too. Thanks!

@mB-PiBox
Copy link

mB-PiBox commented Jan 30, 2023

just to press fast 5 times the cube pairing button

This does not appear to be working; at least not for me. I press the pairing button 5 times, at different "fast" tempos, but the cube does not seem to change its operation mode or start sending data to the zha_event listener. Also after each 5 presses, shaking the cube continues to turn off and on all of the ZigBee lights/plugs/switches connected to the controller and does not send data to ZHA.

There are no Zigbee Groups setup with this Cube as a member. The cube does not show that is bound (binding) to any specific device or group.

I can't find any documentation on pressing the button 5 times changing the operation mode. Only information I'm able to find indicates that it has to be done via the Aqara App, and only way to get the cube into the Aqara App is via an Aqara Hub. Well, not going to buy a hub just to switch the mode.

I don't see a benefit in the T1 Cube vs the original version; since you can't use the different operation modes in Home Assistant.

Also the cube sides appear to be in a difference sequence. On the original cube (non T1), Side 2 was to the right, and Side 5 is to the left of the side with the "Aqara" logo w/ Side 4 having the access door to the battery/button. On the T1 Cube, Sides 4 & 3 are to the left/right of the "Aqara" logo, w/ Side 6 having the access door.

At this point the cube is nothing more than an overpriced "Kill Switch" to turn off every light/switch/plug in the house at once....

@maxemoose
Copy link

For anyone having trouble, try updating your ZigBee coordinator firmware. See my comment here.

@fzsaj
Copy link

fzsaj commented Mar 27, 2023

Same problem here. The Cube is recognised as an On/Off switch (see config)
Not ideal. No data is seen in the zha_event Developer Tools.
I've tried re-adding it multiple times, I even tried different sequences of fast presses of the pair switch which frankly is witchcraft. It is always recognised as an On/Off switch.

"data": {
"ieee": "REDACTED",
"nwk": 2648,
"manufacturer": "LUMI",
"model": "lumi.remote.cagl02",
"name": "LUMI lumi.remote.cagl02",
"quirk_applied": false,
"quirk_class": "zigpy.device.Device",
"manufacturer_code": 4447,
"power_source": "Battery or Unknown",
"lqi": 255,
"rssi": -49,
"last_seen": "2023-03-27T21:25:09",
"available": true,
"device_type": "EndDevice",
"signature": {
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": 260,
"device_type": "0x0103",
"in_clusters": [
"0x0000",
"0x0003",
"0x0006"
],
"out_clusters": [
"0x0000",
"0x0003"
]
}
}
},
"active_coordinator": false,
"entities": [
{
"entity_id": "button.lumi_lumi_remote_cagl02_identify",
"name": "LUMI lumi.remote.cagl02"
},
{
"entity_id": "switch.lumi_lumi_remote_cagl02_switch",
"name": "LUMI lumi.remote.cagl02"
}
],
"neighbors": [],
"routes": [],
"endpoint_names": [
{
"name": "ON_OFF_LIGHT_SWITCH"
}
],
"user_given_name": null,
"device_reg_id": "abc54b249b2fdce93a0a621a394fb49a",
"area_id": "eb3ffe92fda24a44a52d3907e4699c66",
"cluster_details": {
"1": {
"device_type": {
"name": "ON_OFF_LIGHT_SWITCH",
"id": 259
},
"profile_id": 260,
"in_clusters": {
"0x0000": {
"endpoint_attribute": "basic",
"attributes": {
"0x0004": {
"attribute_name": "manufacturer",
"value": "LUMI"
},
"0x0005": {
"attribute_name": "model",
"value": "lumi.remote.cagl02"
}
},
"unsupported_attributes": {}
},
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
},
"0x0006": {
"endpoint_attribute": "on_off",
"attributes": {
"0x0000": {
"attribute_name": "on_off",
"value": false
}
},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x0000": {
"endpoint_attribute": "basic",
"attributes": {},
"unsupported_attributes": {}
},
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
}
}
}
}
}

@maxemoose
Copy link

maxemoose commented Mar 27, 2023

Your issue sounds exactly like mine.

What ZigBee device are you using? Updating the firmware to the latest one here on my Sonoff Dongle P completely resolved the issue for me.

@fzsaj
Copy link

fzsaj commented Mar 27, 2023

Thanks! I did find your posts. Good point - I didn't include the hub - it's a Conbee II stick. Updating the firmware sounds like a real pain but I might give it try but I'm all Mac here and from what I've read updating on the Pi is fraught with danger. Or maybe I'll just buy a Sonoff. Or an M2 hub. You can never have enough hubs!
What infuriates me about this is that I have loads of Aqara devices, motion, door, temperature etc, and I was not expecting this kind of hassle as everything else works right out of the box.

@maxemoose
Copy link

I don't have a Conbee stick nor am I familiar with the drivers/software but this guy updates the firmware on a Conbee stick directly on a Pi without much difficulty.

If you do attempt this from the Pi, ensure you stop ALL services that might be using the Conbee stick (ex: HomeAssistant, Zigbee2MQTT) before starting the update process.

@smartmatic
Copy link

smartmatic commented May 28, 2023

Hello,

i did not read the whole post here but i would like to change the mode form the Cube. I read something like push the reset button 5x times but it seems that i does not work for me. What i miss are triggers for the new scene mode like flip90 or flip180.

Is there a solution how to change the mode?

@dekar91
Copy link

dekar91 commented Sep 11, 2023

Same for me. Click 5 times and an update of Sonoff Zigbee Dongle-E does not help =(
When I turn the cube to other side I see the log:

Error handling '_save_attribute' event with (54:ef:44:10:00:71:22:9a, 2, 18, 0, None, datetime.datetime(2023, 9, 11, 14, 51, 28, 379620, tzinfo=datetime.timezone.utc)) params: NOT NULL constraint failed: attributes_cache_v12.value
Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xA0FA), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=31, profile_id=260, cluster_id=64704, data=Serialized[b'\x18\xcd\nI\x01 \x05'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=208, rssi=-48)
Ignoring message (b'18cd0a49012005') on cluster 64704: unknown endpoint or cluster id: 'No cluster ID 0xfcc0 on (54:ef:44:10:00:71:22:9a, 2)'
Diagnostics
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.9.2",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.11.5",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "6.1.21-v8",
    "supervisor": "2023.08.3",
    "host_os": "Home Assistant OS 10.5",
    "docker_version": "23.0.6",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "hacs": {
      "version": "1.32.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "watchman": {
      "version": "0.5.1",
      "requirements": [
        "prettytable==3.0.0"
      ]
    },
    "dwains_dashboard": {
      "version": "3.4.3",
      "requirements": []
    },
    "o365": {
      "version": "v4.3.4",
      "requirements": [
        "O365==2.0.27",
        "BeautifulSoup4>=4.10.0"
      ]
    },
    "sonoff": {
      "version": "3.5.2",
      "requirements": [
        "pycryptodome>=3.6.6"
      ]
    }
  },
  "integration_manifest": {
    "domain": "zha",
    "name": "Zigbee Home Automation",
    "after_dependencies": [
      "onboarding",
      "usb"
    ],
    "codeowners": [
      "@dmulcahey",
      "@adminiuga",
      "@puddly"
    ],
    "config_flow": true,
    "dependencies": [
      "file_upload"
    ],
    "documentation": "https://www.home-assistant.io/integrations/zha",
    "iot_class": "local_polling",
    "loggers": [
      "aiosqlite",
      "bellows",
      "crccheck",
      "pure_pcapy3",
      "zhaquirks",
      "zigpy",
      "zigpy_deconz",
      "zigpy_xbee",
      "zigpy_zigate",
      "zigpy_znp",
      "universal_silabs_flasher"
    ],
    "requirements": [
      "bellows==0.36.3",
      "pyserial==3.5",
      "pyserial-asyncio==0.6",
      "zha-quirks==0.0.103",
      "zigpy-deconz==0.21.1",
      "zigpy==0.57.1",
      "zigpy-xbee==0.18.2",
      "zigpy-zigate==0.11.0",
      "zigpy-znp==0.11.4",
      "universal-silabs-flasher==0.0.13"
    ],
    "usb": [
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*2652*",
        "known_devices": [
          "slae.sh cc2652rb stick"
        ]
      },
      {
        "vid": "1A86",
        "pid": "55D4",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus v2"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*zigstar*",
        "known_devices": [
          "ZigStar Coordinators"
        ]
      },
      {
        "vid": "1CF1",
        "pid": "0030",
        "description": "*conbee*",
        "known_devices": [
          "Conbee II"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8A2A",
        "description": "*zigbee*",
        "known_devices": [
          "Nortek HUSBZB-1"
        ]
      },
      {
        "vid": "0403",
        "pid": "6015",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate+"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8B34",
        "description": "*bv 2010/10*",
        "known_devices": [
          "Bitron Video AV2010/10"
        ]
      }
    ],
    "zeroconf": [
      {
        "type": "_esphomelib._tcp.local.",
        "name": "tube*"
      },
      {
        "type": "_zigate-zigbee-gateway._tcp.local.",
        "name": "*zigate*"
      },
      {
        "type": "_zigstar_gw._tcp.local.",
        "name": "*zigstar*"
      },
      {
        "type": "_uzg-01._tcp.local.",
        "name": "uzg-01*"
      },
      {
        "type": "_slzb-06._tcp.local.",
        "name": "slzb-06*"
      }
    ],
    "is_built_in": true
  },
  "data": {
    "ieee": "**REDACTED**",
    "nwk": 41210,
    "manufacturer": "LUMI",
    "model": "lumi.remote.cagl02",
    "name": "LUMI lumi.remote.cagl02",
    "quirk_applied": true,
    "quirk_class": "zhaquirks.xiaomi.aqara.cube_aqgl01.CubeCAGL02",
    "manufacturer_code": 4447,
    "power_source": "Battery or Unknown",
    "lqi": 192,
    "rssi": -52,
    "last_seen": "2023-09-13T14:25:37",
    "available": true,
    "device_type": "EndDevice",
    "signature": {
      "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
      "endpoints": {
        "1": {
          "profile_id": "0x0104",
          "device_type": "0x6f01",
          "input_clusters": [
            "0x0000",
            "0x0001",
            "0x0003",
            "0x0012",
            "0x0019"
          ],
          "output_clusters": [
            "0x0000",
            "0x0003",
            "0x0019"
          ]
        },
        "2": {
          "profile_id": "0x0104",
          "device_type": "0x6f01",
          "input_clusters": [
            "0x0012"
          ],
          "output_clusters": [
            "0x0012"
          ]
        },
        "3": {
          "profile_id": "0x0104",
          "device_type": "0x6f01",
          "input_clusters": [
            "0x000c"
          ],
          "output_clusters": [
            "0x000c"
          ]
        }
      },
      "manufacturer": "LUMI",
      "model": "lumi.remote.cagl02"
    },
    "active_coordinator": false,
    "entities": [
      {
        "entity_id": "button.lumi_lumi_remote_cagl02_identify",
        "name": "LUMI lumi.remote.cagl02"
      },
      {
        "entity_id": "sensor.lumi_lumi_remote_cagl02_battery",
        "name": "LUMI lumi.remote.cagl02"
      }
    ],
    "neighbors": [],
    "routes": [],
    "endpoint_names": [
      {
        "name": "undefined_0x6f01"
      },
      {
        "name": "undefined_0x6f01"
      },
      {
        "name": "undefined_0x6f01"
      }
    ],
    "user_given_name": "Aqara cube",
    "device_reg_id": "19c35b8a36290987f5f595d47e0e5cd9",
    "area_id": "studyroom",
    "cluster_details": {
      "1": {
        "device_type": {
          "name": "undefined_0x6f01",
          "id": 28417
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {
              "0x0001": {
                "attribute_name": "app_version",
                "value": 25
              },
              "0x0004": {
                "attribute_name": "manufacturer",
                "value": "LUMI"
              },
              "0x0005": {
                "attribute_name": "model",
                "value": "lumi.remote.cagl02"
              }
            },
            "unsupported_attributes": {}
          },
          "0x0001": {
            "endpoint_attribute": "power",
            "attributes": {
              "0x0033": {
                "attribute_name": "battery_quantity",
                "value": 1
              },
              "0x0031": {
                "attribute_name": "battery_size",
                "value": 9
              },
              "0x0020": {
                "attribute_name": "battery_voltage",
                "value": 29
              }
            },
            "unsupported_attributes": {
              "0x0020": {
                "attribute_name": "battery_voltage"
              },
              "0x0021": {
                "attribute_name": "battery_percentage_remaining"
              }
            }
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0019": {
            "endpoint_attribute": "ota",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0012": {
            "endpoint_attribute": "multistate_input",
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0019": {
            "endpoint_attribute": "ota",
            "attributes": {},
            "unsupported_attributes": {}
          }
        }
      },
      "2": {
        "device_type": {
          "name": "undefined_0x6f01",
          "id": 28417
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0012": {
            "endpoint_attribute": "multistate_input",
            "attributes": {
              "0x0055": {
                "attribute_name": "present_value",
                "value": 0.0
              }
            },
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {
          "0x0012": {
            "endpoint_attribute": "multistate_input",
            "attributes": {},
            "unsupported_attributes": {}
          }
        }
      },
      "3": {
        "device_type": {
          "name": "undefined_0x6f01",
          "id": 28417
        },
        "profile_id": 260,
        "in_clusters": {
          "0x000c": {
            "endpoint_attribute": "analog_input",
            "attributes": {
              "0x0055": {
                "attribute_name": "present_value",
                "value": 243.72000122070312
              }
            },
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {
          "0x000c": {
            "endpoint_attribute": "analog_input",
            "attributes": {},
            "unsupported_attributes": {}
          }
        }
      }
    }
  }
}

@michaelschwarz
Copy link

I updated my ConBee II from an older firmware to 0x26780700 on my Windows PC, and did the 5 quick clicks, and after it was working.

Thanks to zigpy/zha-device-handlers#1975 (comment)

@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 19, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests