Author
Topic: LG LCD Template (Read 33630 times)

Glad you got it working. Lots of people have helped with this functionality, tkmedia created the original template, others have added their input in this thread and mercur2k improved and submitted the final template.

I know in recent builds the pnp doesn't work and I think manually adding it is the current solution. Did you use a recent build?

Personally I don't use or recommend raid any more. I've lost lots of data using it in the past. I just use a primary drive and back up to a secondary drive. I also backup my stable lmce using ping.

Sorry for the delay, I did used a recent build. When you mean RAID is any kind (sw or hw), is it easy to setup a secondary disk as a backup?. I always thought that sw raid was a good option because it is not hw dependent. At least that's what i read. Any suggestions?. I agree that backup is always required, is it easy to setup PING?.

I used software raid for a while and lost everything upgrading to 0810. I have a 1TB drive as my primary storage and I have a second 1TB drive which I told lmce to ignore. I copy the storage to the backup regularly using:

Hi Barney, thanks for the info and sorry for the off topic, it wasnt my intention.

I'm having a problem now that I don't understand, the settings for the LG template are not permanent. Everytime I reboot the MD or quick reload, the configurations of the serial port, and unchecked "Disable" option under advance are lost. Any ideas?Apparently PNP is messing things up

Plugged my TV in again last night, and it wasn't even detected unfortunately. I believe it can be added manually, but I don't know how to do that. I assume it's in "A/V Equipment" in web admin, but I don't know what parameters are needed.

I then filled in the "COM port on PC" data, it has a drop down box and in my case it only has one value.

Seems to work, though it looks like not all volume change commands are processed or some are processed double.Also, I cannot seem to find the On and Off commands.

I had some problems in getting my USB to serial port adapter working. When rebooting it doesn't work.I then use minicom to talk to my TV, once that works I quit minicom and restart the router.The device then does works (with the caveats described above).So I need to figure out a way to put the com port settings that are done by minicom in some config file somewhere.Anyway, that's a problem with my hardware, not with the TV template.

I'm still playing around a bit. Although the On/Off command is not visible in the webadmin when I select "Send a command to device", after running the setup wizard on the MD, my orbiter is capable of turning the TV on and off.I can then also use the volume commands to control my TV. So that works nicely.

I'm still having a bit of trouble to get the thing working right after a reboot though. Last time the On/Off command worked, but the volume commands didn't. I think that means the com port is now OK after a reboot.I played a bit with minicom and noticed the volume commands got an error; turned out that the TV thought it was muted and then volume commands give an error. After unmuting it via minicom and resetting the device it started working again.Maybe I should add an unmute command to the template before a volume change. I'm not sure how the TV got muted (or if it really was; forgot tot test), but there is only one bit difference between the command to turn the TV on and to mute it. So maybe it's just my connection.

power control for audio/video devices happens automatically, that is why there are not specific on/off commands in orbiter. start a scenario that uses it and the tv will just turn on. let it idle for a few minutes (15 by default i believe) and it will turn off. It would be fairly easy to send an unmute with power on, but i think youre right that it was probably just your serial port since i have not encountered this problem (although i use an audio receiver for volume control). I also have noticed a problem with volume commands being doubled, but thats not something thats happening in the template, its somewhere deeper.

It's been a while, but I finally found the reason why my volume commands sometimes work and sometimes not;If the TV is already on while the MD starts, the volume works. If the TV is off while the MD starts the volume commands do not work (but everything else does).

I checked the ruby code in the template. During intialization, in the InitVolume function, it does something clever. It tries to retrieve the current volume from the TV, even turning the TV on and off again if necessary.My guess is that my TV (an 26LV5500) doesn't like that, gets into some strange internal state, and no longer responds to volume commands after it has been quickly turned on and off again.

I placed the line "@volume = 10" at the start of the InitVolume function. That way the function assumes the volume has been retrieved successfully, and doesn't send any commands to the TV. This works, but I'll see if I can find out which part of the InitVolume function is actually causing the problem.

For now it looks like a problem with my TV's software, not with the template.

My speakers are connected directly to the MD, so have not noticed this specifically, however I have noticed that when I switch over to the Wii or Mega Drive (so sound comes through the TV) sometimes the volume doesn't work - pressing the buttons causes the volume to display, it just doesn't change.

I occasionally have this problem. I think the ruby codes don't allow quite enough time for the TV to start when in standby. This means when the script queries the LG for the current volume there is no response so the LG is disabled.

I occasionally have this problem. I think the ruby codes don't allow quite enough time for the TV to start when in standby. This means when the script queries the LG for the current volume there is no response so the LG is disabled.

You could try and extend this time.Barney

OK. If your theory is correct, does that mean one shouldn't see this problem if the TV is already on when LMCE switches channel?