question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Device Support Request] TS0601 Thermostat

See original GitHub issue

Is your feature request related to a problem? Please describe. I would like to use this thermostat with HASS via ZHA. When added via ZHA the device is added but no entities are created.

This is the thermostat I ordered: https://www.aliexpress.com/item/1005002960679997.html?

Describe the solution you’d like

Ideally all functions would be available, including creating/modifying the timers, however this can be done via HASS easily enough so at a minimum being able to turn on/off the heating and read the temperature value would allow for basic functionality.

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.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 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": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0xef00"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZE200_ye5jkfsb",
  "model": "TS0601",
  "class": "zigpy.device.Device"
}

Logs after adding new:

[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>]
[0xd5a2:2:0x0702] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=29 command_id=Command.Report_Attributes>
[0xd5a2:2:0x0702] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint48_t, value=377730>), Attribute(attrid=1024, value=<TypeValue type=int24s, value=459>), Attribute(attrid=512, value=<TypeValue type=bitmap8, value=bitmap8.0>), Attribute(attrid=256, value=<TypeValue type=uint48_t, value=281474976710655>), Attribute(attrid=258, value=<TypeValue type=uint48_t, value=281474976710655>)]]
[0xd5a2:2:0x0702] Attribute report received: current_summ_delivered=377730, instantaneous_demand=459, status=0, current_tier1_summ_delivered=281474976710655, current_tier2_summ_delivered=281474976710655
New device 0x152c (b4:e3:f9:ff:fe:7c:92:3a) joined the network
[0x152c] Scheduling initialization
Tries remaining: 3
[0x152c] Requesting 'Node Descriptor'
Tries remaining: 2
[0x152c] Extending timeout for 0xae request
Device 0x152c (b4:e3:f9:ff:fe:7c:92:3a) joined the network
[0x152c] Scheduling initialization
[0x152c] Canceling old initialize call
Device 0x152c (b4:e3:f9:ff:fe:7c:92:3a) joined the network
[0x152c] Scheduling initialization
[0x152c] Canceling old initialize call
Received frame on uninitialized device <Device model=None manuf=None nwk=0x152C ieee=b4:e3:f9:ff:fe:7c:92:3a is_initialized=False> from ep 0 to ep 0, cluster 19: b'\x81,\x15:\x92|\xfe\xff\xf9\xe3\xb4\x8e'
[0x152c:zdo] ZDO request ZDOCmd.Device_annce: [0x152C, b4:e3:f9:ff:fe:7c:92:3a, 142]
Tries remaining: 3
[0x152c] Requesting 'Node Descriptor'
Tries remaining: 2
[0x152c] Extending timeout for 0xb0 request
Received frame on uninitialized device <Device model=None manuf=None nwk=0x152C ieee=b4:e3:f9:ff:fe:7c:92:3a is_initialized=False> from ep 0 to ep 0, cluster 32770: b'\xb0\x00,\x15\x01@\x8e\x02\x10RR\x00\x00,R\x00\x00'
[0x152c] Got 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.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 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)
[0x152c] Discovering endpoints
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x152C ieee=b4:e3:f9:ff:fe:7c:92:3a is_initialized=False> from ep 0 to ep 0, cluster 32773: b'\xb2\x00,\x15\x01\x01'
[0x152c] Discovered endpoints: [1]
[0x152c] Initializing endpoints [<Endpoint id=1 in=[] out=[] status=<Status.NEW: 0>>]
[0x152c:1] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x152C ieee=b4:e3:f9:ff:fe:7c:92:3a is_initialized=False> from ep 0 to ep 0, cluster 32772: b'\xb4\x00,\x15\x14\x01\x04\x01Q\x00\x01\x04\x00\x00\x04\x00\x05\x00\x00\xef\x02\x19\x00\n\x00'
[0x152c:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=81, device_version=1, input_clusters=[0, 4, 5, 61184], output_clusters=[25, 10])
Unknown cluster 61184
[0x152c:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=182 command_id=Command.Read_Attributes_rsp>
[0x152c] Read model 'TS0601' and manufacturer '_TZE200_ye5jkfsb' from <Endpoint id=1 in=[basic:0x0000, groups:0x0004, scenes:0x0005, None:0xEF00] out=[ota:0x0019, time:0x000A] status=<Status.ZDO_INIT: 1>>
[0x152c] Discovered basic device information for <Device model='TS0601' manuf='_TZE200_ye5jkfsb' nwk=0x152C ieee=b4:e3:f9:ff:fe:7c:92:3a is_initialized=True>
Device is initialized <Device model='TS0601' manuf='_TZE200_ye5jkfsb' nwk=0x152C ieee=b4:e3:f9:ff:fe:7c:92:3a is_initialized=True>
Checking quirks for _TZE200_ye5jkfsb TS0601 (b4:e3:f9:ff:fe:7c:92:3a)
Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
Fail because endpoint list mismatch: {232, 230} {1}
Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
Fail because endpoint list mismatch: {232, 230} {1}
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because device_type mismatch on at least one endpoint
Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
Fail because device_type mismatch on at least one endpoint
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because device_type mismatch on at least one endpoint
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: {11, 13} {1}
Considering <class 'bellows.zigbee.application.EZSPCoordinator'>
Fail because device_type mismatch on at least one endpoint
device - 0x152C:b4:e3:f9:ff:fe:7c:92:3a entering async_device_initialized - is_new_join: True
device - 0x152C:b4:e3:f9:ff:fe:7c:92:3a has joined the ZHA zigbee network
[0x152C](TS0601): started configuration
[0x152C:ZDO](TS0601): 'async_configure' stage succeeded
[0x152C:1:0x0000]: finished channel configuration
[0x152C:1:0x0019]: finished channel configuration
Error handling '_save_attribute' event with (b4:e3:f9:ff:fe:7c:92:3a, 1, 0, 4, '_TZE200_ye5jkfsb') params: FOREIGN KEY constraint failed
[0x152C:1:0x0000]: 'async_configure' stage succeeded
[0x152C:1:0x0019]: 'async_configure' stage succeeded
Error handling '_save_attribute' event with (b4:e3:f9:ff:fe:7c:92:3a, 1, 0, 5, 'TS0601') params: FOREIGN KEY constraint failed
[0x152C](TS0601): completed configuration
[0x152C](TS0601): stored in registry: ZhaDeviceEntry(name='_TZE200_ye5jkfsb TS0601', ieee='b4:e3:f9:ff:fe:7c:92:3a', last_seen=1635422629.705962)
[0x152C](TS0601): started initialization
[0x152C:ZDO](TS0601): 'async_initialize' stage succeeded
[0x152C:1:0x0000]: initializing channel: from_cache: False
[0x152C:1:0x0000]: finished channel configuration
[0x152C:1:0x0019]: initializing channel: from_cache: False
[0x152C:1:0x0019]: finished channel configuration
[0x152C:1:0x0000]: 'async_initialize' stage succeeded
[0x152C:1:0x0019]: 'async_initialize' stage succeeded
[0x152C](TS0601): power source: Mains
[0x152C](TS0601): completed initialization
[0x152c:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x152c:zdo] Unsupported ZDO request:ZDOCmd.Node_Desc_req
[0xd5a2:2:0x0702] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=30 command_id=Command.Report_Attributes>
[0xd5a2:2:0x0702] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint48_t, value=377731>), Attribute(attrid=1024, value=<TypeValue type=int24s, value=461>), Attribute(attrid=512, value=<TypeValue type=bitmap8, value=bitmap8.0>), Attribute(attrid=256, value=<TypeValue type=uint48_t, value=281474976710655>), Attribute(attrid=258, value=<TypeValue type=uint48_t, value=281474976710655>)]]
[0xd5a2:2:0x0702] Attribute report received: current_summ_delivered=377731, instantaneous_demand=461, status=0, current_tier1_summ_delivered=281474976710655, current_tier2_summ_delivered=281474976710655
[0x152c:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=37 command_id=Command.Read_Attributes>
[0x152c:1:0x000a] ZCL request 0x0000: [[7]]
[0x152c:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=38 command_id=36>
[0x152c:1:0xef00] Unknown cluster-specific command 36
[0x152c:1:0xef00] ZCL request 0x0024: b'\x00\x16'
[0x152c:1:0xef00] No handler for cluster command 36
[0x152c:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=39 command_id=Command.Report_Attributes>
[0x152c:1:0x0000] ZCL request 0x000a: [[Attribute(attrid=1, value=<TypeValue type=uint8_t, value=72>), Attribute(attrid=65506, value=<TypeValue type=uint8_t, value=31>), Attribute(attrid=65508, value=<TypeValue type=uint8_t, value=0>)]]
[0x152c:1:0x0000] Attribute report received: app_version=72, 65506=31, 65508=0
[0x152c:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=40 command_id=Command.Report_Attributes>
[0x152c:1:0x0000] ZCL request 0x000a: [[Attribute(attrid=65503, value=<TypeValue type=CharacterString, value=\
)&\
)'\
)>)]]
[0x152c:1:0x0000] Attribute report received: 65503=\
)&\
)'\
)
[0xd5a2:2:0x0702] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=31 command_id=Command.Report_Attributes>
[0xd5a2:2:0x0702] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint48_t, value=377732>), Attribute(attrid=1024, value=<TypeValue type=int24s, value=461>), Attribute(attrid=512, value=<TypeValue type=bitmap8, value=bitmap8.0>), Attribute(attrid=256, value=<TypeValue type=uint48_t, value=281474976710655>), Attribute(attrid=258, value=<TypeValue type=uint48_t, value=281474976710655>)]]
[0xd5a2:2:0x0702] Attribute report received: current_summ_delivered=377732, instantaneous_demand=461, status=0, current_tier1_summ_delivered=281474976710655, current_tier2_summ_delivered=281474976710655
[0x3bf0:1:0x0405] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=182 command_id=Command.Report_Attributes>
[0x3bf0:1:0x0405] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint16_t, value=6989>)]]
[0x3bf0:1:0x0405] Attribute report received: measured_value=6989
[0x5676:1:0x0405] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=159 command_id=Command.Report_Attributes>
[0x5676:1:0x0405] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint16_t, value=3644>)]]
[0x5676:1:0x0405] Attribute report received: measured_value=3644
[0xd5a2:2:0x0702] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=32 command_id=Command.Report_Attributes>
[0xd5a2:2:0x0702] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint48_t, value=377733>), Attribute(attrid=1024, value=<TypeValue type=int24s, value=459>), Attribute(attrid=512, value=<TypeValue type=bitmap8, value=bitmap8.0>), Attribute(attrid=256, value=<TypeValue type=uint48_t, value=281474976710655>), Attribute(attrid=258, value=<TypeValue type=uint48_t, value=281474976710655>)]]
[0xd5a2:2:0x0702] Attribute report received: current_summ_delivered=377733, instantaneous_demand=459, status=0, current_tier1_summ_delivered=281474976710655, current_tier2_summ_delivered=281474976710655
[0xd5a2:2:0x0702] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=33 command_id=Command.Report_Attributes>
[0xd5a2:2:0x0702] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint48_t, value=377734>), Attribute(attrid=1024, value=<TypeValue type=int24s, value=458>), Attribute(attrid=512, value=<TypeValue type=bitmap8, value=bitmap8.0>), Attribute(attrid=256, value=<TypeValue type=uint48_t, value=281474976710655>), Attribute(attrid=258, value=<TypeValue type=uint48_t, value=281474976710655>)]]
[0xd5a2:2:0x0702] Attribute report received: current_summ_delivered=377734, instantaneous_demand=458, status=0, current_tier1_summ_delivered=281474976710655, current_tier2_summ_delivered=281474976710655
[0x152c:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=41 command_id=17>
[0x152c:1:0xef00] Unknown cluster-specific command 17
[0x152c:1:0xef00] ZCL request 0x0011: b'\x00\x17\x80'
[0x152c:1:0xef00] No handler for cluster command 17
[0x152c:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=41 command_id=17>
[0x152c:1:0xef00] Unknown cluster-specific command 17
[0x152c:1:0xef00] ZCL request 0x0011: b'\x00\x17\x80'
[0x152c:1:0xef00] No handler for cluster command 17
[0x152c:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=41 command_id=17>
[0x152c:1:0xef00] Unknown cluster-specific command 17
[0x152c:1:0xef00] ZCL request 0x0011: b'\x00\x17\x80'
[0x152c:1:0xef00] No handler for cluster command 17
[0x152c:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=41 command_id=17>
[0x152c:1:0xef00] Unknown cluster-specific command 17
[0x152c:1:0xef00] ZCL request 0x0011: b'\x00\x17\x80'
[0x152c:1:0xef00] No handler for cluster command 17
[0x152c:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=41 command_id=17>
[0x152c:1:0xef00] Unknown cluster-specific command 17
[0x152c:1:0xef00] ZCL request 0x0011: b'\x00\x17\x80'
[0x152c:1:0xef00] No handler for cluster command 17
[0x152c:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=42 command_id=36>
[0x152c:1:0xef00] Unknown cluster-specific command 36
[0x152c:1:0xef00] ZCL request 0x0024: b'\x00\x00'
[0x152c:1:0xef00] No handler for cluster command 36
[0xd5a2:2:0x0702] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=34 command_id=Command.Report_Attributes>
[0xd5a2:2:0x0702] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint48_t, value=377735>), Attribute(attrid=1024, value=<TypeValue type=int24s, value=456>), Attribute(attrid=512, value=<TypeValue type=bitmap8, value=bitmap8.0>), Attribute(attrid=256, value=<TypeValue type=uint48_t, value=281474976710655>), Attribute(attrid=258, value=<TypeValue type=uint48_t, value=281474976710655>)]]
[0xd5a2:2:0x0702] Attribute report received: current_summ_delivered=377735, instantaneous_demand=456, status=0, current_tier1_summ_delivered=281474976710655, current_tier2_summ_delivered=281474976710655
[0xd5a2:2:0x0702] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=35 command_id=Command.Report_Attributes>
[0xd5a2:2:0x0702] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint48_t, value=377736>), Attribute(attrid=1024, value=<TypeValue type=int24s, value=456>), Attribute(attrid=512, value=<TypeValue type=bitmap8, value=bitmap8.0>), Attribute(attrid=256, value=<TypeValue type=uint48_t, value=281474976710655>), Attribute(attrid=258, value=<TypeValue type=uint48_t, value=281474976710655>)]]
[0xd5a2:2:0x0702] Attribute report received: current_summ_delivered=377736, instantaneous_demand=456, status=0, current_tier1_summ_delivered=281474976710655, current_tier2_summ_delivered=281474976710655
[0x5676:1:0x0402] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=160 command_id=Command.Report_Attributes>
[0x5676:1:0x0402] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=int16s, value=1320>)]]
[0x5676:1:0x0402] Attribute report received: measured_value=1320
[0xd5a2:2:0x0702] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=36 command_id=Command.Report_Attributes>
[0xd5a2:2:0x0702] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint48_t, value=377737>), Attribute(attrid=1024, value=<TypeValue type=int24s, value=455>), Attribute(attrid=512, value=<TypeValue type=bitmap8, value=bitmap8.0>), Attribute(attrid=256, value=<TypeValue type=uint48_t, value=281474976710655>), Attribute(attrid=258, value=<TypeValue type=uint48_t, value=281474976710655>)]]
[0xd5a2:2:0x0702] Attribute report received: current_summ_delivered=377737, instantaneous_demand=455, status=0, current_tier1_summ_delivered=281474976710655, current_tier2_summ_delivered=281474976710655
[0xb87c:1:0x0405] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=102 command_id=Command.Report_Attributes>
[0xb87c:1:0x0405] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint16_t, value=6995>)]]
[0xb87c:1:0x0405] Attribute report received: measured_value=6995
[0xd5a2:2:0x0702] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=37 command_id=Command.Report_Attributes>
[0xd5a2:2:0x0702] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint48_t, value=377738>), Attribute(attrid=1024, value=<TypeValue type=int24s, value=456>), Attribute(attrid=512, value=<TypeValue type=bitmap8, value=bitmap8.0>), Attribute(attrid=256, value=<TypeValue type=uint48_t, value=281474976710655>), Attribute(attrid=258, value=<TypeValue type=uint48_t, value=281474976710655>)]]
[0xd5a2:2:0x0702] Attribute report received: current_summ_delivered=377738, instantaneous_demand=456, status=0, current_tier1_summ_delivered=281474976710655, current_tier2_summ_delivered=281474976710655
[0xd5a2:2:0x0702] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=38 command_id=Command.Report_Attributes>
[0xd5a2:2:0x0702] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint48_t, value=377739>), Attribute(attrid=1024, value=<TypeValue type=int24s, value=457>), Attribute(attrid=512, value=<TypeValue type=bitmap8, value=bitmap8.0>), Attribute(attrid=256, value=<TypeValue type=uint48_t, value=281474976710655>), Attribute(attrid=258, value=<TypeValue type=uint48_t, value=281474976710655>)]]
[0xd5a2:2:0x0702] Attribute report received: current_summ_delivered=377739, instantaneous_demand=457, status=0, current_tier1_summ_delivered=281474976710655, current_tier2_summ_delivered=281474976710655
[0x98d4:1:0x0405] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=38 command_id=Command.Report_Attributes>
[0x98d4:1:0x0405] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint16_t, value=9282>)]]
[0x98d4:1:0x0405] Attribute report received: measured_value=9282

