ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.
Apache License 2.0
739
stars
675
forks
source link
[Device Support Request] IKEA inspelning power monitoring smart plug #3374
New IKEA inspelning power monitoring smart plug pairs fine and has all the entities in Hass. However power and voltage are reported divided by factor 10.
Solution description
An adjustment of the voltage and power (as a result energy calculation) via a quirk?
Problem description
New IKEA inspelning power monitoring smart plug pairs fine and has all the entities in Hass. However power and voltage are reported divided by factor 10.
Solution description
An adjustment of the voltage and power (as a result energy calculation) via a quirk?
Screenshots/Video
Screenshots/Video
![20240920_192819](https://github.com/user-attachments/assets/923c2b36-95d8-4bdc-9aed-e6c24469dad5) ![Screenshot_20240920_192229_Home Assistant](https://github.com/user-attachments/assets/749ce2f8-424e-4621-80cb-43a8a45f8578) ![Screenshot_20240920_192304_Home Assistant](https://github.com/user-attachments/assets/0affc7af-34e4-47e4-9059-18c788568c28)Device Signature
Device signature
``` { "node_descriptor": { "logical_type": 1, "complex_descriptor_available": 0, "user_descriptor_available": 0, "reserved": 0, "aps_flags": 0, "frequency_band": 8, "mac_capability_flags": 142, "manufacturer_code": 4476, "maximum_buffer_size": 82, "maximum_incoming_transfer_size": 82, "server_mask": 11264, "maximum_outgoing_transfer_size": 82, "descriptor_capability_field": 0 }, "endpoints": { "1": { "profile_id": "0x0104", "device_type": "0x010a", "input_clusters": [ "0x0000", "0x0003", "0x0004", "0x0005", "0x0006", "0x0008", "0x0702", "0x0b04", "0x1000", "0xfc7c", "0xfc85" ], "output_clusters": [ "0x0019" ] }, "242": { "profile_id": "0xa1e0", "device_type": "0x0061", "input_clusters": [ "0x0021" ], "output_clusters": [ "0x0021" ] } }, "manufacturer": "IKEA of Sweden", "model": "INSPELNING Smart plug", "class": "zigpy.device.Device" ```Diagnostic information
Diagnostic information
``` { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2024.9.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.12.4", "docker": true, "arch": "aarch64", "timezone": "Europe/Copenhagen", "os_name": "Linux", "os_version": "6.6.46-haos", "supervisor": "2024.09.1", "host_os": "Home Assistant OS 13.1", "docker_version": "26.1.4", "chassis": "embedded", "run_as_root": true }, "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", "zha", "universal_silabs_flasher" ], "requirements": [ "universal-silabs-flasher==0.0.22", "zha==0.0.33" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "10C4", "pid": "EA60", "description": "*slzb-07*", "known_devices": [ "smlight slzb-07" ] }, { "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*" }, { "type": "_xzg._tcp.local.", "name": "xzg*" }, { "type": "_czc._tcp.local.", "name": "czc*" } ], "is_built_in": true }, "setup_times": { "null": { "setup": 0.00011784600792452693 }, "c9eb75c7f6c827c4f46baa75ee4c0d68": { "wait_import_platforms": -0.03136135300155729, "config_entry_setup": 28.257591036963277 } }, "data": { "ieee": "**REDACTED**", "nwk": 13641, "manufacturer": "IKEA of Sweden", "model": "INSPELNING Smart plug", "name": "IKEA of Sweden INSPELNING Smart plug", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "quirk_id": null, "manufacturer_code": 4476, "power_source": "Mains", "lqi": 168, "rssi": -58, "last_seen": "2024-09-20T20:02:08", "available": true, "device_type": "Router", "signature": { "node_descriptor": { "logical_type": 1, "complex_descriptor_available": 0, "user_descriptor_available": 0, "reserved": 0, "aps_flags": 0, "frequency_band": 8, "mac_capability_flags": 142, "manufacturer_code": 4476, "maximum_buffer_size": 82, "maximum_incoming_transfer_size": 82, "server_mask": 11264, "maximum_outgoing_transfer_size": 82, "descriptor_capability_field": 0 }, "endpoints": { "1": { "profile_id": "0x0104", "device_type": "0x010a", "input_clusters": [ "0x0000", "0x0003", "0x0004", "0x0005", "0x0006", "0x0008", "0x0702", "0x0b04", "0x1000", "0xfc7c", "0xfc85" ], "output_clusters": [ "0x0019" ] }, "242": { "profile_id": "0xa1e0", "device_type": "0x0061", "input_clusters": [ "0x0021" ], "output_clusters": [ "0x0021" ] } }, "manufacturer": "IKEA of Sweden", "model": "INSPELNING Smart plug" }, "active_coordinator": false, "entities": [ { "entity_id": "button.ikea_of_sweden_inspelning_smart_plug_identify", "name": "IKEA of Sweden INSPELNING Smart plug" }, { "entity_id": "number.ikea_of_sweden_inspelning_smart_plug_on_off_transition_time", "name": "IKEA of Sweden INSPELNING Smart plug" }, { "entity_id": "number.ikea_of_sweden_inspelning_smart_plug_on_level", "name": "IKEA of Sweden INSPELNING Smart plug" }, { "entity_id": "number.ikea_of_sweden_inspelning_smart_plug_start_up_current_level", "name": "IKEA of Sweden INSPELNING Smart plug" }, { "entity_id": "select.ikea_of_sweden_inspelning_smart_plug_start_up_behavior", "name": "IKEA of Sweden INSPELNING Smart plug" }, { "entity_id": "sensor.ikea_of_sweden_inspelning_smart_plug_current", "name": "IKEA of Sweden INSPELNING Smart plug" }, { "entity_id": "sensor.ikea_of_sweden_inspelning_smart_plug_voltage", "name": "IKEA of Sweden INSPELNING Smart plug" }, { "entity_id": "sensor.ikea_of_sweden_inspelning_smart_plug_rssi", "name": "IKEA of Sweden INSPELNING Smart plug" }, { "entity_id": "sensor.ikea_of_sweden_inspelning_smart_plug_lqi", "name": "IKEA of Sweden INSPELNING Smart plug" }, { "entity_id": "sensor.ikea_of_sweden_inspelning_smart_plug_power", "name": "IKEA of Sweden INSPELNING Smart plug" }, { "entity_id": "sensor.ikea_of_sweden_inspelning_smart_plug_summation_delivered", "name": "IKEA of Sweden INSPELNING Smart plug" }, { "entity_id": "switch.ikea_of_sweden_inspelning_smart_plug_switch", "name": "IKEA of Sweden INSPELNING Smart plug" }, { "entity_id": "update.ikea_of_sweden_inspelning_smart_plug_firmware", "name": "IKEA of Sweden INSPELNING Smart plug" } ], "neighbors": [], "routes": [], "endpoint_names": [ { "name": "ON_OFF_PLUG_IN_UNIT" }, { "name": "PROXY_BASIC" } ], "user_given_name": null, "device_reg_id": "8256d7bb4e4c5266459baa20095e302a", "area_id": "summerhouse", "cluster_details": { "1": { "device_type": { "name": "ON_OFF_PLUG_IN_UNIT", "id": 266 }, "profile_id": 260, "in_clusters": { "0x0000": { "endpoint_attribute": "basic", "attributes": { "0x0013": { "attribute": "ZCLAttributeDef(id=0x0013, name='alarm_mask', type=