wildcs / oh3_compiled-addons

OpenHab3 Compile Addons by wildcs
14 stars 1 forks source link

Communication Error #13

Open HSoft99 opened 6 months ago

HSoft99 commented 6 months ago

Hello,

I add my P115 as a thing. When I set the IP-Adress and the protokol to KLAP the tingg is not online. There is a commuincation error. This is the part from the openhab-logfile: changed from UNKNOWN to OFFLINE (COMMUNICATION_ERROR): @text/no-error

The Access from my mobile with tapo app to P115 works.

Have you any idea what's the problem?

wildcs commented 6 months ago

SecurePassthrough is also not working? Please set log-level for binding to trace and post trace-log here

HSoft99 commented 6 months ago

I don't know wath you mean with SecurePassthrough. I can ping the device.

Tapo#1 Thing network:pingdevice:_TapoP115-Ping "_Tapo P115-Ping" [ hostname="192.168.177.99", macAddress="mac" ]

Bridge tapocontrol:bridge:secondBridgeExample "_Tapo Cloud-Login" [ username="mail", password="secret" ] { Thing P115 mySocket "_Tapo P115" [ ipAddress="192.168.177.99", pollingInterval=30, protocol="KLAP"] }

Trace-Output (openhab-binding-tapocontrol │ TRACE):

10:31:03.873 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model 'tapo.things' 10:31:03.889 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:_TapoP115-Ping' changed from UNINITIALIZED to INITIALIZING 10:31:03.907 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:_TapoP115-Ping' changed from INITIALIZING to ONLINE 10:31:03.912 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'tapocontrol:bridge:secondBridgeExample' changed from UNINITIALIZED to INITIALIZING 10:31:03.918 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'tapocontrol:bridge:secondBridgeExample' changed from INITIALIZING to UNKNOWN 10:31:03.923 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'tapocontrol:P115:secondBridgeExample:mySocket' changed from UNINITIALIZED to INITIALIZING 10:31:03.928 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'tapocontrol:P115:secondBridgeExample:mySocket' changed from INITIALIZING to UNKNOWN 10:31:05.071 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'tapocontrol:bridge:secondBridgeExample' changed from UNKNOWN to ONLINE 10:31:05.949 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'tapocontrol:P115:secondBridgeExample:mySocket' changed from UNKNOWN to OFFLINE (COMMUNICATION_ERROR): @text/no-error 10:31:05.990 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler TapoBridgeHandler tried updating the thing status although the handler was already disposed. 10:31:06.199 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler TapoBridgeHandler tried updating the thing status although the handler was already disposed.

Tapo#2 Tapo#3 Tapo#4 Tapo#1

wildcs commented 6 months ago

Give me mor informations please.

HSoft99 commented 6 months ago

Some additional information:

HSoft99 commented 6 months ago

Sorry, now the correct trace-file. One additional information. I use openhab with an docker-image (https://hub.docker.com/r/openhab/openhab/) Tapo_P115_Trace2.log

wildcs commented 6 months ago

Mhh KLAP is just right but handshake failes. Can you post screenshot of your device informations (Tapo-App) My P115 is still working fine

HSoft99 commented 6 months ago

Mhh KLAP is just right but handshake failes. Can you post screenshot of your device informations (Tapo-App) My P115 is still working fine

photo_5229140322766935726_y

wildcs commented 6 months ago

Mhh. Same version as mine. Mine is working fine. I uploaded a new snapshot for 4.2.0 with some fixes. Maybe this may help. version for 4.1.0 stable will follow next days. Happy new year

HSoft99 commented 6 months ago

I tried ths version org.openhab.binding.tapocontrol-4.2.0-SNAPSHOT.jar with the same result as before. It's crazy.

Thanks for your help. Happy new year

Do you need another trace?

kylelliott commented 4 months ago

seem to work only when you add the device manually rather than thought the cloud connector

HSoft99 commented 4 months ago

Hi Christian, great its work. Thank you