This page last changed on Jan 18, 2016 by frush120.

Hi,
Im just setting up openremote for the first time and tried to send a command to samsung tv. I get this message

ERROR HTTP\-Thread\-1: Error executing command '/114/click' : Unable to create SamsungTVCommand keyCode: KEY_CHUP
org.openremote.controller.exception.NoSuchCommandException: Unable to create SamsungTVCommand keyCode: KEY_CHUP
at org.openremote.controller.protocol.samsungtv.SamsungTVRemoteCommandBuilder.build(SamsungTVRemoteCommandBuilder.java:105)
at org.openremote.controller.command.CommandFactory.getCommand(CommandFactory.java:164)
at org.openremote.controller.component.control.button.ButtonBuilder.build(ButtonBuilder.java:82)
at org.openremote.controller.component.ComponentFactory.getComponent(ComponentFactory.java:56)
at org.openremote.controller.service.impl.ControlCommandServiceImpl.getControl(ControlCommandServiceImpl.java:155)
at org.openremote.controller.service.impl.ControlCommandServiceImpl.trigger(ControlCommandServiceImpl.java:79)
at org.openremote.controller.rest.ControlCommandRESTServlet.handleRequest(ControlCommandRESTServlet.java:77)
at org.openremote.controller.rest.RESTAPI.doPost(RESTAPI.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.openremote.controller.rest.support.json.JSONCallbackFilter.doFilter(JSONCallbackFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:354)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)
Caused by: java.lang.RuntimeException: Could not create Samsung TV session : 10.0.0.73:55000
at org.openremote.controller.protocol.samsungtv.SamsungTVSession.<init>(SamsungTVSession.java:81)
at org.openremote.controller.protocol.samsungtv.SamsungTVRemoteCommandBuilder.getSession(SamsungTVRemoteCommandBuilder.java:112)
at org.openremote.controller.protocol.samsungtv.SamsungTVRemoteCommandBuilder.build(SamsungTVRemoteCommandBuilder.java:102)
... 30 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:382)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:241)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:228)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:431)
at java.net.Socket.connect(Socket.java:527)
at org.openremote.controller.protocol.samsungtv.SamsungTVSession.initialize(SamsungTVSession.java:96)
at org.openremote.controller.protocol.samsungtv.SamsungTVSession.<init>(SamsungTVSession.java:79)
... 32 more

Would appreciate some assistance. I have been trying to sort this out for weeks.
Thanks ,

Hello

Have you looked at other posts regarding the Samsung protocol configuration?

I'm sure I've seen an answer to a similar question.

http://www.openremote.org/dosearchsite.action?key=conf_global&searchQuery.queryString=Samsung+TV+&searchQuery.spaceKey=conf_global

Good luck,

Stuart

Posted by mdar at Jan 18, 2016 16:00

Thanks Stuart for the link,
Still can not find an answer though, I'll keep trailing through the results. If anyone else may have an insight would appreciate the support.
Thanks.

Posted by frush120 at Jan 19, 2016 09:31
Document generated by Confluence on Jun 05, 2016 09:33