1Wire

After installing openhabian-config, Optional Components, 1wire I get

│ Setup was successful.                                                        │
│ Next, please configure your system in /etc/owfs.conf.                        │
│ Use # to comment/deactivate a line. All you should have to change is the     │
│ following. Deactivate                                                        │
│   server: FAKE = DS18S20,DS2405                                              │
│ and activate one of these most common options (depending on your device):    │
│   #server: usb = all                                                         │
│   #server: device = /dev/ttyS1                                               │
│   #server: device = /dev/ttyUSB0                                             │

My /etc/owfs.conf

# Sample configuration file for the OWFS suite for Debian GNU/Linux.
#
#
# This is the main OWFS configuration file. You should read the
# owfs.conf(5) manual page in order to understand the options listed
# here.

######################## SOURCES ########################
#
# With this setup, any client (but owserver) uses owserver on the
# local machine...
! server: server = localhost:4304
#
# ...and owserver uses the real hardware, by default fake devices
# This part must be changed on real installation
server: FAKE = DS18S20,DS2405
#
# USB device: DS9490
#server: usb = all
#
# Serial port: DS9097
#server: device = /dev/ttyS1
#
# owserver tcp address
#server: server = 192.168.10.1:3131
#
# random simulated device
#server: FAKE = DS18S20,DS2405
#
######################### OWFS ##########################
#
#mountpoint = /mnt/1wire
#allow_other
#
####################### OWHTTPD #########################

http: port = 2121

####################### OWFTPD ##########################

ftp: port = 2120

####################### OWSERVER ########################

server: port = localhost:4304

I want to use RaspberryPi3 GPIO04 for 1wire. With lines are to activate?

1 Like

Do you solved this?

I have the exact same problem.
Could someone clarify if we can use owfs server without any USB device?
1wire devices can be attached directly to raspberry. Is this binding the right one in that case?