2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-19 18:56:03 +00:00

OSX additions

git-svn-id: https://svn.fhem.de/fhem/trunk@668 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2010-08-04 09:10:45 +00:00
parent d10351d613
commit 202f33497a

View File

@ -60,23 +60,22 @@
After starting, the logfile should look like:<pre> After starting, the logfile should look like:<pre>
2008.06.15 16:17:03 2: FHEMWEB port 8083 opened 2008.06.15 16:17:03 2: FHEMWEB port 8083 opened
2008.06.15 16:17:03 2: FHEMWEB port 8084 opened 2008.06.15 16:17:03 2: FHEMWEB port 8084 opened
2008.06.15 16:17:03 0: Server started (version ...) 2008.06.15 16:17:03 0: Server started (version ...)</pre>
</pre>
Connect to fhem with an internet browser:
<a href="http://localhost:8083/fhem">http://localhost:8083/fhem</a><br>
or
<a href="http://localhost:8084/fhem">http://localhost:8084/fhem</a> if
you are using a small-screen browser (e.g a smartphone).
</ul> </ul>
<a name="FHZ"></a> <a name="FHZ"></a>
<h3>Attaching the USB device for the PC (CUL / FHZ / EM1010PC)</h3> <h3>Attaching the USB device for the PC (CUL / FHZ1x00PC / EM1010PC)</h3>
<ul> <ul>
Attach the USB device (CUL, FHZ1000/FHZ1300, EM1010PC) to your computer, Connect to fhem with an internet browser:
and look for the corresponding device in the /dev directory.<br> <a href="http://localhost:8083/fhem">http://localhost:8083/fhem</a>
For CUL a file named /dev/ttyACM* will be created under Linux and or
/dev/cu.usbmodem* under OSX. Note the exact name of the device. <a href="http://localhost:8084/fhem">http://localhost:8084/fhem</a> if
you are using a small-screen browser (e.g a smartphone).<br><br>
Attach the USB device (CUL, FHZ1000PC/FHZ1300, EM1010PC) to your
computer, and look for the corresponding device in the /dev
directory.<br> For CUL a file named /dev/ttyACM* will be created under
Linux and /dev/cu.usbmodem* under OS X. Note the exact name of the device.
Define it for fhem (by typing it in the "Fhem cmd" input field in the Define it for fhem (by typing it in the "Fhem cmd" input field in the
browser):<pre> browser):<pre>
define CUL1 CUL /dev/ttyACM0 1234</pre> define CUL1 CUL /dev/ttyACM0 1234</pre>
@ -84,10 +83,13 @@
You can find details about CUL define parameters <a You can find details about CUL define parameters <a
href="commandref.html#CUL">here</a>.<br><br> href="commandref.html#CUL">here</a>.<br><br>
The same is to be done for the <a href="commandref.html#FHZ">FHZ</a> with
Instead of the CUL you can also use an <a slightly different parameters:<pre>
href="commandref.html#FHZ">FHZ</a> with slightly different parameters define FHZ1 FHZ /dev/ttyUSB0</pre>
(define FHZ1 FHZ /dev/ttyUSB0). For the FHZ on OSX you need to install the ftdi driver first from <a
href="http://www.ftdichip.com/Drivers/VCP.htm">
http://www.ftdichip.com/Drivers/VCP.htm</a>, the device name will be
/dev/cu.usbserial-xxxxxxxx.
<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
@ -303,7 +305,6 @@
characters (year/month/week/day), look at the FileLog definition. characters (year/month/week/day), look at the FileLog definition.
Don't forget to enable archiving with the archivedir or archivecmd Don't forget to enable archiving with the archivedir or archivecmd
attributes.<br><br> attributes.<br><br>
</ul> </ul>
<a name="tips"></a> <a name="tips"></a>
@ -348,10 +349,7 @@
configure a fake logfile with the correct filename and an unused regexp, configure a fake logfile with the correct filename and an unused regexp,
e.g.<br><pre> e.g.<br><pre>
define messages FileLog /var/log/messages fakelog</pre> define messages FileLog /var/log/messages fakelog</pre>
</ul> </ul>
<br>
<a name="structure"></a> <a name="structure"></a>