mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
add ws2000 description and first basic rules for windows installation
git-svn-id: https://svn.fhem.de/fhem/trunk@171 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
de1cc4ea3c
commit
c10e7c1d8e
@ -426,6 +426,7 @@ make editing of multiline commands transparent.<br><br>
|
||||
<li>KS300: ks300</li>
|
||||
<li>WS300: ws300pc</li>
|
||||
<li>EM1010: em1010pc</li>
|
||||
<li>WS2000: ws2000</li>
|
||||
</ul>
|
||||
</li><br>
|
||||
|
||||
@ -889,6 +890,43 @@ make editing of multiline commands transparent.<br><br>
|
||||
<br>
|
||||
</ul>
|
||||
|
||||
<a name="WS2000"></a>
|
||||
<h4>Type WS2000</h4>
|
||||
<ul>
|
||||
<code>define <name> WS2000<device_to_connect></code>
|
||||
<br><br>
|
||||
|
||||
Define a WS2000 series raw receiver device sold by ELV. Details see <a
|
||||
href="http://www.elv.de/output/controller.aspx?cid=74&detail=10&detail2=6724">here</a>.
|
||||
Unlike 86_FS10.pm it will handle the comple device communication itself and doesnt require an external program.
|
||||
For this reason you can now use this also on windows.
|
||||
<br>
|
||||
This Device will be usually connect to a serial port, but you can also define a raw network
|
||||
redirector like lantronix XPORT(TM).
|
||||
<br>Note: Currently this device does not support a "set" function
|
||||
<br><br>
|
||||
|
||||
|
||||
|
||||
Attributes:
|
||||
<ul>
|
||||
<li><code>rain</code>: factor for calculating amount of rain in ml/count</li>
|
||||
<li><code>altitude</code>: height in meters to calculate pressure for NN(not used yet)</li>
|
||||
</ul>
|
||||
<br>
|
||||
Example:
|
||||
<ul>
|
||||
<code>define WS2000 WS2000 /dev/ttyS0</code><br>
|
||||
</ul>
|
||||
<ul>
|
||||
<code>define WS2000 WS2000 xport:10001</code><br>
|
||||
</ul>
|
||||
<ul>
|
||||
<code>attr WS2000 rain 366</code> : use factor 366 ml/count for rain sensor S2000R<br>
|
||||
</ul>
|
||||
<br>
|
||||
</ul>
|
||||
|
||||
<a name="FileLog"></a>
|
||||
<h4>Type FileLog</h4>
|
||||
<ul>
|
||||
|
@ -1,258 +1,279 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<title>Home of FHEM</title>
|
||||
</head>
|
||||
|
||||
<body style="background-color: white">
|
||||
|
||||
|
||||
<h1>FHEM</h1>
|
||||
GPL'd server to access devices like FHZ1000/FHZ1300,EM1010PC,WS300,SCIVT.
|
||||
Formerly known as fhz1000.pl
|
||||
|
||||
<h2>News (as of =DATE=, Version =VERS=)</h2>
|
||||
<ul>
|
||||
<li>feature: added archivedir/archivecmd to the the main logfile</li>
|
||||
<li>feature: 99_Sunrise_EL.pm (does not need any Date modules)</li>
|
||||
<li>bugfix: seldom xmllist error resulting in corrupt xml (Martin/Peter, 4.9)</li>
|
||||
<li>bugfix: FHT mode holiday_short added (9.9, Dirk)</li>
|
||||
<li>bugfix: Modifying a device from its own trigger crashes (Klaus, 10.9)</li>
|
||||
<li>feature: webpgm2 output reformatted</li>
|
||||
<li>feature: webpgm2 displaying multiple plots</li>
|
||||
<li>feature: FHT lime-protection code discovered by Dirk (7.10)</li>
|
||||
<li>feature: softwarebuffer for FHT devices (Dirk 17.10)</li>
|
||||
<li>feature: FHT low temperatur warning and offset (Dirk 17.10)</li>
|
||||
<li>change: change FHT state into warnings (Dirk 17.10)<br>
|
||||
NOTE: you'll get an undefined type state & undefined type
|
||||
unknown_85 message after upgrade, this will disappear at the
|
||||
second start.</li>
|
||||
<li>feature: Softwarebuffer code simplified (Rudi 22.11)</li>
|
||||
<li>bugfix: bug #12327 doppeltes my</li>
|
||||
<li>bugfix: set STATE from trigger</li>
|
||||
<li>bugfix: readings state vs STATE problem (xmllist/trigger)</li>
|
||||
<li>change: SUNRISE doc changed (99_SUNRISE.pm -> 99_SUNRISE_EL.pm)</li>
|
||||
<li>feature: support for the M232 ELV device (Boris, 25.11)</li>
|
||||
<li>feature: alternativ Quad-based numbers for the FS20 (Matthias, 24.11)</li>
|
||||
<li>feature: dummy type added (contrib/99_dummy.pm)</li>
|
||||
<li>feature: added database logging facility (93_DbLog.pm) (Boris, 29.12)</li>
|
||||
<li>feature: support for %NAME, %EVENT, %TYPE parameters in notify definition (Boris, 29.12)</li>
|
||||
<li>bugfix: 62_EMEM.pm: energy_total_kWh renamed to energy_kWh_w, energy_kWh added (Boris, 6.1)</li>
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
|
||||
<h2>Description</h2>
|
||||
<ul>
|
||||
This program makes the FHZ1000/FHZ1300/WS300 and other USB devices sold by ELV,
|
||||
Conrad and others useable with Linux. In fact, there is nothing Linux special
|
||||
in it, you should be able to use it on other platforms as long as you can
|
||||
access the hardware as a serial device.<br> The program runs as a server, you
|
||||
can control it via telnet, command line program or TCP/IP directly, like the
|
||||
supplied web frontends do.<br> <br>
|
||||
|
||||
Currently implemented features:<br>
|
||||
<ul>
|
||||
<li>Via the FHZ module (with access to one or more FHZ1000/FHZ1300 device):
|
||||
<ul>
|
||||
<li>reading and sending FS20 events (on/off/dimming, timer commands)<br>
|
||||
<li>support of FS20 address features function group, local and global master
|
||||
<li>reading and changing FHT80b parameters (temp, actuator, etc).<br>
|
||||
The FHT8b seems to work too. <b>Note:</b> the FHT8 wont work.<br>
|
||||
Internal software buffer to prevent lost commands.<br>
|
||||
</li>
|
||||
<li>reading HMS data (HMS100-T,-TF,-WD,-MG,-TFK and RM100-2)</li>
|
||||
<li>reading KS300 data</li>
|
||||
</ul>
|
||||
<b>Note:</b>The FHZ1350 WLAN is probably not working due to a prorietary
|
||||
encryption.
|
||||
</li>
|
||||
<li>reading WS300 data, and up to 9 attached devices</li>
|
||||
<li>reading EM1000WZ/EM1000EM data via an attached EM1010PC</li>
|
||||
<li>reading attached SCIVT devices</li>
|
||||
<li>reading attached M232 devices</li>
|
||||
<li>logging events to files or databases, with regexp filters</li>
|
||||
<li>notifying external programs or internal modules when receiving certain
|
||||
events</li>
|
||||
<li>timed commands (e.g. switching a lamp on from sunset till midnight)</li>
|
||||
<li>modular architecture</li>
|
||||
<li>Two different web frontends, choose your favorite</li>
|
||||
<br>
|
||||
</ul>
|
||||
See <a href="commandref.html">commandref.html</a> for a detailed command
|
||||
description and <a href="faq.html">faq.html</a> for the F.A.Q.
|
||||
</ul>
|
||||
|
||||
<h2>Links:</h2>
|
||||
<ul>
|
||||
Homepage: <a href="http://www.koeniglich.de/fhem/fhem.html">
|
||||
http://www.koeniglich.de/fhem/fhem.html</a><br>
|
||||
Download: <a href="http://www.koeniglich.de/fhem/fhem-=VERS=.tar.gz">
|
||||
http://www.koeniglich.de/fhem/fhem-=VERS=.tar.gz</a><br>
|
||||
FAQ: <a href="http://www.koeniglich.de/fhem/faq.html">
|
||||
http://www.koeniglich.de/fhem/faq.html</a><br>
|
||||
Google-Group: <a href="http://groups.google.com/group/FHZ1000-users-on-unix">
|
||||
http://groups.google.com/group/FHZ1000-users-on-unix</a><br>
|
||||
Martins Web frontend (webpgm3): <a href="http://www.martin-haas.de/fhz">
|
||||
http://www.martin-haas.de/fhz</a><br>
|
||||
Another Martins Web frontend (myHCE): <a href="http://www.fischer-net.de/projekte/haustechnik/myhce.html">http://www.fischer-net.de/projekte/haustechnik/myhce.html</a><br>
|
||||
CVS@berlios: <a href="http://developer.berlios.de/projects/fhem">
|
||||
http://developer.berlios.de/projects/fhem</a><br>
|
||||
LinViex (home automation frontend):
|
||||
<a href="http://sourceforge.net/projects/linviex">
|
||||
|
||||
http://sourceforge.net/projects/linviex</a><br><br>
|
||||
Device/OS Specific installation guides:<br>
|
||||
<ul>
|
||||
Linux driver installation:
|
||||
<a href="http://www.koeniglich.de/fhem/linux.html">
|
||||
http://www.koeniglich.de/fhem/linux.html</a><br>
|
||||
Instructions for Nas/Routers (NSLU2):
|
||||
<a href="http://www.martin-haas.de/fhz/nslu2fhz">
|
||||
http://www.martin-haas.de/fhz/nslu2fhz</a><br>
|
||||
Instructions for the Fritz!Box:
|
||||
<a href="fritzbox.html">
|
||||
http://www.koeniglich.de/fhem/fritzbox.html</a><br>
|
||||
Instructions for the Allnet all6250:
|
||||
<a href="http://wiki.dungeon.de/all6250_opennas_mit_fhem">
|
||||
http://wiki.dungeon.de/all6250_opennas_mit_fhem</a><br>
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
<h2>Related projects:</h2>
|
||||
<ul>
|
||||
<a href="http://fhz4linux.info/">http://fhz4linux.info/</a><br>
|
||||
</ul>
|
||||
|
||||
<h2>Installation</h2>
|
||||
<ul>
|
||||
|
||||
<h3>Linux driver</h3>
|
||||
See <a href="http://www.koeniglich.de/fhem/linux.html">
|
||||
http://www.koeniglich.de/fhem/linux.html</a><br>
|
||||
For kernels older then 2.6.x apply the patch from the doc directory to your
|
||||
kernel, recompile it and reboot or load/reload the ftdi_sio module.
|
||||
</ul>
|
||||
|
||||
<h3>Perl modules</h3>
|
||||
<ul>
|
||||
You need perl with the Device::SerialPort (<a
|
||||
href="http://search.cpan.org/dist/Device-SerialPort/">
|
||||
http://search.cpan.org/dist/Device-SerialPort/</a>)
|
||||
module. All other needed modules were present in my installation.
|
||||
If this module reports <code>Can't call method "opened" on an undefined
|
||||
value...</code> when starting the server, then you either may ignore
|
||||
this message, or replace the mentioned line with:<pre>
|
||||
$self->{HANDLE}->close if (defined($self->{HANDLE}) &&
|
||||
$self->{HANDLE}->opened);</pre>
|
||||
</ul>
|
||||
|
||||
<h3>Server installation</h3>
|
||||
<ul>
|
||||
<li>Copy the file <code>fhem.pl</code> into your path (e.g.
|
||||
<code>/usr/local/bin</code>), and the FHEM directory e.g. to
|
||||
<code>/usr/local/lib</code>. </li>
|
||||
<li>Copy additional modules from the contrib directory
|
||||
(like 99_SUNRISE_EL.pm)</li>
|
||||
<li>Make sure that you can access the serial USB
|
||||
device (e.g. <code>/dev/tts/USB0</code>).</li>
|
||||
<li>Create a configuration file (see the examples directory and
|
||||
docs/commandref.html), change at least the modpath
|
||||
(<code>/usr/local/lib</code>) and define FHZ FHZ (<code>/dev/tts/USB0</code>)
|
||||
parameters.</li>
|
||||
<li>Start the server with <code>fhem.pl <configfile></code></li>
|
||||
</ul>
|
||||
|
||||
<h3>General Notes for Webfrontends:</h3>
|
||||
<ul>
|
||||
<li>You don't have to install all of them, one is probably more than
|
||||
enough :-)</li>
|
||||
<li>The web server and the fhem server must be on the same host</li>
|
||||
<li><b>Important:</b> Make sure you add some protection (.htaccess, etc)
|
||||
else everybody will be able to set your devices</li>
|
||||
</ul>
|
||||
|
||||
<h3>Web frontend 2 (webfrontend/pgm2)</h3>
|
||||
<ul>
|
||||
This frontend is a FHEM module realising a primitive HTTP server -> You do
|
||||
not even need apache if security (password/HTTPS) is not a concern.
|
||||
It has support for grouping devices into rooms, manipulating devices, direct
|
||||
fhem commands, diplaying logfiles as text or (if gnuplot is installed) as
|
||||
graphs.<br>
|
||||
Screenshots: <a href="pgm2-1.png">one</a>, <a href="pgm2-2.png">two</a>.
|
||||
<br><br>
|
||||
|
||||
For installation see the webpgm/pgm2/README file.<br>
|
||||
|
||||
<h3>Web frontend 3 (webfrontend/pgm3)</h3>
|
||||
<ul>
|
||||
This frontend is PHP based and was contributed by Martin Haas.
|
||||
Look at the webfrontends/pgm3/docs for more documentation or at
|
||||
<a href="pgm3-0.5.1.png">this screenshot</a>. A lot more details can be
|
||||
found on Martins page: <a href="http://www.martin-haas.de/fhz">
|
||||
http://www.martin-haas.de/fhz</a>
|
||||
<br><br>
|
||||
|
||||
<ul>
|
||||
<li>Install PHP and enable it by commenting in the "LoadModule
|
||||
phpX_module ..." directive in httpd.conf (perhaps it is already
|
||||
done by your distro). Restart/reload httpd.</li>
|
||||
|
||||
<li>Create a directory (e.g.: /home/httpd/html/pgm3) and copy all the
|
||||
files from the webfrontend/pgm3 to this directory.<br>Make sure that this
|
||||
directory is writeable by the webserver!</li>
|
||||
|
||||
<li>Edit index.php (/home/httpd/html/pgm3/index.php), and check the
|
||||
required settings section</li>
|
||||
|
||||
<li>If you want to have access to the FHT temperature logs, then:
|
||||
<ul>
|
||||
<li>Make sure gnuplot is installed</li>
|
||||
<li>check the showgnuplot section in index.php</li>
|
||||
<li>For each FHT device copy the file docs/gnuplot/gnuplot.wz to
|
||||
gnuplot.fhtdevicename (to the /home/httpd/html/pgm3 directory) and
|
||||
replace fht.log in this file with the absolute name of the current
|
||||
logfile.</li>
|
||||
</ul>
|
||||
<li>Call <your-site>/pgm3/index.php</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<h3>Web frontend 4 (webfrontend/pgm4, the template)</h3>
|
||||
<ul>
|
||||
This frontend is PHP based and was contributed by Stefan Mayer. It won't work
|
||||
for you without modification, it is meant as a template or as an example. See
|
||||
the <a href="pgm4.gif">screenshot</a>. To install:
|
||||
<ul>
|
||||
<li>Copy the directory webfrontend/pgm4 to your html directory.</li>
|
||||
<li>Install/enable PHP (see the description for frontend3)</li>
|
||||
<li>Call the program with http://webserver/pgm4/fs20.php</li>
|
||||
</ul>
|
||||
Now you can go on, and modify it to suit your needs :-)
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
|
||||
<h2>License:</h2>
|
||||
<ul>
|
||||
Copyright:<br>
|
||||
<ul>
|
||||
<li>Rudolf Koenig (r dot koenig at koeniglich dot de)</li>
|
||||
<li>Raoul Matthiessen (webfrontends/pgm1)</li>
|
||||
<li>Martin Haas (webfrontends/pgm3)</li>
|
||||
</ul>
|
||||
License: GPL (v2)
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
|
||||
<h2>Misc:</h2>
|
||||
<ul>
|
||||
Thanks for Tosti for inspiration and numerous other people for help. <br>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<title>Home of FHEM</title>
|
||||
</head>
|
||||
|
||||
<body style="background-color: white">
|
||||
|
||||
|
||||
<h1>FHEM</h1>
|
||||
GPL'd server to access devices like FHZ1000/FHZ1300,EM1010PC,WS300,SCIVT.
|
||||
Formerly known as fhz1000.pl
|
||||
|
||||
<h2>News (as of =DATE=, Version =VERS=)</h2>
|
||||
<ul>
|
||||
<li>feature: added ws2000 support via 87_WS2000.pm(thomas 10.05.08)</li>
|
||||
<li>feature: added archivedir/archivecmd to the the main logfile</li>
|
||||
<li>feature: 99_Sunrise_EL.pm (does not need any Date modules)</li>
|
||||
<li>bugfix: seldom xmllist error resulting in corrupt xml (Martin/Peter, 4.9)</li>
|
||||
<li>bugfix: FHT mode holiday_short added (9.9, Dirk)</li>
|
||||
<li>bugfix: Modifying a device from its own trigger crashes (Klaus, 10.9)</li>
|
||||
<li>feature: webpgm2 output reformatted</li>
|
||||
<li>feature: webpgm2 displaying multiple plots</li>
|
||||
<li>feature: FHT lime-protection code discovered by Dirk (7.10)</li>
|
||||
<li>feature: softwarebuffer for FHT devices (Dirk 17.10)</li>
|
||||
<li>feature: FHT low temperatur warning and offset (Dirk 17.10)</li>
|
||||
<li>change: change FHT state into warnings (Dirk 17.10)<br>
|
||||
NOTE: you'll get an undefined type state & undefined type
|
||||
unknown_85 message after upgrade, this will disappear at the
|
||||
second start.</li>
|
||||
<li>feature: Softwarebuffer code simplified (Rudi 22.11)</li>
|
||||
<li>bugfix: bug #12327 doppeltes my</li>
|
||||
<li>bugfix: set STATE from trigger</li>
|
||||
<li>bugfix: readings state vs STATE problem (xmllist/trigger)</li>
|
||||
<li>change: SUNRISE doc changed (99_SUNRISE.pm -> 99_SUNRISE_EL.pm)</li>
|
||||
<li>feature: support for the M232 ELV device (Boris, 25.11)</li>
|
||||
<li>feature: alternativ Quad-based numbers for the FS20 (Matthias, 24.11)</li>
|
||||
<li>feature: dummy type added (contrib/99_dummy.pm)</li>
|
||||
<li>feature: added database logging facility (93_DbLog.pm) (Boris, 29.12)</li>
|
||||
<li>feature: support for %NAME, %EVENT, %TYPE parameters in notify definition (Boris, 29.12)</li>
|
||||
<li>bugfix: 62_EMEM.pm: energy_total_kWh renamed to energy_kWh_w, energy_kWh added (Boris, 6.1)</li>
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
|
||||
<h2>Description</h2>
|
||||
<ul>
|
||||
This program makes the FHZ1000/FHZ1300/WS300 and other USB devices sold by ELV,
|
||||
Conrad and others useable with Linux. In fact, there is nothing Linux special
|
||||
in it, you should be able to use it on other platforms as long as you can
|
||||
access the hardware as a serial device.<br> The program runs as a server, you
|
||||
can control it via telnet, command line program or TCP/IP directly, like the
|
||||
supplied web frontends do.<br> <br>
|
||||
|
||||
Currently implemented features:<br>
|
||||
<ul>
|
||||
<li>Via the FHZ module (with access to one or more FHZ1000/FHZ1300 device):
|
||||
<ul>
|
||||
<li>reading and sending FS20 events (on/off/dimming, timer commands)<br>
|
||||
<li>support of FS20 address features function group, local and global master
|
||||
<li>reading and changing FHT80b parameters (temp, actuator, etc).<br>
|
||||
The FHT8b seems to work too. <b>Note:</b> the FHT8 wont work.<br>
|
||||
Internal software buffer to prevent lost commands.<br>
|
||||
</li>
|
||||
<li>reading HMS data (HMS100-T,-TF,-WD,-MG,-TFK and RM100-2)</li>
|
||||
<li>reading KS300 data</li>
|
||||
</ul>
|
||||
<b>Note:</b>The FHZ1350 WLAN is probably not working due to a prorietary
|
||||
encryption.
|
||||
</li>
|
||||
<li>reading WS300 data, and up to 9 attached devices</li>
|
||||
<li>reading EM1000WZ/EM1000EM data via an attached EM1010PC</li>
|
||||
<li>reading attached SCIVT devices</li>
|
||||
<li>reading attached M232 devices</li>
|
||||
<li>reading attached WS2000/WS25000 devices, also via raw network converters(xport)</li>
|
||||
<li>logging events to files or databases
|
||||
<li>logging events to files or databases, with regexp filters</li>
|
||||
<li>notifying external programs or internal modules when receiving certain
|
||||
events</li>
|
||||
<li>timed commands (e.g. switching a lamp on from sunset till midnight)</li>
|
||||
<li>modular architecture</li>
|
||||
<li>Two different web frontends, choose your favorite</li>
|
||||
<br>
|
||||
</ul>
|
||||
See <a href="commandref.html">commandref.html</a> for a detailed command
|
||||
description and <a href="faq.html">faq.html</a> for the F.A.Q.
|
||||
</ul>
|
||||
|
||||
<h2>Links:</h2>
|
||||
<ul>
|
||||
Homepage: <a href="http://www.koeniglich.de/fhem/fhem.html">
|
||||
http://www.koeniglich.de/fhem/fhem.html</a><br>
|
||||
Download: <a href="http://www.koeniglich.de/fhem/fhem-=VERS=.tar.gz">
|
||||
http://www.koeniglich.de/fhem/fhem-=VERS=.tar.gz</a><br>
|
||||
FAQ: <a href="http://www.koeniglich.de/fhem/faq.html">
|
||||
http://www.koeniglich.de/fhem/faq.html</a><br>
|
||||
Google-Group: <a href="http://groups.google.com/group/FHZ1000-users-on-unix">
|
||||
http://groups.google.com/group/FHZ1000-users-on-unix</a><br>
|
||||
Martins Web frontend (webpgm3): <a href="http://www.martin-haas.de/fhz">
|
||||
http://www.martin-haas.de/fhz</a><br>
|
||||
Another Martins Web frontend (myHCE): <a href="http://www.fischer-net.de/projekte/haustechnik/myhce.html">http://www.fischer-net.de/projekte/haustechnik/myhce.html</a><br>
|
||||
CVS@berlios: <a href="http://developer.berlios.de/projects/fhem">
|
||||
http://developer.berlios.de/projects/fhem</a><br>
|
||||
LinViex (home automation frontend):
|
||||
<a href="http://sourceforge.net/projects/linviex">
|
||||
|
||||
http://sourceforge.net/projects/linviex</a><br><br>
|
||||
Device/OS Specific installation guides:<br>
|
||||
<ul>
|
||||
Linux driver installation:
|
||||
<a href="http://www.koeniglich.de/fhem/linux.html">
|
||||
http://www.koeniglich.de/fhem/linux.html</a><br>
|
||||
Instructions for Nas/Routers (NSLU2):
|
||||
<a href="http://www.martin-haas.de/fhz/nslu2fhz">
|
||||
http://www.martin-haas.de/fhz/nslu2fhz</a><br>
|
||||
Instructions for the Fritz!Box:
|
||||
<a href="fritzbox.html">
|
||||
http://www.koeniglich.de/fhem/fritzbox.html</a><br>
|
||||
Instructions for the Allnet all6250:
|
||||
<a href="http://wiki.dungeon.de/all6250_opennas_mit_fhem">
|
||||
http://wiki.dungeon.de/all6250_opennas_mit_fhem</a><br>
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
<h2>Related projects:</h2>
|
||||
<ul>
|
||||
<a href="http://fhz4linux.info/">http://fhz4linux.info/</a><br>
|
||||
</ul>
|
||||
|
||||
<h2>Installation</h2>
|
||||
<ul>
|
||||
|
||||
<h3>Linux driver</h3>
|
||||
See <a href="http://www.koeniglich.de/fhem/linux.html">
|
||||
http://www.koeniglich.de/fhem/linux.html</a><br>
|
||||
For kernels older then 2.6.x apply the patch from the doc directory to your
|
||||
kernel, recompile it and reboot or load/reload the ftdi_sio module.
|
||||
</ul>
|
||||
|
||||
<h3>Perl modules</h3>
|
||||
<ul>
|
||||
You need perl >=5.8, on Unix with the Device::SerialPort (<a
|
||||
href="http://search.cpan.org/dist/Device-SerialPort/">
|
||||
http://search.cpan.org/dist/Device-SerialPort/</a>),
|
||||
on Windows Win32::SerialPort (best along ActiveState ActivePerl installation on Windows)
|
||||
module. All other needed modules were present in my installation.
|
||||
If this module reports <code>Can't call method "opened" on an undefined
|
||||
value...</code> when starting the server, then you either may ignore
|
||||
this message, or replace the mentioned line with:<pre>
|
||||
$self->{HANDLE}->close if (defined($self->{HANDLE}) &&
|
||||
$self->{HANDLE}->opened);</pre>
|
||||
</ul>
|
||||
|
||||
<h3>Server installation on Unix</h3>
|
||||
<ul>
|
||||
<li>Copy the file <code>fhem.pl</code> into your path (e.g.
|
||||
<code>/usr/local/bin</code>), and the FHEM directory e.g. to
|
||||
<code>/usr/local/lib</code>. </li>
|
||||
<li>Copy additional modules from the contrib directory
|
||||
(like 99_SUNRISE_EL.pm)</li>
|
||||
<li>Make sure that you can access the serial USB
|
||||
device (e.g. <code>/dev/tts/USB0</code>).</li>
|
||||
<li>Create a configuration file (see the examples directory and
|
||||
docs/commandref.html), change at least the modpath
|
||||
(<code>/usr/local/lib</code>) and define FHZ FHZ (<code>/dev/tts/USB0</code>)
|
||||
parameters.</li>
|
||||
<li>Start the server with <code>fhem.pl <configfile></code></li>
|
||||
</ul>
|
||||
|
||||
<h3>Server installation on Windows</h3>
|
||||
( if you are using cygwin for your perl installation you can follow the guidelines for Unix)
|
||||
<ul>
|
||||
<li> be sure you have perl.exe in your path (%PATH%)</li>
|
||||
<li> unpack distribution in a directory of your choise </li>
|
||||
<li>Copy additional modules from the contrib directory
|
||||
(like 99_SUNRISE_EL.pm)</li>
|
||||
<li>Make sure that you can access the serial USB
|
||||
device via virtual COM-Port or via socket(e.g. <code>COMX or xport:10001</code>).</li>
|
||||
<li>Create a configuration file (see the examples directory and
|
||||
docs/commandref.html), change at least the modpath
|
||||
(<code>your_install_dir</code>) and define FHZ FHZ (<code>COM10</code>)
|
||||
parameters.</li>
|
||||
<li>Start the server with <code>fhem.pl <configfile></code></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3>General Notes for Webfrontends:</h3>
|
||||
<ul>
|
||||
<li>You don't have to install all of them, one is probably more than
|
||||
enough :-)</li>
|
||||
<li>The web server and the fhem server must be on the same host</li>
|
||||
<li><b>Important:</b> Make sure you add some protection (.htaccess, etc)
|
||||
else everybody will be able to set your devices</li>
|
||||
</ul>
|
||||
|
||||
<h3>Web frontend 2 (webfrontend/pgm2)</h3>
|
||||
<ul>
|
||||
This frontend is a FHEM module realising a primitive HTTP server -> You do
|
||||
not even need apache if security (password/HTTPS) is not a concern.
|
||||
It has support for grouping devices into rooms, manipulating devices, direct
|
||||
fhem commands, diplaying logfiles as text or (if gnuplot is installed) as
|
||||
graphs.<br>
|
||||
Screenshots: <a href="pgm2-1.png">one</a>, <a href="pgm2-2.png">two</a>.
|
||||
<br><br>
|
||||
|
||||
For installation see the webpgm/pgm2/README file.<br>
|
||||
|
||||
<h3>Web frontend 3 (webfrontend/pgm3)</h3>
|
||||
<ul>
|
||||
This frontend is PHP based and was contributed by Martin Haas.
|
||||
Look at the webfrontends/pgm3/docs for more documentation or at
|
||||
<a href="pgm3-0.5.1.png">this screenshot</a>. A lot more details can be
|
||||
found on Martins page: <a href="http://www.martin-haas.de/fhz">
|
||||
http://www.martin-haas.de/fhz</a>
|
||||
<br><br>
|
||||
|
||||
<ul>
|
||||
<li>Install PHP and enable it by commenting in the "LoadModule
|
||||
phpX_module ..." directive in httpd.conf (perhaps it is already
|
||||
done by your distro). Restart/reload httpd.</li>
|
||||
|
||||
<li>Create a directory (e.g.: /home/httpd/html/pgm3) and copy all the
|
||||
files from the webfrontend/pgm3 to this directory.<br>Make sure that this
|
||||
directory is writeable by the webserver!</li>
|
||||
|
||||
<li>Edit index.php (/home/httpd/html/pgm3/index.php), and check the
|
||||
required settings section</li>
|
||||
|
||||
<li>If you want to have access to the FHT temperature logs, then:
|
||||
<ul>
|
||||
<li>Make sure gnuplot is installed</li>
|
||||
<li>check the showgnuplot section in index.php</li>
|
||||
<li>For each FHT device copy the file docs/gnuplot/gnuplot.wz to
|
||||
gnuplot.fhtdevicename (to the /home/httpd/html/pgm3 directory) and
|
||||
replace fht.log in this file with the absolute name of the current
|
||||
logfile.</li>
|
||||
</ul>
|
||||
<li>Call <your-site>/pgm3/index.php</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<h3>Web frontend 4 (webfrontend/pgm4, the template)</h3>
|
||||
<ul>
|
||||
This frontend is PHP based and was contributed by Stefan Mayer. It won't work
|
||||
for you without modification, it is meant as a template or as an example. See
|
||||
the <a href="pgm4.gif">screenshot</a>. To install:
|
||||
<ul>
|
||||
<li>Copy the directory webfrontend/pgm4 to your html directory.</li>
|
||||
<li>Install/enable PHP (see the description for frontend3)</li>
|
||||
<li>Call the program with http://webserver/pgm4/fs20.php</li>
|
||||
</ul>
|
||||
Now you can go on, and modify it to suit your needs :-)
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
|
||||
<h2>License:</h2>
|
||||
<ul>
|
||||
Copyright:<br>
|
||||
<ul>
|
||||
<li>Rudolf Koenig (r dot koenig at koeniglich dot de)</li>
|
||||
<li>Raoul Matthiessen (webfrontends/pgm1)</li>
|
||||
<li>Martin Haas (webfrontends/pgm3)</li>
|
||||
</ul>
|
||||
License: GPL (v2)
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
|
||||
<h2>Misc:</h2>
|
||||
<ul>
|
||||
Thanks for Tosti for inspiration and numerous other people for help. <br>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user