Personal tools

Difference between revisions of "OWFS"

From PhotoVoltaic Logger new generation

Jump to: navigation, search
m (Abstract)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
[[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.
 
<cite>[http://owfs.org owfs.org]</cite></blockquote>
 
<cite>[http://owfs.org owfs.org]</cite></blockquote>
Line 6: 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. You can take a look at http://owfs.org/index.php?page=building-under-ubuntu for an idea.
 
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.
Line 16: 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 22: 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 17: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