to operate the weather station WS2300 open2300 I use the package by Kenneth Jahn Lavrsen. The project is http://www.lavrsen.dk/twiki/bin/view/Open2300/WebHome
described.
First download the program code: open terminal as root
*********************************** ***************************************
wget http://puzzle.dl.sourceforge.net/sourceforge/open2300/open2300-1.10.tar.gz
tar-xvzf open2300-1.10.tar.gz
*********** ************************************************** *************
with "ls" see if the directory "open2300-1.10" was created.
If so, then go to the directory with "cd-open2300 1.10".
Then the command "make all" command. With the call to "make" is the C-compiler into the game and generates the executable program parts. The compiler should finish without errors.
vegetables now the programs are only copied into the target directory that you do now with "make install".
be this way, the program parts to "/ usr / local / bin" folder.
be compiled Next step, the program mysql2300 "that you make with" make mysql2300.
Then the finished program to "/ usr / local / bin /" copy.
Next, you put a database open2300 "and creates a table called" weather ".
For this work, use is made of the best "phpmyadmin" Tools, it should run on the server Eisfair already.
I use the-developer of a Windows PC on the same network. The phpMyAdmin shows a graphical interface to control the mysql database.
http://ip-adresse/phpmyadmin So call with ".
to generate the table weather you open the file with import from the mysql2300.sql open2300-1.10 directory.
should the terminal window of the nam-developer to control the program with mysql2300 start, there shall be no error messages.
should Upon successful passage and connected WS2300 now data in the table may be present.
This is a condition that can be represented with weather office-0.5 data on the website.
The result can be here .
see
0 comments:
Post a Comment