zha-device-handlers
zha-device-handlers copied to clipboard
[Device Support Request] Freint Electricity Meter Interface (Develco ZHEMI101)
Is your feature request related to a problem? Please describe. I believe that the Freint Electricity Meter Interface (Develco ZHEMI101) is already somewhat supported, meaning I can add it to my Home Assistant via ZHA. However, not all sensors and functionality is present....
Describe the solution you'd like
-
It appears that the battery sensor is supported but does get get exposed via ZHA. According to the manual, there is a status attribute on the metering cluster for reporting “Low battery”.
-
The device supports changing the
PulseConfigurationfrom the default1000to something else such as3200. However, changing this in Home Assistant does not save and the default ```1000` remains. -
Upon adding the device, it exposes a
Devicetemperaturesensor. There is no features to allow the monitoring of the device.
Device 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.0: 0>, mac_capability_flags=<MACCapabilityFlags.NONE: 0>, manufacturer_code=0, maximum_buffer_size=0, maximum_incoming_transfer_size=0, server_mask=0, maximum_outgoing_transfer_size=0, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=False, *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": 49353,
"device_type": "0x0001",
"in_clusters": [
"0x0002",
"0x0003",
"0x0005"
],
"out_clusters": [
"0x0001"
]
},
"2": {
"profile_id": 260,
"device_type": "0x0007",
"in_clusters": [
"0x0000",
"0x0003",
"0x0702"
],
"out_clusters": [
"0x000a"
]
}
},
"manufacturer": "Develco",
"model": "ZHEMI101",
"class": "zigpy.device.Device"
} ``` marks.
Diagnostic information
{
"home_assistant": {
"installation_type": "Home Assistant Container",
"version": "2022.8.0",
"dev": false,
"hassio": false,
"virtualenv": false,
"python_version": "3.10.5",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/London",
"os_name": "Linux",
"os_version": "5.10.0-16-amd64",
"run_as_root": true
},
"custom_components": {
"eufy_vacuum": {
"version": "1.0.4",
"requirements": [
"cryptography"
]
},
"adaptive_lighting": {
"version": "1.0.14",
"requirements": []
},
"auth_header": {
"version": "1.4",
"requirements": []
},
"dyson_local": {
"version": "0.16.4-4",
"requirements": [
"libdyson==0.8.11"
]
}
},
"integration_manifest": {
"domain": "zha",
"name": "Zigbee Home Automation",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/zha",
"requirements": [
"bellows==0.31.2",
"pyserial==3.5",
"pyserial-asyncio==0.6",
"zha-quirks==0.0.78",
"zigpy-deconz==0.18.0",
"zigpy==0.48.0",
"zigpy-xbee==0.15.0",
"zigpy-zigate==0.9.0",
"zigpy-znp==0.8.1"
],
"usb": [
{
"vid": "10C4",
"pid": "EA60",
"description": "*2652*",
"known_devices": [
"slae.sh cc2652rb stick"
]
},
{
"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*"
}
],
"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": 37751,
"manufacturer": "Develco",
"model": "ZHEMI101",
"name": "Develco ZHEMI101",
"quirk_applied": false,
"quirk_class": "zigpy.device.Device",
"manufacturer_code": 0,
"power_source": "Battery or Unknown",
"lqi": 255,
"rssi": -49,
"last_seen": "2022-08-04T20:46:32",
"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.0: 0>, mac_capability_flags=<MACCapabilityFlags.NONE: 0>, manufacturer_code=0, maximum_buffer_size=0, maximum_incoming_transfer_size=0, server_mask=0, maximum_outgoing_transfer_size=0, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=False, *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": 49353,
"device_type": "0x0001",
"in_clusters": [
"0x0002",
"0x0003",
"0x0005"
],
"out_clusters": [
"0x0001"
]
},
"2": {
"profile_id": 260,
"device_type": "0x0007",
"in_clusters": [
"0x0000",
"0x0003",
"0x0702"
],
"out_clusters": [
"0x000a"
]
}
}
},
"active_coordinator": false,
"entities": [
{
"entity_id": "sensor.develco_zhemi101_smartenergymetering",
"name": "Develco ZHEMI101"
},
{
"entity_id": "sensor.develco_zhemi101_smartenergysummation",
"name": "Develco ZHEMI101"
}
],
"neighbors": [],
"endpoint_names": [
{
"name": "COMBINED_INTERFACE"
},
{
"name": "unknown 1 device_type of 0xc0c9 profile id"
}
],
"user_given_name": null,
"device_reg_id": "6a43a27cb395251a11ce4663ac33c030",
"area_id": "cupboard",
"cluster_details": {
"2": {
"device_type": {
"name": "COMBINED_INTERFACE",
"id": 7
},
"profile_id": 260,
"in_clusters": {
"0x0000": {
"endpoint_attribute": "basic",
"attributes": {
"0x0004": {
"attribute_name": "manufacturer",
"value": "Develco"
},
"0x0005": {
"attribute_name": "model",
"value": "ZHEMI101"
}
},
"unsupported_attributes": {}
},
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
},
"0x0702": {
"endpoint_attribute": "smartenergy_metering",
"attributes": {
"0x0000": {
"attribute_name": "current_summ_delivered",
"value": 0
},
"0x0100": {
"attribute_name": "current_tier1_summ_delivered",
"value": 281474976710655
},
"0x0102": {
"attribute_name": "current_tier2_summ_delivered",
"value": 281474976710655
},
"0x0200": {
"attribute_name": "status",
"value": 0
},
"0x0300": {
"attribute_name": "unit_of_measure",
"value": 0
},
"0x0301": {
"attribute_name": "multiplier",
"value": 1
},
"0x0302": {
"attribute_name": "divisor",
"value": 1000
},
"0x0303": {
"attribute_name": "summation_formatting",
"value": 251
},
"0x0304": {
"attribute_name": "demand_formatting",
"value": 251
},
"0x0306": {
"attribute_name": "metering_device_type",
"value": 0
},
"0x0400": {
"attribute_name": "instantaneous_demand",
"value": 0
}
},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x000a": {
"endpoint_attribute": "time",
"attributes": {},
"unsupported_attributes": {}
}
}
},
"1": {
"device_type": {
"name": "unknown",
"id": 1
},
"profile_id": 49353,
"in_clusters": {
"0x0002": {
"endpoint_attribute": "device_temperature",
"attributes": {},
"unsupported_attributes": {}
},
"0x0003": {
"endpoint_attribute": "identify",
"attributes": {},
"unsupported_attributes": {}
},
"0x0005": {
"endpoint_attribute": "scenes",
"attributes": {},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x0001": {
"endpoint_attribute": "power",
"attributes": {},
"unsupported_attributes": {}
}
}
}
}
}
}
Additional context
Manufacturer Product Page: https://www.develcoproducts.com/products/meter-interfaces/external-meter-interface/
Technical manual: https://www.develcoproducts.com/media/1782/zhemi101-technical-manual-external-meter-interface.pdf
Extracts from Manual
Battery Information
Pulse Confirmation Information:
Pulse Confirmation in Home Assistant
This does not save and the default remains present
HA Reconfig
Other info
I saw zigbee2mqtt added support recently https://github.com/Koenkk/zigbee2mqtt/issues/8638
Could you try to put the 4117 value as Manufacturer Code Override when you tries to set the value from the cluster management view?
@javicalle tried this a few times with the manufacture code of 4117. It allows me to input but it does not save.
Saving the new value with manufacturer code:
Getting the new ZigBee Attribute:
I believe that here is the relevant info about Z2M support:
- https://github.com/Koenkk/zigbee-herdsman-converters/pull/3337/files
There is nothing that ring my bells.
Can you enable the debug log level and attach the result from writing and reading the value?
I hope these debug logs help.
I changed updated the value from 1000 to 3200 using manufacture code 4117 at 20:52pm and copied all the logs since.
Extract from Debug Logs
2022-08-06 20:52:01.895 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-08-06 20:52:01.898 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [63, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9377>, 2, 260, 1794, b'\x18\xb0\n\x00\x00%\xf7o\x00\x00\x00\x00\x00\x04*\xd6\x03\x00\x00\x02\x18\x00\x00\x01%\xff\xff\xff\xff\xff\xff\x02\x01%\xff\xff\xff\xff\xff\xff', 0, 175, 255, 197, 130, 143, 1, -28]
2022-08-06 20:52:01.899 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Received ZCL frame: b'\x18\xb0\n\x00\x00%\xf7o\x00\x00\x00\x00\x00\x04*\xd6\x03\x00\x00\x02\x18\x00\x00\x01%\xff\xff\xff\xff\xff\xff\x02\x01%\xff\xff\xff\xff\xff\xff'
2022-08-06 20:52:01.900 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=176, command_id=10, *is_reply=True)
2022-08-06 20:52:01.901 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Decoded ZCL frame: Metering:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint48_t, value=28663)), Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=982)), Attribute(attrid=0x0200, value=TypeValue(type=bitmap8, value=<bitmap8.0: 0>)), Attribute(attrid=0x0100, value=TypeValue(type=uint48_t, value=281474976710655)), Attribute(attrid=0x0102, value=TypeValue(type=uint48_t, value=281474976710655))])
2022-08-06 20:52:01.902 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Received command 0x0A (TSN 176): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint48_t, value=28663)), Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=982)), Attribute(attrid=0x0200, value=TypeValue(type=bitmap8, value=<bitmap8.0: 0>)), Attribute(attrid=0x0100, value=TypeValue(type=uint48_t, value=281474976710655)), Attribute(attrid=0x0102, value=TypeValue(type=uint48_t, value=281474976710655))])
2022-08-06 20:52:01.903 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Attribute report received: current_summ_delivered=28663, instantaneous_demand=982, status=<bitmap8.0: 0>, current_tier1_summ_delivered=281474976710655, current_tier2_summ_delivered=281474976710655
2022-08-06 20:52:01.904 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.develco_zhemi101_smartenergysummation, old_state=<state sensor.develco_zhemi101_smartenergysummation=28.662; state_class=total_increasing, device_type=Electric Metering, status=NO_ALARMS, unit_of_measurement=kWh, device_class=energy, friendly_name=Develco ZHEMI101 Smartenergysummation @ 2022-08-06T20:51:56.924273+01:00>, new_state=<state sensor.develco_zhemi101_smartenergysummation=28.663; state_class=total_increasing, device_type=Electric Metering, status=NO_ALARMS, unit_of_measurement=kWh, device_class=energy, friendly_name=Develco ZHEMI101 Smartenergysummation @ 2022-08-06T20:52:01.904252+01:00>>
2022-08-06 20:52:01.905 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.develco_zhemi101_smartenergymetering, old_state=<state sensor.develco_zhemi101_smartenergymetering=983; state_class=measurement, device_type=Electric Metering, status=NO_ALARMS, unit_of_measurement=W, device_class=power, friendly_name=Develco ZHEMI101 Smartenergymetering @ 2022-08-06T20:51:32.074959+01:00>, new_state=<state sensor.develco_zhemi101_smartenergymetering=982; state_class=measurement, device_type=Electric Metering, status=NO_ALARMS, unit_of_measurement=W, device_class=power, friendly_name=Develco ZHEMI101 Smartenergymetering @ 2022-08-06T20:52:01.905258+01:00>>
2022-08-06 20:52:01.907 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9377>, ep: 2, profile: 0x0104, cluster_id: 0x0702, data: b'18b00a000025f76f0000000000042ad6030000021800000125ffffffffffff020125ffffffffffff'
2022-08-06 20:52:02.520 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x8E77](lumi.weather): Device seen - marking the device available and resetting counter
2022-08-06 20:52:02.520 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x8E77](lumi.weather): Update device availability - device available: True - new availability: True - changed: False
2022-08-06 20:52:02.535 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB01B](LCT010): Device seen - marking the device available and resetting counter
2022-08-06 20:52:02.536 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xB01B](LCT010): Update device availability - device available: True - new availability: True - changed: False
2022-08-06 20:52:02.537 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x301B](TRADFRI SHORTCUT Button): Device seen - marking the device available and resetting counter
2022-08-06 20:52:02.537 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x301B](TRADFRI SHORTCUT Button): Update device availability - device available: True - new availability: True - changed: False
2022-08-06 20:52:02.537 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x9377](ZHEMI101): Device seen - marking the device available and resetting counter
2022-08-06 20:52:02.538 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x9377](ZHEMI101): Update device availability - device available: True - new availability: True - changed: False
2022-08-06 20:52:03.743 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=75, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
2022-08-06 20:52:03.744 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Sending request: Read_Attributes(attribute_ids=[770])
2022-08-06 20:52:03.744 DEBUG (MainThread) [zigpy.device] [0x9377] Extending timeout for 0x4b request
2022-08-06 20:52:03.744 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 75 under 76 request id, data: b'004b000203'
2022-08-06 20:52:03.745 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (20, 76, <DeconzSendDataFlags.NONE: 0>, <DeconzAddressEndpoint address_mode=2 address=0x9377 endpoint=2>, 260, 1794, 1, b'\x00K\x00\x02\x03', <DeconzTransmitOptions.USE_NWK_KEY_SECURITY: 2>, 0)
2022-08-06 20:52:03.749 DEBUG (MainThread) [zigpy_deconz.api] APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 76]
2022-08-06 20:52:03.958 INFO (MainThread) [custom_components.eufy_vacuum.tuya] Received updated state 10050101807d3a600e86 (10.10.2.11:6668): {'1': True, '2': False, '3': 'forward', '5': 'Nosweep', '15': 'Sleeping', '101': False, '102': 'No_suction', '103': False, '104': 95, '106': 'no_error'}
2022-08-06 20:52:04.539 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x8D27](lumi.sensor_motion.aq2): Device seen - marking the device available and resetting counter
2022-08-06 20:52:04.539 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x8D27](lumi.sensor_motion.aq2): Update device availability - device available: True - new availability: True - changed: False
2022-08-06 20:52:04.881 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_CONFIRM|2: 166>, 0]
2022-08-06 20:52:04.882 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_confirm (0,)
2022-08-06 20:52:04.884 DEBUG (MainThread) [zigpy_deconz.api] APS data confirm response for request with id 76: 00
2022-08-06 20:52:04.884 DEBUG (MainThread) [zigpy_deconz.api] Request id: 0x4c 'aps_data_confirm' for <DeconzAddressEndpoint address_mode=ADDRESS_MODE.NWK address=0x9377 endpoint=2>, status: 0x00
2022-08-06 20:52:04.895 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-08-06 20:52:04.896 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-08-06 20:52:04.897 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [33, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9377>, 2, 260, 1794, b'\x18K\x01\x02\x03\x00"\xe8\x03\x00', 0, 175, 255, 197, 130, 143, 1, -28]
2022-08-06 20:52:04.898 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Received ZCL frame: b'\x18K\x01\x02\x03\x00"\xe8\x03\x00'
2022-08-06 20:52:04.899 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=75, command_id=1, *is_reply=True)
2022-08-06 20:52:04.900 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Decoded ZCL frame: Metering:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0302, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint24_t, value=1000))])
2022-08-06 20:52:04.901 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9377>, ep: 2, profile: 0x0104, cluster_id: 0x0702, data: b'184b0102030022e80300'
2022-08-06 20:52:04.902 DEBUG (MainThread) [homeassistant.components.zha.api] Read attribute for: cluster_id: [1794] cluster_type: [in] endpoint_id: [2] attribute: [770] manufacturer: [None] response: [1000] failure: [{}],
2022-08-06 20:52:06.880 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-08-06 20:52:06.881 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-08-06 20:52:06.884 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [63, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9377>, 2, 260, 1794, b'\x18\xb1\n\x00\x00%\xf9o\x00\x00\x00\x00\x00\x04*\xd6\x03\x00\x00\x02\x18\x00\x00\x01%\xff\xff\xff\xff\xff\xff\x02\x01%\xff\xff\xff\xff\xff\xff', 0, 175, 255, 197, 130, 143, 1, -28]
2022-08-06 20:52:06.885 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Received ZCL frame: b'\x18\xb1\n\x00\x00%\xf9o\x00\x00\x00\x00\x00\x04*\xd6\x03\x00\x00\x02\x18\x00\x00\x01%\xff\xff\xff\xff\xff\xff\x02\x01%\xff\xff\xff\xff\xff\xff'
2022-08-06 20:52:06.886 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=177, command_id=10, *is_reply=True)
2022-08-06 20:52:06.887 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Decoded ZCL frame: Metering:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint48_t, value=28665)), Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=982)), Attribute(attrid=0x0200, value=TypeValue(type=bitmap8, value=<bitmap8.0: 0>)), Attribute(attrid=0x0100, value=TypeValue(type=uint48_t, value=281474976710655)), Attribute(attrid=0x0102, value=TypeValue(type=uint48_t, value=281474976710655))])
2022-08-06 20:52:06.888 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Received command 0x0A (TSN 177): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint48_t, value=28665)), Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=982)), Attribute(attrid=0x0200, value=TypeValue(type=bitmap8, value=<bitmap8.0: 0>)), Attribute(attrid=0x0100, value=TypeValue(type=uint48_t, value=281474976710655)), Attribute(attrid=0x0102, value=TypeValue(type=uint48_t, value=281474976710655))])
2022-08-06 20:52:06.889 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Attribute report received: current_summ_delivered=28665, instantaneous_demand=982, status=<bitmap8.0: 0>, current_tier1_summ_delivered=281474976710655, current_tier2_summ_delivered=281474976710655
2022-08-06 20:52:06.890 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.develco_zhemi101_smartenergysummation, old_state=<state sensor.develco_zhemi101_smartenergysummation=28.663; state_class=total_increasing, device_type=Electric Metering, status=NO_ALARMS, unit_of_measurement=kWh, device_class=energy, friendly_name=Develco ZHEMI101 Smartenergysummation @ 2022-08-06T20:52:01.904252+01:00>, new_state=<state sensor.develco_zhemi101_smartenergysummation=28.665; state_class=total_increasing, device_type=Electric Metering, status=NO_ALARMS, unit_of_measurement=kWh, device_class=energy, friendly_name=Develco ZHEMI101 Smartenergysummation @ 2022-08-06T20:52:06.890270+01:00>>
2022-08-06 20:52:06.892 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9377>, ep: 2, profile: 0x0104, cluster_id: 0x0702, data: b'18b10a000025f96f0000000000042ad6030000021800000125ffffffffffff020125ffffffffffff'
2022-08-06 20:52:11.764 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=zha, service=set_zigbee_cluster_attribute, service_data=ieee=00:15:bc:00:1b:02:1f:79, endpoint_id=2, cluster_id=1794, cluster_type=in, attribute=770, value=3200, manufacturer=4117>
2022-08-06 20:52:11.766 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), manufacturer=4117, tsn=77, command_id=<GeneralCommand.Write_Attributes: 2>, *is_reply=False)
2022-08-06 20:52:11.767 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Sending request: Write_Attributes(attributes=[Attribute(attrid=0x0302, value=TypeValue(type=uint24_t, value=3200))])
2022-08-06 20:52:11.767 DEBUG (MainThread) [zigpy.device] [0x9377] Extending timeout for 0x4d request
2022-08-06 20:52:11.768 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 77 under 78 request id, data: b'0415104d02020322800c00'
2022-08-06 20:52:11.768 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (26, 78, <DeconzSendDataFlags.NONE: 0>, <DeconzAddressEndpoint address_mode=2 address=0x9377 endpoint=2>, 260, 1794, 1, b'\x04\x15\x10M\x02\x02\x03"\x80\x0c\x00', <DeconzTransmitOptions.USE_NWK_KEY_SECURITY: 2>, 0)
2022-08-06 20:52:11.773 DEBUG (MainThread) [zigpy_deconz.api] APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 78]
2022-08-06 20:52:11.856 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-08-06 20:52:11.857 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-08-06 20:52:11.860 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [63, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9377>, 2, 260, 1794, b'\x18\xb2\n\x00\x00%\xfao\x00\x00\x00\x00\x00\x04*\xd6\x03\x00\x00\x02\x18\x00\x00\x01%\xff\xff\xff\xff\xff\xff\x02\x01%\xff\xff\xff\xff\xff\xff', 0, 175, 255, 199, 130, 143, 1, -28]
2022-08-06 20:52:11.861 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Received ZCL frame: b'\x18\xb2\n\x00\x00%\xfao\x00\x00\x00\x00\x00\x04*\xd6\x03\x00\x00\x02\x18\x00\x00\x01%\xff\xff\xff\xff\xff\xff\x02\x01%\xff\xff\xff\xff\xff\xff'
2022-08-06 20:52:11.862 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=178, command_id=10, *is_reply=True)
2022-08-06 20:52:11.863 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Decoded ZCL frame: Metering:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint48_t, value=28666)), Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=982)), Attribute(attrid=0x0200, value=TypeValue(type=bitmap8, value=<bitmap8.0: 0>)), Attribute(attrid=0x0100, value=TypeValue(type=uint48_t, value=281474976710655)), Attribute(attrid=0x0102, value=TypeValue(type=uint48_t, value=281474976710655))])
2022-08-06 20:52:11.864 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Received command 0x0A (TSN 178): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint48_t, value=28666)), Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=982)), Attribute(attrid=0x0200, value=TypeValue(type=bitmap8, value=<bitmap8.0: 0>)), Attribute(attrid=0x0100, value=TypeValue(type=uint48_t, value=281474976710655)), Attribute(attrid=0x0102, value=TypeValue(type=uint48_t, value=281474976710655))])
2022-08-06 20:52:11.865 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Attribute report received: current_summ_delivered=28666, instantaneous_demand=982, status=<bitmap8.0: 0>, current_tier1_summ_delivered=281474976710655, current_tier2_summ_delivered=281474976710655
2022-08-06 20:52:11.867 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.develco_zhemi101_smartenergysummation, old_state=<state sensor.develco_zhemi101_smartenergysummation=28.665; state_class=total_increasing, device_type=Electric Metering, status=NO_ALARMS, unit_of_measurement=kWh, device_class=energy, friendly_name=Develco ZHEMI101 Smartenergysummation @ 2022-08-06T20:52:06.890270+01:00>, new_state=<state sensor.develco_zhemi101_smartenergysummation=28.666; state_class=total_increasing, device_type=Electric Metering, status=NO_ALARMS, unit_of_measurement=kWh, device_class=energy, friendly_name=Develco ZHEMI101 Smartenergysummation @ 2022-08-06T20:52:11.867123+01:00>>
2022-08-06 20:52:11.874 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9377>, ep: 2, profile: 0x0104, cluster_id: 0x0702, data: b'18b20a000025fa6f0000000000042ad6030000021800000125ffffffffffff020125ffffffffffff'
2022-08-06 20:52:13.351 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_CONFIRM|2: 166>, 0]
2022-08-06 20:52:13.351 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_confirm (0,)
2022-08-06 20:52:13.353 DEBUG (MainThread) [zigpy_deconz.api] APS data confirm response for request with id 78: 00
2022-08-06 20:52:13.353 DEBUG (MainThread) [zigpy_deconz.api] Request id: 0x4e 'aps_data_confirm' for <DeconzAddressEndpoint address_mode=ADDRESS_MODE.NWK address=0x9377 endpoint=2>, status: 0x00
2022-08-06 20:52:13.365 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-08-06 20:52:13.365 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-08-06 20:52:13.367 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [31, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9377>, 2, 260, 1794, b'\x1c\x15\x10M\x04\x8d\x02\x03', 0, 175, 255, 199, 130, 143, 1, -28]
2022-08-06 20:52:13.367 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Received ZCL frame: b'\x1c\x15\x10M\x04\x8d\x02\x03'
2022-08-06 20:52:13.368 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=True, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), manufacturer=4117, tsn=77, command_id=4, *is_reply=True)
2022-08-06 20:52:13.368 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Decoded ZCL frame: Metering:Write_Attributes_rsp(status_records=[WriteAttributesStatusRecord(status=<Status.INVALID_DATA_TYPE: 141>, attrid=0x0302)])
2022-08-06 20:52:13.369 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9377>, ep: 2, profile: 0x0104, cluster_id: 0x0702, data: b'1c15104d048d0203'
2022-08-06 20:52:13.369 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x9377](ZHEMI101): set: 3200 for attr: 770 to cluster: 1794 for ept: 2 - res: Write_Attributes_rsp(status_records=[WriteAttributesStatusRecord(status=<Status.INVALID_DATA_TYPE: 141>, attrid=0x0302)])
2022-08-06 20:52:13.369 DEBUG (MainThread) [homeassistant.components.zha.api] Set attribute for: cluster_id: [1794] cluster_type: [in] endpoint_id: [2] attribute: [770] value: [3200] manufacturer: [4117] response: [Write_Attributes_rsp(status_records=[WriteAttributesStatusRecord(status=<Status.INVALID_DATA_TYPE: 141>, attrid=0x0302)])]
2022-08-06 20:52:14.072 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.dyson_fan_pm_2_5, old_state=<state sensor.dyson_fan_pm_2_5=25; state_class=measurement, unit_of_measurement=µg/m³, device_class=pm25, friendly_name=Pure Cool PM 2.5 @ 2022-08-06T20:51:14.071491+01:00>, new_state=<state sensor.dyson_fan_pm_2_5=18; state_class=measurement, unit_of_measurement=µg/m³, device_class=pm25, friendly_name=Pure Cool PM 2.5 @ 2022-08-06T20:52:14.071917+01:00>>
2022-08-06 20:52:14.072 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.dyson_fan_pm_10, old_state=<state sensor.dyson_fan_pm_10=18; state_class=measurement, unit_of_measurement=µg/m³, device_class=pm10, friendly_name=Pure Cool PM 10 @ 2022-08-06T20:51:44.071878+01:00>, new_state=<state sensor.dyson_fan_pm_10=11; state_class=measurement, unit_of_measurement=µg/m³, device_class=pm10, friendly_name=Pure Cool PM 10 @ 2022-08-06T20:52:14.072849+01:00>>
2022-08-06 20:52:15.613 DEBUG (MainThread) [homeassistant.components.zha.entity] light.bedroom_bedside_right: polling current state
2022-08-06 20:52:15.614 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=79, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
2022-08-06 20:52:15.614 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
2022-08-06 20:52:15.615 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 79 under 80 request id, data: b'004f000000'
2022-08-06 20:52:15.615 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (20, 80, <DeconzSendDataFlags.NONE: 0>, <DeconzAddressEndpoint address_mode=2 address=0xB01B endpoint=11>, 260, 6, 1, b'\x00O\x00\x00\x00', <DeconzTransmitOptions.USE_NWK_KEY_SECURITY: 2>, 0)
2022-08-06 20:52:15.627 DEBUG (MainThread) [zigpy_deconz.api] APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 80]
2022-08-06 20:52:15.628 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_CONFIRM|2: 166>, 0]
2022-08-06 20:52:15.628 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_confirm (0,)
2022-08-06 20:52:15.631 DEBUG (MainThread) [zigpy_deconz.api] APS data confirm response for request with id 80: 00
2022-08-06 20:52:15.632 DEBUG (MainThread) [zigpy_deconz.api] Request id: 0x50 'aps_data_confirm' for <DeconzAddressEndpoint address_mode=ADDRESS_MODE.NWK address=0xb01b endpoint=11>, status: 0x00
2022-08-06 20:52:15.646 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-08-06 20:52:15.647 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-08-06 20:52:15.648 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [31, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xb01b>, 11, 260, 6, b'\x18O\x01\x00\x00\x00\x10\x00', 0, 175, 255, 201, 130, 143, 1, -54]
2022-08-06 20:52:15.649 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0006] Received ZCL frame: b'\x18O\x01\x00\x00\x00\x10\x00'
2022-08-06 20:52:15.650 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=79, command_id=1, *is_reply=True)
2022-08-06 20:52:15.651 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.false: 0>))])
2022-08-06 20:52:15.652 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xb01b>, ep: 11, profile: 0x0104, cluster_id: 0x0006, data: b'184f010000001000'
2022-08-06 20:52:15.653 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0008] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=81, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
2022-08-06 20:52:15.653 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0008] Sending request: Read_Attributes(attribute_ids=[0])
2022-08-06 20:52:15.653 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 81 under 82 request id, data: b'0051000000'
2022-08-06 20:52:15.653 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (20, 82, <DeconzSendDataFlags.NONE: 0>, <DeconzAddressEndpoint address_mode=2 address=0xB01B endpoint=11>, 260, 8, 1, b'\x00Q\x00\x00\x00', <DeconzTransmitOptions.USE_NWK_KEY_SECURITY: 2>, 0)
2022-08-06 20:52:15.663 DEBUG (MainThread) [zigpy_deconz.api] APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 82]
2022-08-06 20:52:15.663 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_CONFIRM|2: 166>, 0]
2022-08-06 20:52:15.663 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_confirm (0,)
2022-08-06 20:52:15.664 DEBUG (MainThread) [zigpy_deconz.api] APS data confirm response for request with id 82: 00
2022-08-06 20:52:15.664 DEBUG (MainThread) [zigpy_deconz.api] Request id: 0x52 'aps_data_confirm' for <DeconzAddressEndpoint address_mode=ADDRESS_MODE.NWK address=0xb01b endpoint=11>, status: 0x00
2022-08-06 20:52:15.679 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-08-06 20:52:15.679 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-08-06 20:52:15.681 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [31, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xb01b>, 11, 260, 8, b'\x18Q\x01\x00\x00\x00 G', 0, 175, 255, 201, 130, 143, 1, -55]
2022-08-06 20:52:15.681 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0008] Received ZCL frame: b'\x18Q\x01\x00\x00\x00 G'
2022-08-06 20:52:15.681 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0008] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=81, command_id=1, *is_reply=True)
2022-08-06 20:52:15.682 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0008] Decoded ZCL frame: LevelControl:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint8_t, value=71))])
2022-08-06 20:52:15.682 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xb01b>, ep: 11, profile: 0x0104, cluster_id: 0x0008, data: b'1851010000002047'
2022-08-06 20:52:15.682 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB01B:11:0x0008]: received attribute: 0 update with value: 71
2022-08-06 20:52:15.682 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xB01B:11:0x0300]: Reading attributes in chunks: ['color_mode', 'current_x', 'current_y', 'color_temperature', 'color_loop_active']
2022-08-06 20:52:15.683 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0300] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=83, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
2022-08-06 20:52:15.683 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0300] Sending request: Read_Attributes(attribute_ids=[8, 3, 4, 7, 16386])
2022-08-06 20:52:15.683 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 83 under 84 request id, data: b'00530008000300040007000240'
2022-08-06 20:52:15.683 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (28, 84, <DeconzSendDataFlags.NONE: 0>, <DeconzAddressEndpoint address_mode=2 address=0xB01B endpoint=11>, 260, 768, 1, b'\x00S\x00\x08\x00\x03\x00\x04\x00\x07\x00\x02@', <DeconzTransmitOptions.USE_NWK_KEY_SECURITY: 2>, 0)
2022-08-06 20:52:15.700 DEBUG (MainThread) [zigpy_deconz.api] APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 84]
2022-08-06 20:52:15.700 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_CONFIRM|2: 166>, 0]
2022-08-06 20:52:15.701 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_confirm (0,)
2022-08-06 20:52:15.704 DEBUG (MainThread) [zigpy_deconz.api] APS data confirm response for request with id 84: 00
2022-08-06 20:52:15.705 DEBUG (MainThread) [zigpy_deconz.api] Request id: 0x54 'aps_data_confirm' for <DeconzAddressEndpoint address_mode=ADDRESS_MODE.NWK address=0xb01b endpoint=11>, status: 0x00
2022-08-06 20:52:15.721 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-08-06 20:52:15.722 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-08-06 20:52:15.724 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [54, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xb01b>, 11, 260, 768, b'\x18S\x01\x08\x00\x000\x02\x03\x00\x00!\xd4\x86\x04\x00\x00!\xcei\x07\x00\x00!\xf4\x01\x02@\x00 \x00', 0, 175, 255, 201, 130, 143, 1, -55]
2022-08-06 20:52:15.725 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0300] Received ZCL frame: b'\x18S\x01\x08\x00\x000\x02\x03\x00\x00!\xd4\x86\x04\x00\x00!\xcei\x07\x00\x00!\xf4\x01\x02@\x00 \x00'
2022-08-06 20:52:15.726 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0300] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=83, command_id=1, *is_reply=True)
2022-08-06 20:52:15.727 DEBUG (MainThread) [zigpy.zcl] [0xB01B:11:0x0300] Decoded ZCL frame: Color:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0008, status=<Status.SUCCESS: 0>, value=TypeValue(type=enum8, value=<enum8.undefined_0x02: 2>)), ReadAttributeRecord(attrid=0x0003, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=34516)), ReadAttributeRecord(attrid=0x0004, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=27086)), ReadAttributeRecord(attrid=0x0007, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=500)), ReadAttributeRecord(attrid=0x4002, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint8_t, value=0))])
2022-08-06 20:52:15.729 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xb01b>, ep: 11, profile: 0x0104, cluster_id: 0x0300, data: b'185301080000300203000021d48604000021ce6907000021f4010240002000'
2022-08-06 20:52:16.836 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-08-06 20:52:16.837 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-08-06 20:52:16.840 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [63, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9377>, 2, 260, 1794, b'\x18\xb3\n\x00\x00%\xfbo\x00\x00\x00\x00\x00\x04*\xd6\x03\x00\x00\x02\x18\x00\x00\x01%\xff\xff\xff\xff\xff\xff\x02\x01%\xff\xff\xff\xff\xff\xff', 0, 175, 255, 201, 130, 143, 1, -28]
2022-08-06 20:52:16.841 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Received ZCL frame: b'\x18\xb3\n\x00\x00%\xfbo\x00\x00\x00\x00\x00\x04*\xd6\x03\x00\x00\x02\x18\x00\x00\x01%\xff\xff\xff\xff\xff\xff\x02\x01%\xff\xff\xff\xff\xff\xff'
2022-08-06 20:52:16.842 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=179, command_id=10, *is_reply=True)
2022-08-06 20:52:16.843 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Decoded ZCL frame: Metering:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint48_t, value=28667)), Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=982)), Attribute(attrid=0x0200, value=TypeValue(type=bitmap8, value=<bitmap8.0: 0>)), Attribute(attrid=0x0100, value=TypeValue(type=uint48_t, value=281474976710655)), Attribute(attrid=0x0102, value=TypeValue(type=uint48_t, value=281474976710655))])
2022-08-06 20:52:16.844 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Received command 0x0A (TSN 179): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint48_t, value=28667)), Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=982)), Attribute(attrid=0x0200, value=TypeValue(type=bitmap8, value=<bitmap8.0: 0>)), Attribute(attrid=0x0100, value=TypeValue(type=uint48_t, value=281474976710655)), Attribute(attrid=0x0102, value=TypeValue(type=uint48_t, value=281474976710655))])
2022-08-06 20:52:16.845 DEBUG (MainThread) [zigpy.zcl] [0x9377:2:0x0702] Attribute report received: current_summ_delivered=28667, instantaneous_demand=982, status=<bitmap8.0: 0>, current_tier1_summ_delivered=281474976710655, current_tier2_summ_delivered=281474976710655
2022-08-06 20:52:16.846 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.develco_zhemi101_smartenergysummation, old_state=<state sensor.develco_zhemi101_smartenergysummation=28.666; state_class=total_increasing, device_type=Electric Metering, status=NO_ALARMS, unit_of_measurement=kWh, device_class=energy, friendly_name=Develco ZHEMI101 Smartenergysummation @ 2022-08-06T20:52:11.867123+01:00>, new_state=<state sensor.develco_zhemi101_smartenergysummation=28.667; state_class=total_increasing, device_type=Electric Metering, status=NO_ALARMS, unit_of_measurement=kWh, device_class=energy, friendly_name=Develco ZHEMI101 Smartenergysummation @ 2022-08-06T20:52:16.846324+01:00>>
2022-08-06 20:52:16.848 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9377>, ep: 2, profile: 0x0104, cluster_id: 0x0702, data: b'18b30a000025fb6f0000000000042ad6030000021800000125ffffffffffff020125ffffffffffff'
2022-08-06 20:52:17.856 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-08-06 20:52:17.857 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-08-06 20:52:17.860 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2022-08-06 20:52:17.861 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [31, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 42>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x8d27>, 1, 260, 1024, b'\x18j\n\x00\x00!\x00\x00', 0, 175, 255, 201, 130, 143, 1, -43]
2022-08-06 20:52:17.862 DEBUG (MainThread) [zigpy.zcl] [0x8D27:1:0x0400] Received ZCL frame: b'\x18j\n\x00\x00!\x00\x00'
2022-08-06 20:52:17.862 DEBUG (MainThread) [zigpy.zcl] [0x8D27:1:0x0400] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=106, command_id=10, *is_reply=True)
2022-08-06 20:52:17.863 DEBUG (MainThread) [zigpy.zcl] [0x8D27:1:0x0400] Decoded ZCL frame: IlluminanceMeasurementCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=0))])
2022-08-06 20:52:17.864 DEBUG (MainThread) [zigpy.zcl] [0x8D27:1:0x0400] Received command 0x0A (TSN 106): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=0))])
2022-08-06 20:52:17.864 DEBUG (MainThread) [zigpy.zcl] [0x8D27:1:0x0400] Attribute report received: measured_value=0
2022-08-06 20:52:17.865 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x8d27>, ep: 1, profile: 0x0104, cluster_id: 0x0400, data: b'186a0a0000210000'
2022-08-06 20:52:17.866 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2022-08-06 20:52:17.867 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [30, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x8d27>, 1, 260, 1030, b'\x18k\n\x00\x00\x18\x01', 0, 175, 255, 201, 130, 143, 1, -43]
2022-08-06 20:52:17.867 DEBUG (MainThread) [zigpy.zcl] [0x8D27:1:0x0406] Received ZCL frame: b'\x18k\n\x00\x00\x18\x01'
2022-08-06 20:52:17.867 DEBUG (MainThread) [zigpy.zcl] [0x8D27:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=107, command_id=10, *is_reply=True)
2022-08-06 20:52:17.868 DEBUG (MainThread) [zigpy.zcl] [0x8D27:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=<bitmap8.1: 1>))])
2022-08-06 20:52:17.868 DEBUG (MainThread) [zigpy.zcl] [0x8D27:1:0x0406] Received command 0x0A (TSN 107): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=<bitmap8.1: 1>))])
2022-08-06 20:52:17.868 DEBUG (MainThread) [zigpy.zcl] [0x8D27:1:0x0406] Attribute report received: occupancy=<bitmap8.1: 1>
2022-08-06 20:52:17.868 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=binary_sensor.living_room_motion, old_state=<state binary_sensor.living_room_motion=off; device_class=motion, friendly_name=Living Room Motion @ 2022-08-06T20:51:35.072717+01:00>, new_state=<state binary_sensor.living_room_motion=on; device_class=motion, friendly_name=Living Room Motion @ 2022-08-06T20:52:17.868487+01:00>>
2022-08-06 20:52:17.868 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x8D27:1:0x0500]: Updated alarm state: 1
2022-08-06 20:52:17.868 DEBUG (MainThread) [zhaquirks] 00:15:8d:00:04:62:c9:54 - Received motion event message
2022-08-06 20:52:17.869 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x8d27>, ep: 1, profile: 0x0104, cluster_id: 0x0406, data: b'186b0a00001801'
@javicalle were these logs okay? Happy to pull others if needed.
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.