Personal tools

Difference between revisions of "OWFS"

From PhotoVoltaic Logger new generation

Jump to: navigation, search
m (Setup)
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Abstract ==
+
[[Category:Scripts]]
 
+
<blockquote>OWFS 1-Wire File System is an easy way to use the powerful 1-wire system of Dallas/Maxim.
<blockquote>OWFS 1-Wire File System is an easy way to use the powerful 1-wire system of Dallas/Maxim. -- [http://owfs.org OWFS]</blockquote>
+
<cite>[http://owfs.org owfs.org]</cite></blockquote>
  
 
Scripts located in <tt>owfs/</tt>
 
Scripts located in <tt>owfs/</tt>
Line 7: Line 7:
 
== Installation ==
 
== Installation ==
  
The script needs a correct installed OWFS on your system.
+
The script needs a correct installed OWFS on your system. Please refer to the specific installation guides for your system.
 
 
Please refer to the specific installation guides for your system.
 
  
For Debian is no stable package available, so you have to install it from source.
+
For Debian is no stable package available, so you have to install it from source. You can take a look at http://owfs.org/index.php?page=building-under-ubuntu for an idea.
  
 
You can use the included <tt>owfs/owfs-init.sh</tt> on system start.
 
You can use the included <tt>owfs/owfs-init.sh</tt> on system start.
Line 17: Line 15:
 
Copy the file into <tt>/etc/init.d</tt> and run  
 
Copy the file into <tt>/etc/init.d</tt> and run  
  
  $ sudo update-rc.d owfs.init.sh defaults
+
  # sudo update-rc.d owfs.init.sh defaults
  
 
== Setup ==
 
== Setup ==
Line 23: Line 21:
 
Define your channels as described [[1-Wire sensor|here]].
 
Define your channels as described [[1-Wire sensor|here]].
  
  $ cp owfs/owfs.conf.dist owfs/owfs.conf
+
  # cp owfs/owfs.conf.dist owfs/owfs.conf
  
 
Edit config file and fill in all your channel GUIDs.
 
Edit config file and fill in all your channel GUIDs.
 +
 +
== Test ==
  
 
Test your config with
 
Test your config with
  
  $ bin/owfs/owfs.sh -tv owfs/owfs.conf
+
  # bin/owfs/owfs.sh -tv owfs/owfs.conf
 
 
[[Category:Scripts]]
 

Latest revision as of 18:47, 12 July 2014

OWFS 1-Wire File System is an easy way to use the powerful 1-wire system of Dallas/Maxim. owfs.org

Scripts located in owfs/

Installation

The script needs a correct installed OWFS on your system. Please refer to the specific installation guides for your system.

For Debian is no stable package available, so you have to install it from source. You can take a look at http://owfs.org/index.php?page=building-under-ubuntu for an idea.

You can use the included owfs/owfs-init.sh on system start.

Copy the file into /etc/init.d and run

# sudo update-rc.d owfs.init.sh defaults

Setup

Define your channels as described here.

# cp owfs/owfs.conf.dist owfs/owfs.conf

Edit config file and fill in all your channel GUIDs.

Test

Test your config with

# bin/owfs/owfs.sh -tv owfs/owfs.conf