zha-device-handlers: ZHA Blitzwolf SHP 15 energy monitor outlet, on/off switch wont register in Home Assistant

Hello,

Purchaised two Blitzwolf SHP 15, all seems to be ok. But if I turn the device on/off (on the device itself) Home Assistant wont register it. Other way around, switching in Home assistant, does turn the device on/off.

The Blitzwolf SHP 15 shows up as: model": “TS011F device_type”: "0x010a

“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”: “0x010a”,
“in_clusters”: [
“0x0000”,
“0x0003”,
“0x0004”,
“0x0005”,
“0x0006”,
“0x0702”,
“0x0b04”,
“0xe000”,
“0xe001”
],
“out_clusters”: [
“0x000a”,
“0x0019”
]
}
},
“manufacturer”: “_TZ3000_u5u4cakc”,
“model”: “TS011F”,
“class”: “zhaquirks.tuya.ts011f_plug.Plug”
}

all my other devices Blitzwolf SHP 13 are working correct and show up as model: TS0121

Can somebody verify my findings? (and a possible solution) thanks in advance. Regards Frank

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15

Most upvoted comments

I have reviewed a few of the Z2M issues about the that device and everything points me to an EnchantedDevice issue.

Have you tried to repair the device? I would try a couple of times.

Hello Javicalle, “Try a couple of times” was the right advice… 3 times I had to remove and re-pair my “test” device. finally it worked, my second Blitzwolf AHP 15 was no problem on first try remove/re-pair did the trick, All is in working order now.

oh, indeed you have to edit the file ts011f_plug.py and change the class

Thanks a million… Regards Frank

I just checked again. You have right, it was an automation that turn the switch on again. I’m sorry. As for the device fault, is there any solution to fix this issue;

Στις Τετ, 12 Οκτ 2022, 22:37 ο χρήστης javicalle @.***> έγραψε:

If for example the plug has state “on” on home assistant and switch it off from plug physical button, the switch state on home assistant doesn’t change even if the switch is physically turned off.

That’s the know behavior already reported and seems to be the device faulty.

The result of this situation is that after a while the switch turn on by itself.

That part don’t make sense to me. I don’t know any mechanism that would turn on the plug just because have an on state in HA. Are you sure that don’t have any automation or that the plug is not used in any other integration like a thermostat or similar? If you can’t find a reason for the behavior, can you enable the debug logs and attach the relevant part?

— Reply to this email directly, view it on GitHub https://github.com/zigpy/zha-device-handlers/issues/1787#issuecomment-1276649277, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXU256RDPP4SSO5O6JO4DKDWC4HOZANCNFSM6AAAAAAQVHCZC4 . You are receiving this because you were mentioned.Message ID: @.***>

the device Nwk = 0x72b3

I created two files, the upper debugged the action on -> off 3 times from HA point of view the latter from the device it self.

home-assistant - switched from HA.log

home-assistant - switched from device.log

and again thank you for looking into this…