This is a "plugin" for the Video Disk Recorder (VDR).

Written by:                  Joachim Welker <jollyjoe80@yahoo.de>

Project's homepage:          URL

Latest version available at: URL

See the file COPYING for license information.


Description
-----------

This plugin enables you to switch the ICE-TFT via the serial port.
A small circuit providing the switch pulse is needed. An EAGLE file can be 
found in ./contrib .
The plugin remembers the status of the TFT. When the plugin is called,
the TFT'S status is changed (off -> on, on -> off).


Install
-------

- Extract and copy the plugin in /your vdr src/PLUGINS/src/icetft-0.?.?
  (when you read this, I think you already done it). 
- Make a Link in /your vdr src/PLUGINS/src: 
  	ln -s icetft-0.?.? icetft
- Go to /your vdr src/ and compile the plugin (and all other):
  	make plugins
- Install plugins:
  	make install-plugins
- Run your vdr with the option:
  	-P"icetft"
  With the command line parameter -d the serial device can be specified
  (default:/dev/ttyS0):
 	-P"icetft -d /dev/ttyS1"	


Calling the plugin
------------------
The plugins can be started in main menu or directly by an key of remote 
control. The last method needs a key assigned to the plugin in 
keymacros.conf:

   # Remote control key macros for VDR
   #...

   Blue      Timers
   User1     @icetft

Moreover there are two automatic functions. The TFT can be switched off after
a certain time of OSD inactivity. On an OSD activity it can be switched on 
again.


Setup menu
----------

The setup menu holds the following options:

Hide main menu entry
   Very useful, if a key is assigned to the plugin.
TFT power on at startup
   For status at vdr start
TFT power down at shutdown
   For status at vdr stop
Power off
->Timeout for power off
   For automatic power off on OSD inactivity after timeout in seconds
Wake up
   For automatic wake up on OSD activity
Message
   OSD message, when the plugin is called 
   (there are no messages for automatic functions)


SVDRP
-----

This plugins can be controlled by SVDRP commands. The commands i.e. can be sent
with svdrpsend.pl:

   svdrpsend.pl PLUG icetft ON

The commands are:

        ON
            Switch TFT on
        OFF
            Switch TFT off
        TOGGLE
            Toggle TFT status (on->off, off->on)
        STATUS
            Return status of TFT (on/off)

Each command returns on success the corresponding status string "on", "off"
or "error". 


