News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Need help with rs232 tv

Started by Afkpuz, November 01, 2008, 08:27:46 AM

Previous topic - Next topic

Afkpuz

So, I asked this question in another thread, but it didn't get me all the way, so here goes again.

I have an olevia 232t television.  It has an rs232 control port and I have a serial cable connected to the core.  Someone in the other post told me to update my cvsSQL or something similar and I did that and now there is a template for olevia floating around the web admin.  My problem is that I have no idea what to do with this.  Can someone walk me simply through how to go about this process?  Any help would be appreciated as the web admin is not making sense to me right now.  I don't understand the concepts or the means involved here at all.  thanks guys



tschak909

We do not have the olevia template in the database. I just looked.

Does someone have the template so that I can put it into the database?

-Thom

Afkpuz

It is definitely an rs232 plug.  Someone told me to update my sqlCVS and now the olevia manufacture shows up when I use the add device wizard.  However, I don't understand the wizards or how I should try to add this TV.

colinjones

DB9 is almost certainly a 232 port, however many displays do not have control functionality through this port, only the ability to update the firmware. In those cases the port is almost always called a "service port", as does this one. If that is the case, your options are limited to IR (or perhaps USB/ethernet if it has them).

Afkpuz

Ok, so I had some problems and haven't been able to think about controlling my TV.  But now, those problems are fixed and I'd like to chase this rabbit again.  So, Thom asked who has the template.  In another one of my posts, it was a user named PeteK.  He said that "I just checked in a template for the Olevia RS-232.   I'm still having issues getting pnp to run (I'm not sure what triggers PNP for serial ports (I've got USB to serial adapters on my MDs), but there is a pnp script that I've checked out before in the SVN tree.  In any case, if you update sqlCVS, there will be a template for the Olevia 2XXT TVs."

So, once again, I don't know what to do with this.  Where in the web admin do I add this?  I'm really in need of any kind of direction.

colinjones

afkpuz - read my last post. That display's specs says this is a service port only. No control. What makes you think it is a control port?

Afkpuz

Because several websites that I looked on when I purchased the TV said that this port allowed a computer to control the TV.  Furthermore, someone in another of my posts said that he was making a template to control the 200 series olevia tvs, which is what I have. 

tschak909

The Olevia tv's referred to have a full RS-232 serial port. The protocol information can be gleaned from their website.

-Thom

Afkpuz

Thom, I believe that I found the codes needed to control my tv.  Can you help me test them and make a template?

tschak909

Do you have the required cable?

-Thom

Afkpuz

Yes.  Here is the page with the codes. 


hari

Try to send a power on or off with the TestSerialPort utility. Look at the pnp scripts for usage hints.

br,Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

Afkpuz

You act like I know what you're talking about...can you dumb it down for me?

darrenmason

Hi Afkpuz,

Did you read through the wiki pages on devices/device templates?

http://wiki.linuxmce.com/index.php/Devices
http://wiki.linuxmce.com/index.php/AV_Devices
http://wiki.linuxmce.com/index.php/Device_Templates

See if they answer some of your questions.

regards
Darren

Afkpuz

Ok, I'm getting close, but am stuck on the ruby code syntax.  On the A/V page, I have my television listed.  COM Port on PC is /dev/ttyS0, but I cannot get the ruby code correct.

The information I got from Olevia says that the power off Hex Command is BE 05 27 00 EA   

I click A/V properties and assume that here is where I should enter my magic ruby codes.  But I actually don't know any ruby programming, so I got stuck.  I tried to use some syntax I found in other templates, but no dice.  Any help?