OWFS(5)
β¨ OWFS(5) β One-Wire File System β¨
okay so bestie, welcome to the One-Wire File System manpage π this is the OWFS(5) page, and it's all about the config file. let's get into it π«Ά
π NAME π
owfs.conf β the configuration file for the owfs programs
πΈ SYNOPSIS πΈ
An OWFS configuration file gets named on the command line, like this:
owfs -c config_file [other options]
and fr, the file name is arbitrary β there is no default configuration file used. you pick the name, you pick the file, periodt. π
π¦ USAGE π¦
You can invoke a configuration file for any of the OWFS programs β that's owfs (1), owhttpd (1), owserver (1), owftpd (1) β or for any of the language bindings β owperl (1), owcapi (1), owtcl (1), owphp, owpython β to set command line parameters. one file, so many friends, iconic π«
π SYNTAX π
It's giving Unix shell script or perl syntax, iykyk.
π¬ Comments
#Any#marks the start of a comment#blank lines are ignored
βοΈ Options
option# some options (like 'foreground') take no valuesoption = value# other options need a valueoption value# '=' can be omitted if whitespace separatesOption# Case is ignored (for options, not values)opt# non-ambiguous abbreviation allowed-opt --opt# hyphens ignored
π₯οΈ owserver
server: opt = value# only owserver effected by this line! server: opt = value# owserver NOT effected by this line
π owhttpd
http: opt = value# only owhttpd effected by this line! http: opt = value# owhttpd NOT effected by this line
π‘ owftpd
ftp: opt = value# only owftpd effected by this line! ftp: opt = value# owftpd NOT effected by this line
π owfs
owfs: opt = value# only owfs effected by this line! owfs: opt = value# owfs NOT effected by this line
π§ Limits
- maximum line length of
250characters - no limit on number of lines
π DESCRIPTION π
π 1-Wire
1-wire is a wiring protocol and series of devices designed and manufactured by Dallas Semiconductor, Inc. The bus is a low-power low-speed low-connector scheme where the data line can also provide power. like, the data line is doing double duty, main character energy fr π₯
Every device is uniquely and unalterably numbered during manufacture. There are a wide variety of devices, including memory, sensors (humidity, temperature, voltage, contact, current), switches, timers and data loggers. More complex devices (like thermocouple sensors) can be built with these basic devices. There are also 1-wire devices that have encryption included. π
The 1-wire scheme uses a single bus master and multiple slaves on the same wire. The bus master initiates all communication. The slaves can be individually discovered and addressed using their unique ID.
Bus masters come in a variety of configurations including serial, parallel, i2c, network or USB adapters. so many options bestie, we love versatility πΈ
π§ OWFS design
OWFS is a suite of programs that designed to make the 1-wire bus and its devices easily accessible. The underlying principle is to create a virtual filesystem, with the unique ID being the directory, and the individual properties of the device are represented as simple files that can be read and written. it's literally a filesystem, but make it 1-wire π
Details of the individual slave or master design are hidden behind a consistent interface. The goal is to provide an easy set of tools for a software designer to create monitoring or control applications. There are some performance enhancements in the implementation, including data caching, parallel access to bus masters, and aggregation of device communication. Still the fundamental goal has been ease of use, flexibility and correctness rather than speed. slay, honestly π«Ά
π οΈ Configuration
owfs.conf (5) allows a uniform set of command line parameters to be set. β¨
Not all OWFS programs use the same command line options, but the non-relevant ones will be ignored. no stress.
Command line and configuration options can mixed. They will be invoked in the order presented. Left to right for the command line. Top to bottom for the configuration file. π
Configuration files can call other configuration files. There is an arbitrary depth of 5 levels to prevent infinite loops. More than one configuration file can be specified. yes bestie, recursion protection, we stan a responsible filesystem π
π SAMPLE π
Here is a sample configuration file with all the possible parameters included. every single one. no cap. π
# Sources
device = /dev/ttyS0 # serial port: DS9097U DS9097 ECLO or LINK
device = /dev/i2c-0 # i2c port: DS2482-100 or DS2482-800
usb # USB device: DS9490 PuceBaboon
usb = 2 # Second DS9490
usb = all # All DS9490s
altUSB # Willy Robison's tweaks
LINK = /dev/ttyS0 # serial LINK in ascii mode
LINK = [address:]port # LINK-HUB-E (tcp access)
HA7 # HA7Net autodiscovery mode
HA7 = address[:port] # HA7Net at tcp address (port 80)
etherweather = address[:port] # Etherweather device
server = [address:]port # owserver tcp address
FAKE = 10,1B # Random simulated device with family codes (hex)
TESTER = 28,3E # Predictable simulated device with family codes
#
# Sinks
# # owfs specific
mountpoint = filelocation # FUSE mount point
allow_other # Short hand for FUSE mount option "
# # owhttpd owserver owftpd specific
port = [address:]port # tcp out port
#
# Temperature scales
Celsius # default
Fahrenheit
Kelvin
Rankine
#
# Timeouts (all in seconds)
# cache for values that change on their own
timeout_volatile = value # seconds "volatile" values remain in
cache
# cache for values that change on command
timeout_stable = value # seconds "stable" values remain in cache
# cache for directory lists (non-alarm)
timeout_directory = value # seconds "directory" values remain in
cache
# cache for 1-wire device location
timeout_presence = value # seconds "device presence" (which bus)
timeout_serial = value # seconds to wait for serial response
timeout_usb = value # seconds to wait for USB response
timeout_network = value # seconds to wait for tcp/ip response
timeout_ftp = value # seconds inactivity before closing ftp
session
#
# Process control
configuration = filename # file (like this) of program options
pid_file = filename # file to store PID number
foreground
background # default
readonly # prevent changing 1-wire device contents
write # default
error_print = 0-3 # 0-mixed 1-syslog 2-stderr 3-suppressed
error_level = 0-9 # increasing noise
#
# zeroconf / Bonjour
zero # turn on zeroconf announcement (default)
nozero # turn off zeroconf announcement
announce = name # name of announced service (optional)
autoserver # Add owservers descovered by zeroconf/Bonjour
noautoserver # Don't use zeroconf/Bonjour owservers (default)
#
# tcp persistence
timeout_persistent_low = 600 # minimum time a persistent socket
will stay open
timeout_persistent_high = 3600 # max time an idle client socket
will stay around
#
# Display
format = f[.]i[[.]c] # 1-wire address f amily i d code c rc
#
# Cache
cache_size = 1000000 # maximum cache size (in bytes) or 0 for no
limit (default 0) #
# Information
# (silly in a configuration file)
version
help
morehelp
π SEE ALSO π
π§° Programs
owfs (1) owhttpd (1) owftpd (1) owserver (1) owdir (1) owread (1) owwrite (1) owpresent (1) owtap (1)
π§ͺ Configuration and testing
owfs (5) owtap (1) owmon (1)
π£οΈ Language bindings
owtcl (3) owperl (3) owcapi (3)
β° Clocks
DS1427 (3) DS1904 (3) DS1994 (3) DS2404 (3) DS2404S (3) DS2415 (3) DS2417 (3)
πͺͺ ID
DS2401 (3) DS2411 (3) DS1990A (3)
πΎ Memory
DS1982 (3) DS1985 (3) DS1986 (3) DS1991 (3) DS1992 (3) DS1993 (3) DS1995 (3) DS1996 (3) DS2430A (3) DS2431 (3) DS2433 (3) DS2502 (3) DS2506 (3) DS28E04 (3) DS28EC20 (3)
π Switches
DS2405 (3) DS2406 (3) DS2408 (3) DS2409 (3) DS2413 (3) DS28EA00 (3)
π‘οΈ Temperature
DS1822 (3) DS1825 (3) DS1820 (3) DS18B20 (3) DS18S20 (3) DS1920 (3) DS1921 (3) DS1821 (3) DS28EA00 (3) DS28E04 (3)
π§ Humidity
DS1922 (3)
β‘ Voltage
DS2450 (3)
π§² Resistance
DS2890 (3)
ποΈ Multifunction (current, voltage, temperature)
DS2436 (3) DS2437 (3) DS2438 (3) DS2751 (3) DS2755 (3) DS2756 (3) DS2760 (3) DS2770 (3) DS2780 (3) DS2781 (3) DS2788 (3) DS2784 (3)
π’ Counter
DS2423 (3)
πΊ LCD Screen
LCD (3) DS2408 (3)
π Crypto
DS1977 (3)
π Pressure
DS2406 (3) -- TAI8570
π AVAILABILITY π
π AUTHOR π
Paul Alfille (paul.alfille@gmail.com)
π and that's the whole page bestie!! go forth and configure, you absolute legend π
OWFS Configuration File Manpage Β· 2006 Β· OWFS(5) β mwah, sending you off with a lil kiss, bye pookie π«Άβ¨π
π¦ where this page comes from
- alpine 3.24: owfs-doc 3.2_p4-r1 Β· GPL-2.0-only
- debian bookworm: owfs-common 3.2p4+dfsg1-4.1 Β· GPL-2.0-only
- debian trixie: owfs-common 3.2p4+dfsg1-6 Β· GPL-2.0-only
- fedora 43: owfs-devel 3.2p4-13.fc43 Β· GPL-2.0-only
- fedora 43: owfs-devel 3.2p4-13.fc43 Β· GPL-2.0-only
- fedora 43: owfs-libs 3.2p4-13.fc43 Β· GPL-2.0-only
- fedora 43: owfs-libs 3.2p4-13.fc43 Β· GPL-2.0-only
- fedora 44: owfs-devel 3.2p4-15.fc44 Β· GPL-2.0-only
- fedora 44: owfs-devel 3.2p4-15.fc44 Β· GPL-2.0-only
- fedora 44: owfs-libs 3.2p4-15.fc44 Β· GPL-2.0-only
- fedora 44: owfs-libs 3.2p4-15.fc44 Β· GPL-2.0-only
- nixos 26.05: libow 3.2p4
- nixpkgs unstable: libow 3.2p4
- ubuntu jammy: owfs-common 3.2p4+dfsg1-4build5 Β· GPL-2.0-only
- ubuntu noble: owfs-common 3.2p4+dfsg1-4.3build2 Β· GPL-2.0-only
- ubuntu questing: owfs-common 3.2p4+dfsg1-6
- ubuntu resolute: owfs-common 3.2p4+dfsg1-7 Β· GPL-2.0-only
- ubuntu stonking: owfs-common 3.2p4+dfsg1-7build1 Β· GPL-2.0-only
- Copyright (c) 2003-2008 Paul H Alfille, MD
- Copyright (c) 2003-2004 Paul H Alfille, MD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms