JohnBrodie / pyjector

Library to help control your projector over a serial connection
MIT License
50 stars 19 forks source link

Hoping you can help! #15

Open TheFonix opened 6 years ago

TheFonix commented 6 years ago

So unlike everybody else i dont have a USB Converter to go from USB to Serial Connection, im simply using the connector on the back of an old DELL laptop, (It has no other use to me currently)

It is loaded with Ubuntu Server 16.04 and has no outstanding issues to my knowledge, the Com Ports show up without any issues under dmesg as shown below:

root@DELL-COM-PORT:~/pyjector# dmesg | grep tty
[    0.000000] console [tty0] enabled
[    2.340164] 00:07: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    4.754379] tty tty20: hash matches

But when i try and send anything to the Projector i get this error:

Traceback (most recent call last):
  File "./pyjector_controller", line 21, in <module>
    command(args.action)
  File "/root/pyjector/pyjector/pyjector.py", line 298, in handler
    return self._command_handler(command, action)
  File "/root/pyjector/pyjector/pyjector.py", line 257, in _command_handler
    self._check_response(response)
  File "/root/pyjector/pyjector/pyjector.py", line 278, in _check_response
    response
pyjector.pyjector.CommandFailedError: ('Received an unknown response', u'')

The projector is a Optoma H183X too

Any help would be great!