Sharp Aquos TV Driver

Yes.....the first time I hit save the smart central menu popped up, can't seem to get it to come back again. I hit initialize and here is the logs.

dev:7742019-12-07 01:44:08.388 am debugSharpAquos - socketStatus - received [send error: Socket closed]

dev:7742019-12-07 01:44:08.347 am debugSharpAquos - rawSocket request = [RCKY39 ] to 192.168.254.205:10002

dev:7742019-12-07 01:44:08.344 am debugSharpAquos - request - Trying raw socket...

dev:7742019-12-07 01:44:08.340 am debugSharpAquos - initialize - Set DNI = [9CC7D1ED5F5F]

dev:7742019-12-07 01:44:08.332 am debugSharpAquos - initialize - IP: 192.168.254.205 PORT: 10002 USER: null PASS: null

dev:7742019-12-07 01:44:08.328 am debugSharpAquos - initialize - Driver v0.05

the smart central menu only popped up once and I can't get it to pop up again.

Summary

dev:7752019-12-07 02:01:37.715 am debugSharpAquos - socketStatus - received [receive error: Stream closed.]

dev:7752019-12-07 02:01:37.637 am errorjava.sql.SQLException: An SQLException was provoked by the following failure: java.lang.InterruptedException (socketStatus)

dev:7752019-12-07 02:01:37.600 am debugSharpAquos - socketStatus - received [send error: Socket closed]

dev:7752019-12-07 02:01:36.488 am debugSharpAquos - rawSocket request = [RCKY39 ] to 192.168.254.205:10002

dev:7752019-12-07 02:01:36.484 am debugSharpAquos - request - Trying raw socket...

dev:7752019-12-07 02:01:36.480 am debugSharpAquos - initialize - Set DNI = [9CC7D1ED5F5F]

dev:7752019-12-07 02:01:36.473 am debugSharpAquos - initialize - IP: 192.168.254.205 PORT: 10002 USER: null PASS: null

dev:7752019-12-07 02:01:36.469 am debugSharpAquos - initialize - Driver v0.05

dev:7752019-12-07 02:01:36.465 am debugSharpAquos - updated - IP: null PORT: 10002 USER: null PASS: null

Got smart central to pop up again when I hit save preferences. Here are the logs.

Summary

dev:7752019-12-07 02:03:32.681 am debugSharpAquos - socketStatus - received [receive error: Stream closed.]

dev:7752019-12-07 02:03:32.461 am debugSharpAquos - rawSocket request = [RCKY39 ] to 192.168.254.205:10002

dev:7752019-12-07 02:03:32.458 am debugSharpAquos - request - Trying raw socket...

dev:7752019-12-07 02:03:32.455 am debugSharpAquos - initialize - Set DNI = [9CC7D1ED5F5F]

dev:7752019-12-07 02:03:32.444 am debugSharpAquos - initialize - IP: 192.168.254.205 PORT: 10002 USER: null PASS: null

dev:7752019-12-07 02:03:32.440 am debugSharpAquos - initialize - Driver v0.05

dev:7752019-12-07 02:03:32.432 am debugSharpAquos - updated - IP: null PORT: 10002 USER: null PASS: null

Ok... progress...

Try this...

[Old version removed]

Nothing happening at all....I am getting this when I hit initialize.

Summary

dev:7752019-12-07 02:17:33.602 am warnConnection refused (Connection refused)

dev:7752019-12-07 02:17:33.576 am debugSharpAquos - HubAction request = [RCKY39 ] to 192.168.254.205:10002

dev:7752019-12-07 02:17:33.565 am debugSharpAquos - request - Trying HubAction...

dev:7752019-12-07 02:17:33.562 am debugSharpAquos - initialize - Set DNI = [9CC7D1ED5F5F]

dev:7752019-12-07 02:17:33.541 am debugSharpAquos - initialize - IP: 192.168.254.205 PORT: 10002 USER: null PASS: null

dev:7752019-12-07 02:17:33.521 am debugSharpAquos - initialize - Driver v0.06

Give this a try...

[Old version removed]

HIt Save Preferences and the smart central popped up again. Here are the logs.

dev:7752019-12-07 02:34:56.427 am warnRead timed out

dev:7752019-12-07 02:34:46.332 am debugSharpAquos - HubAction request = [RCKY39 ] to 192.168.254.205:10002

dev:7752019-12-07 02:34:46.328 am debugSharpAquos - request - Trying HubAction...

dev:7752019-12-07 02:34:46.324 am debugSharpAquos - initialize - Set DNI = [9CC7D1ED5F5F]

dev:7752019-12-07 02:34:46.314 am debugSharpAquos - initialize - IP: 192.168.254.205 PORT: 10002 USER: null PASS: null

