I emailed him the other day. He doesn’t plan to submit the OH1 binding (and even if he wanted to, I think new contributions to OH1 are closed). He also doesn’t plan to submit an OH2 version. He did tell me I could use his code as the starting point for an OH2 binding. So…
I developed a prototype OH2 binding for the Sharp Aquos TV.
The binding auto discovers my TV correctly (model LC-43LE653U), and prepopulates the IP address in the thing config. The uPnP discovery information is quite sparse for my model.
- I haven’t figured out where to get the port number – not sure that will be possible. Right now it defaults to port 10002, which the the default port for my model TV.
- It also doesn’t provide a valid serial number. I doubt my TV is serial number 0000001.
Edit: I replaced the serial number with the UUID returned in the uPnP response. The Thing UID now should be unique.
The IP address, port, username, and password can be edited using PaperUI. If you leave username and password blank, the binding will not attempt to authenticate with the TV. If username and password are not blank, it will authenticate with the TV.
I can send some basic commands (power on/off, volume, volume up/down, channel, channel up/down, input selection.
But, my model is a bit squirrelly. If I set up my TV with no authentication, everything works fine. However, if I set it up with authentication, the TV accepts the commands, but the commands seem to have no effect.
I’m not sure I’m going to convert the prototype into a production binding. I’m worried that many of the models will have peculiarities, similar to what I’m running into with my TV.
If anyone wants to try this out, we might be able to tell how well, or poorly, it works across multiple models. Let me know, and I’ll post the jar. Installation is easy – you just drop it in the addons folder and it should/might auto discover your TV(s).
Here’s a pic of the thing. It’s still a bit rough, but then again, that’s why it’s a prototype.