Additional context N/A

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:75 (39 by maintainers)

github_iconTop GitHub Comments

4reactions
jacekk015commented, Dec 9, 2021

Logs turning the Thermostat off using card: (and it going back to not off in lovelace).

My fault, who else could it be 😉 Logs say: Turning off: Received value [0] for attribute 0x0101 Device changes Preset to Manual: Received value [0] for attribute 0x0402 I’m sending command to change Preset… and unfortunately also to Heat:

[homeassistant.components.zha.core.channels.base] [0xCB39:1:0x0201]: Attribute report 'AvattoThermostat'[system_mode] = SystemMode.Heat

That was a one of the change, when we didn’t know why it doesn’t want to ON on the beginning. Lovelace card was always Off.

Logs pressing flame after turning off:

That looks OK

Logs turning the screen off from the device:

Probably same wrong behavior like turning Off from the card. Rest looks same. One line of code makes a big mess. With every OFF/ON command HA sent unnecessary Heat command, which is ON in the Device mean.

Corrected - should be better. ts0601_thermostat_avatto.py.zip

3reactions
dmulcaheycommented, Dec 15, 2021

I think this was an issue in ZHA itself and it should be fixed in the next release

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Device Support Request] Improving "TS0601 ... - GitHub
The min and max setpoint you is setting and reading on the thermostat cluster (0x0201) with attribute 0x0015 and 0x0016. For see what...
Read more >
Moes BRT-100 TRV does not respond to temperature change ...
[Device Support Request] Improving "TS0601" "_TZE200_b6wax7g0" TRV thermostatic radiator valve. opened 11:51AM - 03 Nov 21 UTC.
Read more >
Support new TuYa devices - Zigbee2MQTT
Adding your device. Adding support for TuYa devices is a bit different. In order to provide support for E.G. the TS0601 model ID...
Read more >
Moes Zigbee Smart Valve TS0601 in Home Assistant - YouTube
Very simple and easy to install and use device that will allow you to ... BeardedTinker If you would like to support me...
Read more >
Zigbee - Tasmota
A complete list of Zigbee coordinators and Zigbee devices compatible with Z2T is in the Zigbee Device Compatibility Repository. Advanced topic: ZNP or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found