BobRak / OpenHAB-Smartthings

53 stars 54 forks source link

java.io.EOFException #117

Open edwolfe3 opened 1 year ago

edwolfe3 commented 1 year ago

Start as long as two months ago (just got around to looking at it). The smartthings bundle can no longer communicate with the smartthings hub. The log shows all devices are ONLINE, there are no devices with errors. However, the log shows the following for every communication to the hub (using Ed's Desk Lamp as an example):

11:36:57.834 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'GF_Office_EdsDeskLamp_Level' changed from 16 to 100 11:36:57.928 [WARN ] [ernal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: java.io.EOFException: HttpConnectionOverHTTP@1ae30b4::SocketChannelEndPoint@3cd669{l=/172.32.0.245:44846,r=/172.32.0.248:39500,ISHUT,fill=-,flush=-,to=81/0}{io=0/0,kio=0,kro=1}->HttpConnectionOverHTTP@1ae30b4(l:/172.32.0.245:44846 <-> r:/172.32.0.248:39500,closed=false)=>HttpChannelOverHTTP@1c364a3(exchange=HttpExchange@8192e9{req=HttpRequest[POST /update HTTP/1.1]@6e249d[TERMINATED/null] res=HttpResponse[null 0 null]@8920a7[PENDING/null]})[send=HttpSenderOverHTTP@89a2a9(req=QUEUED,snd=COMPLETED,failure=null)[HttpGenerator@f96a8b{s=START}],recv=HttpReceiverOverHTTP@16ce405(rsp=IDLE,failure=null)[HttpParser{s=CLOSED,0 of -1}]]

What can I look at/send/etc. to resolve this issue?

edwolfe3 commented 1 year ago

I have openhab 3.4.1 with

BobRak commented 1 year ago

Ed: I no longer have openHAB installed. My SmartThings hub failed and I just gave it up. My binding used the SmartThings Groovy interface and Samsung has been saying for a couple of year they would stop supporting that. A couple of years ago I looking into supporting their new interface but I couldn't figure out how to make it work and the support was almost non-existent then. Sorry.

edwolfe3 commented 1 year ago

Can I get the code that you were working for the new interface? I can see what I can do with it?

BobRak commented 1 year ago

Ed: My effort ended at trying to get the sample Java program running. It required at least a dozen libraries which I knew would never fly with OH. Plus it didn't work. After asking repeatedly why it didn't work I got some changes to the sample work. So, I don't have anything to offer. Hopefully things have gotten a lot better. Bob

edwolfe3 commented 1 year ago

@BobRak okay, thanks