Difference between revisions of "OWFS"
From PhotoVoltaic Logger new generation
m (→Abstract) |
m |
||
Line 6: | Line 6: | ||
== 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 14: | ||
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 | |
== Setup == | == Setup == | ||
Line 22: | Line 20: | ||
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 | |
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 | |
[[Category:Scripts]] | [[Category:Scripts]] |
Revision as of 08:08, 8 April 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