Closed jesushairdo closed 1 month ago
In the "developer tools" in HA, go to the "events" tab and enter zha_event
into the bottom text field and start listening for events.
Then do all the actions the remote can trigger and paste the events here (and to which action it corresponds).
Power Button - appears to toggle between On / Off state., Here are 3 button presses to show the toggle
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0006 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 6 command: "off" args: [] params: {} origin: LOCAL time_fired: "2023-08-14T16:23:15.157929+00:00" context: id: 01H7TDQNENX9W1FPRVKYZHZATE parent_id: null user_id: null
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0006 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 6 command: "off" args: [] params: {} origin: LOCAL time_fired: "2023-08-14T16:23:15.157929+00:00" context: id: 01H7TDQNENX9W1FPRVKYZHZATE parent_id: null user_id: null
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0006 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 6 command: "off" args: [] params: {} origin: LOCAL time_fired: "2023-08-14T16:23:15.157929+00:00" context: id: 01H7TDQNENX9W1FPRVKYZHZATE parent_id: null user_id: null
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0008 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 8 command: step args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0008 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 8 command: step args:
Left button triggers 2 events per button press - seemingly on an increasing scale
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0008 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 8 command: move_to_level_with_on_off args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0300 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 768 command: move_to_color_temp args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0008 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 8 command: move_to_level_with_on_off args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0300 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 768 command: move_to_color_temp args:
Right button triggers 2 events per button press - seemingly on an increasing scale
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0008 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 8 command: move_to_level_with_on_off args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0300 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 768 command: move_to_color_temp args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0008 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 8 command: move_to_level_with_on_off args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0300 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 768 command: move_to_color_temp args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0008 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 8 command: move args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0008 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 8 command: stop args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0008 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 8 command: move args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0008 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 8 command: stop args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0300 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 768 command: enhanced_move_hue args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0300 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 768 command: stop_move_step args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0300 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 768 command: enhanced_move_hue args:
event_type: zha_event data: device_ieee: 84:ba:20:ff:fe:99:86:44 unique_id: 84:ba:20:ff:fe:99:86:44:1:0x0300 device_id: 99b867de5445caaf3493aeca2d3260cc endpoint_id: 1 cluster_id: 768 command: stop_move_step args:
I can concur with @jesushairdo , there are ZHA events fired but no triggers are available. One correction: if you press the power button it alternately sends the 'on' and 'off' commands, this is not reflected in the post above. Something also appears to go wrong with the device configuration, there are errors in the cluster binding and reporting in the GUI. I tried removing the device and adding it anew, and this made the device not bind at all. Restarting HA after removing the device allowed me to re-add it. Here's the diagnostic log:
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2024.1.3",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.11.6",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/Amsterdam",
"os_name": "Linux",
"os_version": "6.1.71-haos",
"supervisor": "2023.12.1",
"host_os": "Home Assistant OS 11.4",
"docker_version": "24.0.7",
"chassis": "vm",
"run_as_root": true
},
"custom_components": {
"remeha_home": {
"version": "0.1.13",
"requirements": []
},
"scene_presets": {
"version": "0.1.0",
"requirements": []
},
"rpi_gpio": {
"version": "2022.7.0",
"requirements": [
"RPi.GPIO==0.7.1"
]
},
"hacs": {
"version": "1.33.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"zha_toolkit": {
"version": "v1.1.8",
"requirements": [
"pytz"
]
}
},
"integration_manifest": {
"domain": "zha",
"name": "Zigbee Home Automation",
"after_dependencies": [
"onboarding",
"usb"
],
"codeowners": [
"@dmulcahey",
"@adminiuga",
"@puddly",
"@TheJulianJES"
],
"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.37.6",
"pyserial==3.5",
"pyserial-asyncio==0.6",
"zha-quirks==0.0.109",
"zigpy-deconz==0.22.4",
"zigpy==0.60.4",
"zigpy-xbee==0.20.1",
"zigpy-zigate==0.12.0",
"zigpy-znp==0.12.1",
"universal-silabs-flasher==0.0.15",
"pyserial-asyncio-fast==0.11"
],
"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": "0403",
"pid": "6015",
"description": "*conbee*",
"known_devices": [
"Conbee III"
]
},
{
"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": 18352,
"manufacturer": "innr",
"model": "RC 250",
"name": "innr RC 250",
"quirk_applied": false,
"quirk_class": "zigpy.device.Device",
"quirk_id": null,
"manufacturer_code": 4454,
"power_source": "Battery or Unknown",
"lqi": 172,
"rssi": -57,
"last_seen": "2024-01-18T01:47:57",
"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=4454, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, 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": "0x0105",
"input_clusters": [
"0x0000",
"0x0001",
"0x0003",
"0x0b05",
"0x1000",
"0xfd01"
],
"output_clusters": [
"0x0003",
"0x0004",
"0x0006",
"0x0008",
"0x0019",
"0x0300",
"0x1000"
]
}
},
"manufacturer": "innr",
"model": "RC 250"
},
"active_coordinator": false,
"entities": [
{
"entity_id": "sensor.innr_remote_nr_1_battery",
"name": "innr RC 250"
},
{
"entity_id": "button.innr_remote_nr_1_identify",
"name": "innr RC 250"
}
],
"neighbors": [],
"routes": [],
"endpoint_names": [
{
"name": "COLOR_DIMMER_SWITCH"
}
],
"user_given_name": "innr remote nr 1",
"device_reg_id": "642a1ac495a88439fecf8620e4a18393",
"area_id": null,
"cluster_details": {
"1": {
"device_type": {
"name": "COLOR_DIMMER_SWITCH",
"id": 261
},
"profile_id": 260,
"in_clusters": {
"0x0000": {
"endpoint_attribute": "basic",
"attributes": {
"0x0004": {
"attribute_name": "manufacturer",
"value": "innr"
},
"0x0005": {
"attribute_name": "model",
"value": "RC 250"
}
},
"unsupported_attributes": {}
},
"0x0001": {
"endpoint_attribute": "power",
"attributes": {
"0x0021": {
"attribute_name": "battery_percentage_remaining",
"value": 20
},
"0x0033": {
"attribute_name": "battery_quantity",
"value": 1
},
"0x0031": {
"attribute_name": "battery_size",
"value": 2
},
"0x0020": {
"attribute_name": "battery_voltage",
"value": 25
}
},
"unsupported_attributes": {}
},
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
},
"0x0b05": {
"endpoint_attribute": "diagnostic",
"attributes": {},
"unsupported_attributes": {}
},
"0x1000": {
"endpoint_attribute": "lightlink",
"attributes": {},
"unsupported_attributes": {}
},
"0xfd01": {
"endpoint_attribute": "manufacturer_specific",
"attributes": {},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
},
"0x0004": {
"endpoint_attribute": "groups",
"attributes": {},
"unsupported_attributes": {}
},
"0x0006": {
"endpoint_attribute": "on_off",
"attributes": {},
"unsupported_attributes": {}
},
"0x0008": {
"endpoint_attribute": "level",
"attributes": {},
"unsupported_attributes": {}
},
"0x0019": {
"endpoint_attribute": "ota",
"attributes": {},
"unsupported_attributes": {}
},
"0x0300": {
"endpoint_attribute": "light_color",
"attributes": {},
"unsupported_attributes": {}
},
"0x1000": {
"endpoint_attribute": "lightlink",
"attributes": {},
"unsupported_attributes": {}
}
}
}
}
}
} ```
Similar problem here. I managed to get once (solely) an event to toggle a light.
Since then while listening to zha_event
I don't even get anything from it, even while listening to *
events.
If its configuration is OK is shall sending more commands and zha_event
shall showing all.
Try do one device reconfigure from the device card and waking the device up so it can receiving the commands.
Z2M device wiki https://www.zigbee2mqtt.io/devices/RC_250.html#action-enum is the commands i can sending.
Unfortunately I should have clarified earlier but I did reconfigure before listening to events precisely because it was surprising. I'm aware of the wiki. I'm pretty sure I saw more events (like others in this thread) few weeks ago when I received the hardware. I'll try again, thanks for the pointer.
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 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.
Problem description
When paired to Home Assistant the only triggers available are related to battery level and the identify feature. There are no triggers for any button press activities
The logbook in HA does show events for button presses for all buttons
Solution description
All button presses made available as triggers and / or entities with values
According to user guide: there should be a number of events triggered:
Screenshots/Video
Screenshots/Video
[Paste/upload your media here]Device signature
Device signature
```json { "node_descriptor": "NodeDescriptor(logical_type=Diagnostic information
Diagnostic information
```json { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.8.1", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.4", "docker": true, "arch": "aarch64", "timezone": "Europe/London", "os_name": "Linux", "os_version": "6.1.21-v8", "supervisor": "2023.08.1", "host_os": "Home Assistant OS 10.4", "docker_version": "23.0.6", "chassis": "embedded", "run_as_root": true }, "custom_components": { "hacs": { "version": "1.32.1", "requirements": [ "aiogithubapi>=22.10.1" ] }, "teamtracker": { "version": "0.1", "requirements": [ "arrow", "aiofiles" ] }, "garbage_collection": { "version": "4.10.2", "requirements": [ "python-dateutil>=2.8.2" ] }, "browser_mod": { "version": "2.3.0", "requirements": [] }, "octopus_energy": { "version": "8.0.0", "requirements": [] }, "peloton": { "version": "0.10.0", "requirements": [ "git+https://github.com/RobertD502/pylotoncycle@dev#pylotoncycle==0.6.0.1" ] }, "grocy": { "version": "v4.11.0", "requirements": [ "pygrocy==1.5.0" ] }, "anniversaries": { "version": "5.2.0", "requirements": [ "python-dateutil>=2.8.1", "integrationhelper>=0.2.2", "voluptuous>=0.12.1" ] }, "simpleicons": { "version": "v2.2.0", "requirements": [ "simpleicons==7.14.0" ] }, "holidays": { "version": "1.9.6", "requirements": [ "python-dateutil>=2.8.2", "holidays>=0.14.2" ] }, "tapo_control": { "version": "5.1.0", "requirements": [ "pytapo==3.1.18" ] }, "tesla_custom": { "version": "3.15.1", "requirements": [ "teslajsonpy==3.9.2" ] }, "skyq": { "version": "v2.11.5", "requirements": [ "pyskyqremote==0.3.25" ] }, "fontawesome": { "version": "2.1.5", "requirements": [] } }, "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" ], "requirements": [ "bellows==0.35.8", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.102", "zigpy-deconz==0.21.0", "zigpy==0.56.4", "zigpy-xbee==0.18.1", "zigpy-zigate==0.11.0", "zigpy-znp==0.11.4" ], "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": "_slzb-06._tcp.local.", "name": "slzb-06*" } ], "is_built_in": true }, "data": { "ieee": "**REDACTED**", "nwk": 56223, "manufacturer": "innr", "model": "RC 250", "name": "innr RC 250", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "manufacturer_code": 4454, "power_source": "Battery or Unknown", "lqi": 168, "rssi": -89, "last_seen": "2023-08-11T14:27:54", "available": true, "device_type": "EndDevice", "signature": { "node_descriptor": "NodeDescriptor(logical_type=Logs
Logs
```python [Paste the logs here] ```Custom quirk
Custom quirk
```python [Paste your custom quirk here] ```Additional information
No response