zha-device-handlers
zha-device-handlers copied to clipboard
[Device Support Request] TS0601 _TZE204_bkkmqmyo Hiking DDS238-2 energy meter (2023 edition)
Problem description
The device needs a quirk and just using the existing ts0601_din_power.py by ("_TZE204_bkkmqmyo", "TS0601") yields the following:
Controls
Schalter
Schalter
Sensors
Stromstärke Unavailable
Leistung 10 W
Leistungsfaktor 372%
Scheinleistung Unknown
Sofortiger Bedarf Unknown
Spannung Unknown
Summe eingespeist 0,0 kWh
Summe verbraucht 0,08 kWh
Wechselstromfrequenz 50,0 Hz
Compared to the _TZE200_ewxhg6o9 version it is returning a few more values but missing a few others (voltage, current) and the energy consumption must be wrong (as this is measuring power going to a central heating and surrounding plumbing and parts of it are able to measure their own power consumption which is considerably higher than the measurements). Surprisingly the frequency is reported and probably correct as it matches the data collected by my UPS.
Solution description
I would like to get the missing measurements, too and correct readings for its energy consumption.
Screenshots/Video
No response
Device signature
Device signature
{
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.FullFunctionDevice|MainsPowered|RxOnWhenIdle|AllocateAddress: 142>, manufacturer_code=4098, 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=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": "0x0104",
"device_type": "0x0051",
"input_clusters": [
"0x0000",
"0x0004",
"0x0005",
"0x0006",
"0x0702",
"0x0b04",
"0xef00"
],
"output_clusters": [
"0x000a",
"0x0019"
]
}
},
"manufacturer": "_TZE204_bkkmqmyo",
"model": "TS0601",
"class": "ts0601_din_power.TuyaPowerMeter"
}
Diagnostic information
Diagnostic information
[Paste the diagnostic information here]
Logs
Logs
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2024.6.3",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.12.2",
"docker": true,
"arch": "aarch64",
"timezone": "Europe/Berlin",
"os_name": "Linux",
"os_version": "6.6.31-haos-raspi",
"supervisor": "2024.06.0",
"host_os": "Home Assistant OS 12.4",
"docker_version": "26.1.4",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"hochwasserportal": {
"documentation": "https://github.com/stephan192/hochwasserportal",
"version": "1.0.0",
"requirements": [
"lhpapi==1.0.2"
]
},
"recycle_app": {
"documentation": "https://github.com/olibos/HomeAssistant-RecycleApp/",
"version": "2.5.0",
"requirements": []
},
"mold_risk_index": {
"documentation": "https://github.com/Strixx76/mold_risk_index",
"version": "1.1.0",
"requirements": []
},
"config_editor": {
"documentation": "https://github.com/junkfix/config-editor-card",
"version": "4.4",
"requirements": []
},
"zha_toolkit": {
"documentation": "https://github.com/mdeweerd/zha-toolkit",
"version": "v1.1.10",
"requirements": [
"pytz"
]
},
"eventsensor": {
"documentation": "https://github.com/azogue/eventsensor",
"version": "3.3.1",
"requirements": []
},
"solar_optimizer": {
"documentation": "https://github.com/jmcollin78/solar_optimizer",
"version": "3.0.0",
"requirements": []
},
"waste_collection_schedule": {
"documentation": "https://github.com/mampfes/hacs_waste_collection_schedule#readme",
"version": "1.49.0",
"requirements": [
"icalendar",
"recurring_ical_events",
"icalevents",
"beautifulsoup4",
"lxml"
]
},
"opnsense": {
"documentation": "https://github.com/travisghansen/hass-opnsense",
"version": "0.1.0",
"requirements": [
"mac-vendor-lookup>=0.1.11",
"python-dateutil"
]
},
"hacs": {
"documentation": "https://hacs.xyz/docs/configuration/start",
"version": "1.34.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"dwd_weather": {
"documentation": "https://github.com/FL550/dwd_weather",
"version": "v2.1.3",
"requirements": [
"simple_dwd_weatherforecast==2.0.31",
"markdownify==0.6.5",
"suntimes==1.1.2"
]
},
"rewe": {
"documentation": "https://github.com/faserf/ha-rewe#readme",
"version": "2024.03.0",
"requirements": [
"cloudscraper==1.2.71"
]
},
"ics": {
"documentation": "https://github.com/KoljaWindeler/ics/blob/master/README.md",
"version": "20240420.01",
"requirements": [
"recurring-ical-events",
"icalendar>=4.0.4",
"tzlocal",
"integrationhelper",
"voluptuous",
"python-dateutil>2.7.3"
]
},
"battery_notes": {
"documentation": "https://andrew-codechimp.github.io/HA-Battery-Notes/",
"version": "2.3.9",
"requirements": []
},
"dwains_dashboard": {
"documentation": "https://dwainscheeren.github.io/dwains-lovelace-dashboard/",
"version": "3.7.1",
"requirements": []
},
"google_fit": {
"documentation": "https://github.com/YorkshireIoT/ha-google-fit",
"version": "v4.0.1",
"requirements": [
"oauth2client==4.1.3",
"google-api-python-client==2.82.0"
]
},
"thermal_comfort": {
"documentation": "https://github.com/dolezsa/thermal_comfort/blob/master/README.md",
"version": "2.2.2",
"requirements": []
},
"alarmo": {
"documentation": "https://github.com/nielsfaber/alarmo",
"version": "v1.10.3",
"requirements": []
},
"fontawesome": {
"documentation": "https://github.com/thomasloven/hass-fontawesome",
"version": "2.2.1",
"requirements": []
}
},
"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.39.1",
"pyserial==3.5",
"zha-quirks==0.0.116",
"zigpy-deconz==0.23.1",
"zigpy==0.64.1",
"zigpy-xbee==0.20.1",
"zigpy-zigate==0.12.0",
"zigpy-znp==0.12.1",
"universal-silabs-flasher==0.0.20",
"pyserial-asyncio-fast==0.11"
],
"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*"
}
],
"is_built_in": true
},
"setup_times": {
"null": {
"setup": 0.000154702999680012
},
"7b84b1a33fd1c425caeceef6ea88d718": {
"wait_import_platforms": -0.0004764230002365366,
"wait_base_component": -0.0019687079998220725,
"config_entry_setup": 24.95023171799994
}
},
"data": {
"ieee": "**REDACTED**",
"nwk": 17454,
"manufacturer": "_TZE204_bkkmqmyo",
"model": "TS0601",
"name": "_TZE204_bkkmqmyo TS0601",
"quirk_applied": true,
"quirk_class": "ts0601_din_power.TuyaPowerMeter",
"quirk_id": null,
"manufacturer_code": 4098,
"power_source": "Mains",
"lqi": 140,
"rssi": -65,
"last_seen": "2024-06-21T03:26:18",
"available": true,
"device_type": "Router",
"signature": {
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.FullFunctionDevice|MainsPowered|RxOnWhenIdle|AllocateAddress: 142>, manufacturer_code=4098, 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=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": "0x0104",
"device_type": "0x0051",
"input_clusters": [
"0x0000",
"0x0004",
"0x0005",
"0x0006",
"0x0702",
"0x0b04",
"0xef00"
],
"output_clusters": [
"0x000a",
"0x0019"
]
}
},
"manufacturer": "_TZE204_bkkmqmyo",
"model": "TS0601"
},
"active_coordinator": false,
"entities": [
{
"entity_id": "sensor.stromzahler_heizung_scheinleistung",
"name": "_TZE204_bkkmqmyo TS0601"
},
{
"entity_id": "sensor.stromzahler_heizung_stromstarke",
"name": "_TZE204_bkkmqmyo TS0601"
},
{
"entity_id": "sensor.stromzahler_heizung_spannung",
"name": "_TZE204_bkkmqmyo TS0601"
},
{
"entity_id": "sensor.stromzahler_heizung_wechselstromfrequenz",
"name": "_TZE204_bkkmqmyo TS0601"
},
{
"entity_id": "sensor.stromzahler_heizung_leistungsfaktor",
"name": "_TZE204_bkkmqmyo TS0601"
},
{
"entity_id": "sensor.stromzahler_heizung_summe_eingespeist",
"name": "_TZE204_bkkmqmyo TS0601"
},
{
"entity_id": "sensor.stromzahler_heizung_leistung",
"name": "_TZE204_bkkmqmyo TS0601"
},
{
"entity_id": "sensor.stromzahler_heizung_sofortiger_bedarf",
"name": "_TZE204_bkkmqmyo TS0601"
},
{
"entity_id": "sensor.stromzahler_heizung_summe_verbraucht",
"name": "_TZE204_bkkmqmyo TS0601"
},
{
"entity_id": "switch.stromzahler_heizung_schalter_2",
"name": "_TZE204_bkkmqmyo TS0601"
},
{
"entity_id": "update.stromzahler_heizung_firmware",
"name": "_TZE204_bkkmqmyo TS0601"
}
],
"neighbors": [
{
"device_type": "Coordinator",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x0000",
"permit_joining": "Unknown",
"depth": "0",
"lqi": "129"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x095D",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "71"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x0D1A",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "128"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x11D5",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "96"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x1419",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "65"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x1EC0",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "90"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x2301",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "48"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x3738",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "91"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x3D91",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "65"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x5A82",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "73"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x62C0",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "78"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x6A61",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "124"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x79EC",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "102"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x7FFA",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "119"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x8656",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "54"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0x8A78",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "57"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Parent",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0xA759",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "148"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0xAC0D",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "34"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0xAF17",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "51"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0xB68F",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "69"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0xC6A4",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "207"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0xD012",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "146"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0xDCAD",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "92"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0xE64F",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "107"
},
{
"device_type": "Router",
"rx_on_when_idle": "On",
"relationship": "Sibling",
"extended_pan_id": "**REDACTED**",
"ieee": "**REDACTED**",
"nwk": "0xF39F",
"permit_joining": "Unknown",
"depth": "15",
"lqi": "37"
}
],
"routes": [
{
"dest_nwk": "0x0000",
"route_status": "Active",
"memory_constrained": false,
"many_to_one": false,
"route_record_required": false,
"next_hop": "0x0000"
},
{
"dest_nwk": "0x3738",
"route_status": "Active",
"memory_constrained": false,
"many_to_one": false,
"route_record_required": false,
"next_hop": "0x0D1A"
},
{
"dest_nwk": "0x2301",
"route_status": "Active",
"memory_constrained": false,
"many_to_one": false,
"route_record_required": false,
"next_hop": "0xC6A4"
},
{
"dest_nwk": "0xC6A4",
"route_status": "Active",
"memory_constrained": false,
"many_to_one": false,
"route_record_required": false,
"next_hop": "0xC6A4"
},
{
"dest_nwk": "0xA759",
"route_status": "Active",
"memory_constrained": false,
"many_to_one": false,
"route_record_required": false,
"next_hop": "0xA759"
},
{
"dest_nwk": "0x8A78",
"route_status": "Active",
"memory_constrained": false,
"many_to_one": false,
"route_record_required": false,
"next_hop": "0xE64F"
},
{
"dest_nwk": "0xD012",
"route_status": "Active",
"memory_constrained": false,
"many_to_one": false,
"route_record_required": false,
"next_hop": "0xD012"
},
{
"dest_nwk": "0x765D",
"route_status": "Active",
"memory_constrained": false,
"many_to_one": false,
"route_record_required": false,
"next_hop": "0x11D5"
}
],
"endpoint_names": [
{
"name": "SMART_PLUG"
}
],
"user_given_name": "Stromz\u00e4hler Heizung",
"device_reg_id": "764856d2cda8e13b2b63ee0f5fb4bdd8",
"area_id": "keller",
"cluster_details": {
"1": {
"device_type": {
"name": "SMART_PLUG",
"id": 81
},
"profile_id": 260,
"in_clusters": {
"0x0000": {
"endpoint_attribute": "basic",
"attributes": {
"0x0001": {
"attribute_name": "app_version",
"value": 70
},
"0x0004": {
"attribute_name": "manufacturer",
"value": "_TZE204_bkkmqmyo"
},
"0x0005": {
"attribute_name": "model",
"value": "TS0601"
}
},
"unsupported_attributes": {}
},
"0x0004": {
"endpoint_attribute": "groups",
"attributes": {
"0xfffd": {
"attribute_name": "cluster_revision",
"value": 2
},
"0x0000": {
"attribute_name": "name_support",
"value": 0
}
},
"unsupported_attributes": {
"0xfffe": {
"attribute_name": "reporting_status"
}
}
},
"0x0005": {
"endpoint_attribute": "scenes",
"attributes": {
"0xfffd": {
"attribute_name": "cluster_revision",
"value": 2
},
"0x0000": {
"attribute_name": "count",
"value": 0
},
"0x0001": {
"attribute_name": "current_scene",
"value": 0
}
},
"unsupported_attributes": {}
},
"0xef00": {
"endpoint_attribute": "tuya_manufacturer",
"attributes": {},
"unsupported_attributes": {}
},
"0x0b04": {
"endpoint_attribute": "electrical_measurement",
"attributes": {
"0x0603": {
"attribute_name": "ac_current_divisor",
"value": 1000
},
"0x0602": {
"attribute_name": "ac_current_multiplier",
"value": 1
},
"0x0300": {
"attribute_name": "ac_frequency",
"value": 4997
},
"0x0401": {
"attribute_name": "ac_frequency_divisor",
"value": 100
},
"0x0400": {
"attribute_name": "ac_frequency_multiplier",
"value": 1
},
"0x0601": {
"attribute_name": "ac_voltage_divisor",
"value": 10
},
"0x0600": {
"attribute_name": "ac_voltage_multiplier",
"value": 1
},
"0x050b": {
"attribute_name": "active_power",
"value": 10
},
"0x0510": {
"attribute_name": "power_factor",
"value": 372
},
"0x050e": {
"attribute_name": "reactive_power",
"value": 22
},
"0x0508": {
"attribute_name": "rms_current",
"value": {
"__type": "<class 'bytes'>",
"repr": "b'\\x00\\x05\\x00d\\x00\\x05\\x00\\x1e\\x00<\\x00\\x00\\x00\\x00\\x00\\x00\\x00'"
}
},
"0x0305": {
"attribute_name": "total_reactive_power",
"value": 50
}
},
"unsupported_attributes": {
"0x0000": {
"attribute_name": "measurement_type"
},
"0x0605": {
"attribute_name": "ac_power_divisor"
},
"0x0403": {
"attribute_name": "power_divisor"
},
"0x0604": {
"attribute_name": "ac_power_multiplier"
},
"0x0402": {
"attribute_name": "power_multiplier"
},
"0x0505": {
"attribute_name": "rms_voltage"
},
"0x0507": {
"attribute_name": "rms_voltage_max"
},
"0x050a": {
"attribute_name": "rms_current_max"
},
"0x0302": {
"attribute_name": "ac_frequency_max"
},
"0x050d": {
"attribute_name": "active_power_max"
},
"0x050f": {
"attribute_name": "apparent_power"
}
}
},
"0x0702": {
"endpoint_attribute": "smartenergy_metering",
"attributes": {
"0x0000": {
"attribute_name": "current_summ_delivered",
"value": 80
},
"0x0001": {
"attribute_name": "current_summ_received",
"value": 0
},
"0x0302": {
"attribute_name": "divisor",
"value": 1000
},
"0x0300": {
"attribute_name": "unit_of_measure",
"value": 0
}
},
"unsupported_attributes": {
"0x0400": {
"attribute_name": "instantaneous_demand"
},
"0x0301": {
"attribute_name": "multiplier"
},
"0x0100": {
"attribute_name": "current_tier1_summ_delivered"
},
"0x0303": {
"attribute_name": "summation_formatting"
},
"0x0304": {
"attribute_name": "demand_formatting"
},
"0x0102": {
"attribute_name": "current_tier2_summ_delivered"
},
"0x0306": {
"attribute_name": "metering_device_type"
},
"0x0104": {
"attribute_name": "current_tier3_summ_delivered"
},
"0x0106": {
"attribute_name": "current_tier4_summ_delivered"
},
"0x0108": {
"attribute_name": "current_tier5_summ_delivered"
},
"0x010a": {
"attribute_name": "current_tier6_summ_delivered"
},
"0x0200": {
"attribute_name": "status"
}
}
},
"0x0006": {
"endpoint_attribute": "on_off",
"attributes": {},
"unsupported_attributes": {
"0x0000": {
"attribute_name": "on_off"
},
"0x4003": {
"attribute_name": "start_up_on_off"
}
}
}
},
"out_clusters": {
"0x000a": {
"endpoint_attribute": "time",
"attributes": {},
"unsupported_attributes": {}
},
"0x0019": {
"endpoint_attribute": "ota",
"attributes": {
"0x0002": {
"attribute_name": "current_file_version",
"value": 70
}
},
"unsupported_attributes": {
"0x0002": {
"attribute_name": "current_file_version"
}
}
}
}
}
}
}
}
Custom quirk
Custom quirk
I just added the manufacturer to the existing quirk for the older DDS238-2 which was (obviously) not enough.
Additional information
No response