dev:7752019-12-07 02:34:46.310 am debugSharpAquos - initialize - Driver v0.07

dev:7752019-12-07 02:34:46.306 am debugSharpAquos - updated - IP: 192.168.254.205 PORT: 10002 USER: null PASS: null

initialize make the smart central pop up all the time time. The volume down button works sometimes...here are the logs for the volume button pressing.

Summary

dev:7752019-12-07 02:40:28.723 am warnRead timed out

dev:5862019-12-07 02:40:18.878 am infoLiving Room Receiver volume volume is 142

dev:7752019-12-07 02:40:18.758 am errorjava.util.IllegalFormatConversionException: d != java.lang.String on line 84 (parseVolume)

dev:7752019-12-07 02:40:18.725 am debugSharpAquos parseVolume - response 'index:00, mac:9CC7D1ED5F5F, ip:c0a8fecd, port:2712, type:LAN_TYPE_RAW, payload:'

dev:7752019-12-07 02:40:18.696 am debugSharpAquos - HubAction request = [VOLM? ] to 192.168.254.205:10002

dev:7752019-12-07 02:40:18.692 am debugSharpAquos - request - Trying HubAction...

dev:7752019-12-07 02:40:18.689 am debugSharpAquos - HubAction request = [RCKY32 ] to 192.168.254.205:10002

dev:7752019-12-07 02:40:18.685 am debugSharpAquos - request - Trying HubAction...

volume up is sporadic too with these logs.

dev:7752019-12-07 02:45:01.982 am warnRead timed out

dev:5862019-12-07 02:44:52.149 am infoLiving Room Receiver volume volume is 143

dev:7752019-12-07 02:44:52.039 am errorjava.util.IllegalFormatConversionException: d != java.lang.String on line 84 (parseVolume)

dev:7752019-12-07 02:44:52.002 am debugSharpAquos parseVolume - response 'index:00, mac:9CC7D1ED5F5F, ip:c0a8fecd, port:2712, type:LAN_TYPE_RAW, payload:'

dev:7752019-12-07 02:44:51.968 am debugSharpAquos - HubAction request = [VOLM? ] to 192.168.254.205:10002

dev:7752019-12-07 02:44:51.964 am debugSharpAquos - request - Trying HubAction...

dev:7752019-12-07 02:44:51.960 am debugSharpAquos - HubAction request = [RCKY33 ] to 192.168.254.205:10002

dev:7752019-12-07 02:44:51.956 am debugSharpAquos - request - Trying HubAction...

Ok... Give this a try with the volume up/down...

[Old version removed]

volume down didn't work....
dev:7752019-12-07 02:56:07.969 am warnRead timed out

dev:7752019-12-07 02:56:03.202 am warnConnection reset

dev:7752019-12-07 02:56:03.139 am debugSharpAquos parse - response 'index:00, mac:9CC7D1ED5F5F, ip:c0a8fecd, port:2712, type:LAN_TYPE_RAW, payload:'

dev:7752019-12-07 02:56:03.110 am debugSharpAquos - HubAction request = [VOLM? ] to 192.168.254.205:10002

dev:7752019-12-07 02:56:03.095 am debugSharpAquos - request - Trying HubAction...

dev:7752019-12-07 02:56:03.091 am debugSharpAquos - HubAction request = [RCKY32 ] to 192.168.254.205:10002

dev:7752019-12-07 02:56:03.086 am debugSharpAquos - request - Trying HubAction...

both will work once then time out for a while....

dev:5862019-12-07 02:59:55.601 am infoLiving Room Receiver volume volume is 139

dev:7752019-12-07 02:59:55.336 am errorjava.lang.NullPointerException: null on line 85 (parseVolume)

dev:7752019-12-07 02:59:55.281 am debugSharpAquos parseVolume - response 'index:00, mac:9CC7D1ED5F5F, ip:c0a8fecd, port:2712, type:LAN_TYPE_RAW, payload:'

dev:7752019-12-07 02:59:55.218 am debugSharpAquos - HubAction request = [VOLM? ] to 192.168.254.205:10002

dev:7752019-12-07 02:59:55.214 am debugSharpAquos - request - Trying HubAction...

dev:7752019-12-07 02:59:55.210 am debugSharpAquos - HubAction request = [RCKY32 ] to 192.168.254.205:10002

dev:7752019-12-07 02:59:55.206 am debugSharpAquos - request - Trying HubAction...

dev:7752019-12-07 02:59:54.924 am warnRead timed out

Ok... looks like the hubAction is not returning any data... so, a quick change to raw sockets to see what we get...

[Old version removed]

opps cant save the new driver now, getting.....

