-- weitergeleitete email ---
von:: cettl
an:: [email protected]
betreff:: Simple program switching a DS2405??!
datum:: 19.01.08 23:49
Hello sourceforge community!
This is my first mail directly to you, and I hope, someone here can help me
(Please)!!
I?m a newbie in all this 1-wire things and Unix. I have a DS2405 which I
want to control with the help of the NSLU2 from a web browser. With
hardware, I have no problem (since I?m an analog designer), but with
software, hehe!
Here is my status, what is working and what not:
What?s already functioning now, are the commands:
"owwrite 05.24302C000000/PIO 1"
"owwrite 05.24302C000000/PIO 0"
I can see this DS2405 also in the web browser of the owfs written by Paul
Alfille (http://192.168.1.77:3001/Serial_Number_of_device). Unfortunately,
the PIO changes only from ?off? to ?on?. I also tried the perl temperature
reading program by Paul Alfille. Over the web browser, I can see the
temperature, but the program running on the NSLU2 gives back an error
message.
However, I have absolutely no idea about is how I do this web browser
connection by MYSELF. Yes, in principle, this web browser from Paul does
exactly the same thing I want, but with the difference that all this is
somewhere written and distributed in the 100000 files of this owfs. So what
I badly would need is a VERY SIMPLE program which does change the output of
the DS2405 when clicking with the mouse. But now, everything is integrated
somehow (and I cannot follow how) in this large owfs. I have to start with a
very simple program and then, it should be no problem for me to add some
code to make more functions I want.
What I want at the end is making a water plant system: The NSLU over the
1-wire measures the water level on a plant and controls a DS2405 which
controls a valve to water it. This system should run on itself and for
maintanance or for adding a plant I want to connect the computer and see on
the web browser which plant got how much water and so on.
And now I beg if anyone could be so nice and write me this very little
program which does the following: When I click with the mouse on the button
?ON?, this DS2405 should switch on, when I click on the button ?OFF?. For
me, it is important that it is a very simple program, consisting only of
some lines (I heard, perl would be good). As I said, it?s no problem for me
to continue by myself and enlarge this little program with more functions
etc., but now, I have absolutely no idea how to start. I tried already some
perl programs (e.g. reading the temperature from a DS
THANK YOU in advance for your willingness to help me!!
Bernd2700
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers