Description of the iphone webfrontend:

(c) Olaf Droegehorn
    o.droegehorn@dhs-computertechnik.de
    www.dhs-computertechnik.de

#################################################################################
#  Copyright notice
#
#  (c) 2008-2009
#  Copyright: Dr. Olaf Droegehorn
#  All rights reserved
#
#  This script free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  The GNU General Public License can be found at
#  http://www.gnu.org/copyleft/gpl.html.
#  A copy is found in the textfile GPL.txt and important notices to the license
#  from the author is found in LICENSE.txt distributed with these scripts.
#
#  This script is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  This copyright notice MUST APPEAR in all copies of the script!
#################################################################################

Versions:

V1.0: Initial Version
V1.1: Bugfix: Setting Temp is possible now

General description:

Web frontend 5 (webfrontend/pgm5) (known upto FHEM 4.2 as pgm2):

This frontend is CGI/CSS based. It has support for rooms, and  FHT/KS300 logs.

This webfrontend is an updated version for the iPhone(R):
It resides in YOUR HTTP server, and doesn't provide an own, like the FHEMWEB module does.

How it works:
The iPhone-WebFrontend works the same way as PGM5.

This is a VERY SECOND BETA !!!
You can see and modify FS20 and FHT devices.
Beyond that, you can browse through your rooms.
If you are using FHEM_RENDERER you can also disply rendered graphics.



INSTALLATION:
Copy the file fhemiphone.pl and the whole subdir "icons" to your cgi-bin directory (/home/httpd/cgi-bin), and commandref.html to the html directory (/home/httpd/cgi-bin/html).

The *.gplot files should be reused from the built-in FHEMWEB and should reside in the installed FHEM directory. Here we don't provide specific *.gplot files as the mechanisms are exactly the same.

Note: The program looks for icons in the following order: 
<device-name>.<state>, <device-name>, <device-type>.<state>, <device-type>


ATTENTION:
You SHOULD have a look into fhemiphone.pl to modify the needed directories at the beginning.


NOTE: This is based on IUI (wich is part of the icons-subdir)


Copy the file 02_FHEMRENDERER.pm to the installed FHEM directory.
This gives you a graphic rendering engine (gnuplot & gnuplot-scroll at the moment), which can be configured to renderer images in intervals.

Call <your-site>/cgi-bin/fhemiphone.pl 

If you want to show only a part of your devices on a single screen
(i.e divide them into separate rooms), then assign each device the
room attribute in the config file:

  attr ks300     room garden
  attr ks300-log room garden

The attribute title of the global device will be used as title on the first
screen, which shows the list of all rooms. Devices in the room
"hidden" will not be shown. Devices without a room attribute go
to the room "misc".