Metadata Error: Capability 'switch' not found. on line 22

Please re-copy the driver and try again... I fixed the post...

ok.....kinda working, volumes up and down work repeatedly, Power shuts it off, mute doesn't really do anything. Here are the logs.

Summary

dev:7752019-12-07 03:32:06.302 am debugSharpAquos parse - response '4F4B0D4F4B0D'

dev:7752019-12-07 03:32:06.098 am debugSharpAquos - rawSocket request = [POWR1 ] to 192.168.254.205:10002

dev:7752019-12-07 03:32:06.092 am debugSharpAquos - request - Trying raw socket...

dev:7752019-12-07 03:32:06.085 am debugSharpAquos - rawSocket request = [RSPW2 ] to 192.168.254.205:10002

dev:7752019-12-07 03:32:06.078 am debugSharpAquos - request - Trying raw socket...

dev:7752019-12-07 03:32:06.047 am debugTurn on TV

dev:5862019-12-07 03:32:04.724 am infoLiving Room Receiver is unmuted

dev:5862019-12-07 03:32:01.526 am infoLiving Room Receiver volume volume is 145

dev:5862019-12-07 03:32:01.465 am infoLiving Room Receiver is unmuted

dev:5862019-12-07 03:32:01.385 am infoLiving Room Receiver is on

dev:5862019-12-07 03:32:01.344 am infoLiving Room Receiver input is AlbertsPC

dev:5862019-12-07 03:32:01.167 am debuginitialize...

dev:1862019-12-07 03:31:59.781 am infoGarage: temperature is -18.0°F

dev:7752019-12-07 03:31:56.298 am debugSharpAquos parse - response '4F4B0D4F4B0D'

dev:7752019-12-07 03:31:56.159 am debugSharpAquos - rawSocket request = [POWR0 ] to 192.168.254.205:10002

dev:7752019-12-07 03:31:56.145 am debugSharpAquos - request - Trying raw socket...

dev:7752019-12-07 03:31:56.139 am debugSharpAquos - rawSocket request = [RSPW2 ] to 192.168.254.205:10002

dev:7752019-12-07 03:31:56.135 am debugSharpAquos - request - Trying raw socket...

dev:7752019-12-07 03:31:56.131 am debugTurn off TV

dev:7752019-12-07 03:31:48.605 am debugSharpAquos parse - response '4552520D'

dev:7752019-12-07 03:31:48.521 am debugSharpAquos - rawSocket request = [MUTE1 ] to 192.168.254.205:10002

dev:7752019-12-07 03:31:48.517 am debugSharpAquos - request - Trying raw socket...

dev:7752019-12-07 03:31:44.708 am debugSharpAquos parse - response '4552520D'

dev:7752019-12-07 03:31:44.557 am debugSharpAquos - rawSocket request = [MUTE2 ] to 192.168.254.205:10002

dev:7752019-12-07 03:31:44.553 am debugSharpAquos - request - Trying raw socket...

dev:5862019-12-07 03:31:40.726 am infoLiving Room Receiver volume volume is 145

dev:7752019-12-07 03:31:40.645 am debugSharpAquos parse - response '4F4B0D300D'

dev:7752019-12-07 03:31:40.533 am debugSharpAquos - rawSocket request = [VOLM? ] to 192.168.254.205:10002

dev:7752019-12-07 03:31:40.530 am debugSharpAquos - request - Trying raw socket...

dev:7752019-12-07 03:31:40.527 am debugSharpAquos - rawSocket request = [RCKY32 ] to 192.168.254.205:10002

dev:7752019-12-07 03:31:40.523 am debugSharpAquos - request - Trying raw socket...

dev:5862019-12-07 03:31:36.926 am infoLiving Room Receiver volume volume is 146

dev:7752019-12-07 03:31:36.871 am debugSharpAquos parse - response '4F4B0D300D'

dev:7752019-12-07 03:31:36.751 am debugSharpAquos - rawSocket request = [VOLM? ] to 192.168.254.205:10002

dev:7752019-12-07 03:31:36.748 am debugSharpAquos - request - Trying raw socket...

dev:7752019-12-07 03:31:36.744 am debugSharpAquos - rawSocket request = [RCKY33 ] to 192.168.254.205:10002

dev:7752019-12-07 03:31:36.740 am debugSharpAquos - request - Trying raw socket...

Alright. More progress... No errors...

I will need to do some work on command/response processing... But that will be after getting some sleep....

Thank you very much!!!!!

Ok... So I have added a command/response parse mechanism... and added a poll mechanism... So this version should be more or less functional. There are still some features (direct channel change/view mode/3d mode/etc) that can be added over time...

[Old version removed]

1 Like