Web Thermometer
Misura la temperatura sul web

Web Thermometer - Misura la temperatura sul web



Web Thermometer

WebThermometer + NetThermometer sono una coppia di software che ti permettono di misurare una temperatura remota tramite un web browser via HTTP (il primo) o il protocollo TCP/IP (il secondo).

Questo progetto è di diversi anni fa, rimane valido come riferimento, ma andrebbe aggiornato con le tecnologie moderne.

WebThermometer requirements

WebThermometer requires on the server side:

  • a PC with Windows or Linux installed
  • a simple hardware connected to the COM port
  • a http server (like “Microsoft Personal Web Server” or “Apache”) running on the PC
  • the following files in the cgi-bin directory: cgitherm.exe (Windows) or therm.cgi (Linux) and sekeleton.html. The skeleton.html file is the HTML template for the results page (optional).

On the client side it requires only a web browser (Chrome, Firefox, etc.)

NetThermometer requirements

NetThermometer requires on the server side:

  • a PC with a COM port with Windows or Linux
  • a simple hardware connected to the COM port
  • a TCP/IP network

NetThermometer requires on the client side:

  • a PC with Windows or Linux installed
  • a TCP/IP network

It’s possible to run the server on Linux and the client on Windows and viceversa.

Where can I get the software?

You will find the last version of WEBThermometer/NetThermometer here The software is copyrighted by Claudio Lanconelli (alias LancOS) and is distributed under the GPL license. You should read the COPYING file before to download.

Where can I get the hardware?

You can build it yourself because it’s very simple, look at the schematic: Schematic

How many sensors can I connect to WebThermometer?

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

Can I change the html result page?

You can create your own result page in HTML, some tips:

The page should have the tag ‘RESULTS’ in place of the result string The page should have the REFRESH meta tag with the ‘RELOAD_TIME’ tag in place of the number of seconds If you like WebTherm add a link to my URL http://www.LancOS.com, please

I suggest to start editing the default skeleton.html file. Note that skeleton.html file must be in the same directory of cgitherm.exe file. If no skeleton.html is found, the default embedded template will be used instead.

What does it mean “Err-11” response?

Check that the hardware is connected and the correct COM port is selected on the dedicated server. Check also the serial cable, it should be a modem cable with all the pins connected.

What does it mean “Err-13” response?

Ther temperature sensor is not responding. Solution: connect the DS1621/DS1631 sensor and select the proper address (1-8). Note that if I have only one sensor at address 1 and I select the addresses 1-3 (sensor 1 + sensor 2 + sensor 3) the result will be 27ºC Er-13 Er-13 if the current temperature is 27ºC.

What does it mean “Err-14” response?

The program can’t open the COM port you selected. Usually the reason is another program are using the COM port, so change the COM port. Under Linux check that the http process has rights to read/write the selected COM port (/dev/ttyS?) and the /var/lock directory. Try the cgi-test script before to install therm.cgi (both are located in the cgitherm directory). JAVA version need the COMMAPI to access the COM port of the PC, you can download it from http://java.sun.com

What does it mean “Err-20” response?

A timing error. Try to install the last version of webthermometer, if the problem persists send me an e-mail.

Software Download

Read the Copying.txt file before to download the software, please. If you click on the links above it means you agree with the terms of the license.

WEB Thermometer Version 0.99b (ZIP)

WEB Thermometer Version 0.99 (TAR GZ)

torna all'inizio dei contenuti