2
0
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:
tdressler 2008-05-10 21:09:10 +00:00
parent de1cc4ea3c
commit c10e7c1d8e
2 changed files with 317 additions and 258 deletions

View File

@ -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 &lt;name&gt; WS2000&lt;device_to_connect&gt;</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>

View File

@ -15,6 +15,7 @@ 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>
@ -73,6 +74,8 @@ Currently implemented features:<br>
<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>
@ -138,9 +141,10 @@ description and <a href="faq.html">faq.html</a> for the F.A.Q.
<h3>Perl modules</h3>
<ul>
You need perl with the Device::SerialPort (<a
You need perl &gt;=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>)
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
@ -149,7 +153,7 @@ description and <a href="faq.html">faq.html</a> for the F.A.Q.
$self->{HANDLE}->opened);</pre>
</ul>
<h3>Server installation</h3>
<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
@ -165,6 +169,23 @@ description and <a href="faq.html">faq.html</a> for the F.A.Q.
<li>Start the server with <code>fhem.pl &lt;configfile&gt;</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 &lt;configfile&gt;</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