mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
OSX changes, default updates
git-svn-id: https://svn.fhem.de/fhem/trunk@664 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d558694b60
commit
cfc272864e
@ -43,12 +43,14 @@
|
|||||||
|
|
||||||
|
|
||||||
<a name="starting"></a>
|
<a name="starting"></a>
|
||||||
<h3>Starting</h3>
|
<h3>Starting fhem</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
Skip this section if you installed fhem via the Debian package.<br><br>
|
||||||
|
|
||||||
First install the Device::SerialPort (or Win32::SerialPort) perl module
|
First install the Device::SerialPort (or Win32::SerialPort) perl module
|
||||||
with the command <code>"cpan -i Device::SerialPort"</code></br>
|
with the command <code>"sudo cpan Device::SerialPort"</code></br>
|
||||||
The default configuration will install fhem into /usr/local/bin,
|
The default configuration will install fhem into /usr/bin,
|
||||||
/usr/local/lib/FHEM and /var/log/fhem. Edit the Makefile to change
|
/usr/share/fhem and /var/log/fhem. Edit the Makefile to change
|
||||||
this.
|
this.
|
||||||
|
|
||||||
To install & start fhem type:<pre>
|
To install & start fhem type:<pre>
|
||||||
@ -69,17 +71,23 @@
|
|||||||
|
|
||||||
|
|
||||||
<a name="FHZ"></a>
|
<a name="FHZ"></a>
|
||||||
<h3>Attaching an FHZ/CUL</h3>
|
<h3>Attaching the USB device for the PC (CUL / FHZ / EM1010PC)</h3>
|
||||||
<ul>
|
<ul>
|
||||||
Attach the FHZ1000 or FHZ1300 to your computer, and look for a file named
|
Attach the USB device (CUL, FHZ1000/FHZ1300, EM1010PC) to your computer,
|
||||||
/dev/ttyUSB0 or /dev/tts/USB0 (or /var/elv on the Fritz!Box).
|
and look for the corresponding device in the /dev directory.<br>
|
||||||
Define it for fhem (by typing it in the
|
For CUL a file named /dev/ttyACM* will be created under Linux and
|
||||||
"Fhem cmd" input field in the browser):<pre>
|
/dev/cu.usbmodem* under OSX. Note the exact name of the device.
|
||||||
define FHZ1 FHZ /dev/ttyUSB0</pre>
|
Define it for fhem (by typing it in the "Fhem cmd" input field in the
|
||||||
You can find details <a href="commandref.html#define">here</a> and
|
browser):<pre>
|
||||||
<a href="commandref.html#FHZ">here</a>. Instead of an FHZ you can also
|
define CUL1 CUL /dev/ttyACM0 1234</pre>
|
||||||
use a <a href="commandref.html#CUL">CUL</a> with slightly different
|
|
||||||
parameters (define CUL CUL /dev/ttyACM0 1234).
|
You can find details about CUL define parameters <a
|
||||||
|
href="commandref.html#CUL">here</a>.<br><br>
|
||||||
|
|
||||||
|
|
||||||
|
Instead of the CUL you can also use an <a
|
||||||
|
href="commandref.html#FHZ">FHZ</a> with slightly different parameters
|
||||||
|
(define FHZ1 FHZ /dev/ttyUSB0).
|
||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
<b>Note:</b> Don't forget to type "save" in the "Fhem cmd" input field of
|
<b>Note:</b> Don't forget to type "save" in the "Fhem cmd" input field of
|
||||||
@ -354,7 +362,7 @@
|
|||||||
See the <a href="commandref.html#devspec">devspec</a> paragraph for details.<br>
|
See the <a href="commandref.html#devspec">devspec</a> paragraph for details.<br>
|
||||||
For more complex scenarios consider the <a href="commandref.html#structure">
|
For more complex scenarios consider the <a href="commandref.html#structure">
|
||||||
structure</a> module. You can define different structure levels like
|
structure</a> module. You can define different structure levels like
|
||||||
floors, buildings, etc. and set all elements of a gives structure at once.
|
floors, buildings, etc. and set all elements of a given structure at once.
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -278,17 +278,19 @@
|
|||||||
<li>Install <a href="http://www.koeniglich.de/fhem/fhem-=VERS=.deb">
|
<li>Install <a href="http://www.koeniglich.de/fhem/fhem-=VERS=.deb">
|
||||||
this</a> package, and connect to
|
this</a> package, and connect to
|
||||||
http://localhost:8083/fhem (or to http://localhost:8084/fhem for
|
http://localhost:8083/fhem (or to http://localhost:8084/fhem for
|
||||||
smartphones)
|
smartphones). Follow the <a href="HOWTO.html">HOWTO</a> for adding
|
||||||
|
devices.
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
<h3>Unix/OSX</h3>
|
<h3>Unix / OSX</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Make sure you have perl. Install the module Device::SerialPort with
|
<li>Make sure you have perl. Install the module Device::SerialPort with
|
||||||
"cpan Device::SerialPort"</li>
|
"sudo cpan Device::SerialPort"</li>
|
||||||
<li>Check the Makefile for the installation path, then type make
|
<li>Check the Makefile for the installation path, then type make
|
||||||
install-pgm2.</li>
|
install-pgm2.</li>
|
||||||
<li>Check the installed configuration file and start fhem as advised.
|
<li>Check the installed configuration file and start fhem as advised.
|
||||||
|
<li>Follow the <a href="HOWTO.html">HOWTO</a> for adding devices.
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h3>Windows</h3>
|
<h3>Windows</h3>
|
||||||
|
Loading…
Reference in New Issue
Block a user