BobRak / OpenHAB-Smartthings

53 stars 54 forks source link

Communication with TP-Link Kasa switch works only one-way #115

Closed pisabell2 closed 1 year ago

pisabell2 commented 1 year ago

I have been successfully using the Smartthings binding for quite some time. However, I am now experiencing difficuty in integrating a new TP-Link Kasa switch. I created a Kasa account and I linked my Smartthings instance to it. I easily added my new Kasa switch to my Kasa account, and then to my Smartthings app. Communication is working fine between the Kasa and the Smartthings app: on/off actions on one side are instantly mirrored on the other side. I made sure that my Kasa switch was available to OpenHabDevice within my Smartthings app. Then I went to incorporate the Kasa light to my OH3 instance using Smartthings/OpenHabDevice as as an intermediary. The switch failed to show up in my OH3 inbox, so I used the manual definition process. The associated thing then went online, and I linked a switch item to it.

As it turns out, that switch item is responding instantly to switch updates made from either the Kasa app or the Smartthings app. Unfortunately, updates initiated from the OH3 side appear are not mirrored by Smartthings or Kasa. In other words, OH3 fails to gain control of the switch.

Any idea what could cause that problem?

Thanks in advance!

pisabell2 commented 1 year ago

Oops: forget about this issue: it was due to an error of mine. Sorry!