-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[Epsonprojector] TCP/IP connection handshake needed #5604
Comments
@tbraune42, binding doesn't currently support Epson TCP/IP protocol, but serial protocol directly or via TCP/IP link. So current TCP/IP support just make possible to use serial port / TCP converters. |
but if you just add my suggestions it should directly work. because the whole tcpip routines are already implemented. there is no difference between ESC/VP and ESC/VP.net and the ip code is already implemented in the bundle. only the correct "handshake" is missing in the code. |
so i did some quick and dirty coding and as expected it is possible to direct connect to the projector with a little changed is EpsonProjectorTcpConnector.java. |
I have come a lot further here and will now adjust the binding accordingly. Maybe this is still interesting for other people. |
Hey, I was wondering if you've made any progress on this? I have an epson home cinema 1060 projector I would also like to control via IP (as it has no rs-232 port and is wifi only). unfortunately I don't have the skillsets to make the changes you mention, do you think you could walk me through it? All I wish to accomplish is to know the current state of the projector (on or off) and be able to turn it ON or OFF via openhab. I'd really appreciate it. |
please see here. https://github.com/tbraune42/compiled-addons |
Thanks, Ill give it a try when I get home this evening |
Can you please post an example of a valid config file? I'm having trouble understanding what to put in there, In the documentation there is only info for serial connections, Do you happen to have any documentation? |
OK, after a bit the config file auto generated I put in my configuration, but I get these warnings: 2018-08-25 22:31:19.953 [WARN ] [ector.internal.EpsonProjectorBinding] - given config key 'password' does not follow the expected pattern '.<host|port>' 2018-08-25 22:31:19.956 [WARN ] [ector.internal.EpsonProjectorBinding] - given config key 'reconnectCnt' does not follow the expected pattern '.<host|port>' 2018-08-25 22:31:19.958 [WARN ] [ector.internal.EpsonProjectorBinding] - given config key 'url' does not follow the expected pattern '.<host|port>' 2018-08-25 22:31:19.961 [WARN ] [ector.internal.EpsonProjectorBinding] - given config key 'user' does not follow the expected pattern '.<host|port>'` And I have no control My config looks like this:
And my Items: |
It's about time to take this discussion to a discussion forum. |
Thanks @tbraune42 your patched version works fine. Why don't you want to submit this as PR into main branch? |
Epson Projector is not working over TCP/IP due to missing handshake. see kb.epson.eu 7914: How to Send ESC/VP.net Commands to a Projector
To connect to port 3629, initial must send the code: "45 53 43 2f 56 50 2e 6E 65 74 10 03 00 00 00 00 " To the projector to respond to requests.
The corresponding code could be inserted in the EpsonProjectorTcpConnector.java code
declaratiion:
String handshake = "ESC/VP.net\0x10\0x03\0x00\0x00\0x00\0x00";
in the coonect() procedure after line 53:
out.write(handshake.getBytes());
out.flush();
Unfortunately, I'm too stupid to compile this myself and upload it to git.
The text was updated successfully, but these errors were encountered: