-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Lixee Zlinky_TIC v14 #3365
Comments
I believe the core issue is Zlinky_TIC signature does not match the quirks anymore.
The result is the divider number is not applied anymore After modifying the quirk:
I have a rough patch: diff --git a/zhaquirks/lixee/zlinky.py b/zhaquirks/lixee/zlinky.py
index 3891fe0..57c7a0d 100644
--- a/zhaquirks/lixee/zlinky.py
+++ b/zhaquirks/lixee/zlinky.py
@@ -11,6 +11,7 @@ from zigpy.zcl.clusters.general import (
Identify,
Ota,
PowerConfiguration,
+ Time,
)
from zigpy.zcl.clusters.homeautomation import ElectricalMeasurement, MeterIdentification
from zigpy.zcl.clusters.smartenergy import Metering
@@ -157,13 +158,16 @@ class ZLinkyTIC(CustomDevice):
DEVICE_TYPE: zha.DeviceType.METER_INTERFACE,
INPUT_CLUSTERS: [
Basic.cluster_id,
+ PowerConfiguration.cluster_id,
Identify.cluster_id,
+ Time.cluster_id,
Metering.cluster_id,
MeterIdentification.cluster_id,
ElectricalMeasurement.cluster_id,
+ 0xef00,
ZLinkyTICManufacturerCluster.cluster_id,
],
- OUTPUT_CLUSTERS: [Ota.cluster_id],
+ OUTPUT_CLUSTERS: [Ota.cluster_id, 0xef00],
},
242: {
PROFILE_ID: zgp.PROFILE_ID,
@@ -182,6 +186,7 @@ class ZLinkyTIC(CustomDevice):
Basic.cluster_id,
PowerConfiguration.cluster_id,
Identify.cluster_id,
+ Time.cluster_id,
ZLinkyTICMetering,
MeterIdentification.cluster_id,
ElectricalMeasurement.cluster_id,
I will clean this up and make a PR shortly. I also noticed it's not a quirk V2. I might update that later. |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
Hello, since firmware upgrade from v13 to v14 and a "quirk" in Home Assistant (ZHA integration) I reappaired (and try with reset too) my Linxee and since my counters are all false.
Instead of retrieving kWh they retrieve I think Wh, but display kWh.
Example: 1 605 825,0 kWh instead of 1605 kWh
Linky in historical mode.
This made my energy panel all wrong...
Thank you for your help
Steps to reproduce
Go to the Lixee zigby device (manage device) check the value of the counter metering => current_tier1_summ_delivered (id: 0x0100) value for exemple 1610442 (Wh) but in the sensor panel the values are displayed as kWh and not divide by 1000
Expected behavior
Value in kWh ou Wh, but note Wh value displayed as kWh.
I have created a sensor template to divide values by 1000
Screenshots/Video
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": 4151,
"maximum_buffer_size": 127,
"maximum_incoming_transfer_size": 200,
"server_mask": 11264,
"maximum_outgoing_transfer_size": 200,
"descriptor_capability_field": 0
},
"endpoints": {
"1": {
"profile_id": "0x0104",
"device_type": "0x0053",
"input_clusters": [
"0x0000",
"0x0001",
"0x0003",
"0x000a",
"0x0702",
"0x0b01",
"0x0b04",
"0xef00",
"0xff66"
],
"output_clusters": [
"0x0019",
"0xef00"
]
},
"242": {
"profile_id": "0xa1e0",
"device_type": "0x0061",
"input_clusters": [
"0x0021"
],
"output_clusters": [
"0x0021"
]
}
},
"manufacturer": "LiXee",
"model": "ZLinky_TIC",
"class": "zigpy.device.Device"
}
Diagnostic information
Diagnostic information
[Paste the diagnostic information here]
Logs
Logs
Additional information
No response
The text was updated successfully, but these errors were encountered: