2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00
fhem-mirror/fhem/webfrontend/pgm5/README-fhemiphone.txt
odroegehorn 582de28f92 Minor updates
git-svn-id: https://svn.fhem.de/fhem/trunk@340 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2009-01-22 12:42:10 +00:00

59 lines
2.1 KiB
Plaintext

Description of the pgm5-iphone webfrontend:
(c) Olaf Droegehorn
o.droegehorn@dhs-computertechnik.de
www.dhs-computertechnik.de
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 FIRST 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/html) (or also to cgi-bin directory).
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 loog 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 pgm5/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".