tronghuyict56 / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

[epsonprojector] "ERR?" does not work #406

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I think there is an issue with the "ERR"-command (or the response to it).

16:28:05.973 DEBUG o.o.b.e.i.EpsonProjectorDevice[:358] - Query: 'ERR?'
16:28:06.075 DEBUG o.o.b.e.i.EpsonProjectorDevice[:361] - Response: 'ERR'
16:28:06.075 WARN  o.o.b.e.i.EpsonProjectorBinding[:372] - Couldn't execute 
command 'ErrCode', 
org.openhab.binding.epsonprojector.internal.EpsonProjectorException: Error 
response received
16:28:06.076 ERROR o.o.b.e.i.EpsonProjectorBinding[:213] - No response received 
from command 'ErrCode'

Frankly, I'm not sure if the Err-commands is supported by my TW3600.

Original issue reported on code.google.com by christop...@gmail.com on 18 Aug 2013 at 10:39

GoogleCodeExporter commented 9 years ago
Pali, could you investigate?

Original comment by teichsta on 19 Aug 2013 at 6:36

GoogleCodeExporter commented 9 years ago
It seems to work fine on my environment:

22:17:35.623 DEBUG o.o.b.e.i.EpsonProjectorBinding[:199] - item 'EpsonErrCode' 
is about to be refreshed now
22:17:35.623 DEBUG o.o.b.e.i.EpsonProjectorDevice[:358] - Query: 'ERR?'
22:17:35.724 DEBUG o.o.b.e.i.EpsonProjectorDevice[:361] - Response: 'ERR=00'
22:17:35.726 INFO  runtime.busevents[:46] - EpsonErrCode state updated to 0

But ErrCode can be queried only when projector power is on, so you need to use 
special interval definition.

Original comment by pauli.an...@gmail.com on 19 Aug 2013 at 8:37

GoogleCodeExporter commented 9 years ago
That could be the the problem.
Will check this in a few days.

Original comment by christop...@gmail.com on 21 Aug 2013 at 4:01

GoogleCodeExporter commented 9 years ago
Ok, my bad.
The error does not occur when the projector is ON.
Adding "ON," to the item-config solved the warning-logs.
I edited the demo-config in the wiki with this knowledge. :)

Original comment by christop...@gmail.com on 23 Aug 2013 at 8:28

GoogleCodeExporter commented 9 years ago
OK, thats great.

Original comment by pauli.an...@gmail.com on 24 Aug 2013 at 6:24