readme.txt

(3 KB) Pobierz
-------------------------------
NET Thermometer v0.98 by LancOS
-------------------------------

This is a simple UDP client/server program to provide a powerful
remote thermometer. You need to run the server on PC connected to
a TCP/IP network (i.e. Internet) with the thermometer attached to
a COM port. The client can be any host with TCP/IP capability.
It's possible to run the server on Linux and the client on Windows
and viceversa.

At the moment the client is available only with a command line
interface, but future versions will add a powerful GUI interface
and data logging capability.

--- Windows ---
To try the program open a MS-DOS shell window and run the server
specifying the COM port:

thermosrv -com 2 (to use COM2 alias /dev/ttyS1)

Then open another MS-DOS shell window and run the client to get
the temperature

nettherm -addr localhost
-------------

--- Linux ---
To try the program run the server specifiyng the COM port:

thermosrv -com 2 & (to use COM2 alias /dev/ttyS1)

Then you can run the client to get the temperature

nettherm -addr localhost
------------

Replace the localhost with the address or hostname of the server
(i.e.  192.168.1.1)

Use the -help flag to obtain the description for all parameters.


-----------------------
HOW TO GET THE SOFTWARE
-----------------------

You will find the last version of WEBThermometer/NetThermometer
at: http://www.LancOS.com

The program is copyrighted by Claudio Lanconelli and is
distributed under the GPL license (read the COPYING file).

Look at the source code, it's an example of UDP client/server
programming that works both for Linux and Windows.

-----------------------
HOW TO GET THE HARDWARE
-----------------------

You can build it yourself because it's very simple (look at the
schematic file schematic.png),
but if you prefer the hardware ready to use try to send me an e-mail at
lancos@libero.it

Alternatively the SI-Prog multipurpose programmer is able to work
with WEB Thermometer. If you are interested look at
http://www.LancOS.com/prog.html

You can attach up to 8 temperature sensors (Dallas DS1621), but
probably with all sensors you need an external power supply (+5V).


---------------
COMMON PROBLEMS
---------------

The result is "Err-11".
Check that the hardware is connected, the proper COM port
selected, and a good cable with all pins connected is used.

The result is "Err-13".
The temperature sensor is not responding.
Solution: connect the DS1621 sensor and select the proper
address (1-8).

The result is always "Err-14".
The therm.cgi process need to access the /dev/ttyS?
device. On RedHat Linux distributions the /dev/ttyS? has grant
rw access only to some users.
Solution: if you use Apache add the wwwrun or nobody user (look at
the httpd.conf file to know the user used by Apache) to the uucp
group (file /etc/groups)
Alternatively change the rights:
chmod 666 /dev/ttyS?
chmod 777 /var/lock

----------
THE AUTHOR
----------

You can contact Claudio Lanconelli at lancos@libero.it
or look at http://www.LancOS.com

I will appreciate any suggestions, so feel free to send me a mail.
Zgłoś jeśli naruszono regulamin