1wire i2c
Posted: Sunday 05 January 2025 11:24
Hey.
Have a installation with the i2c R-pi i2c 1wire expansion module
https://www.m.nu/adaptrar-natuppbyggnad ... module-v11
This have worked before, but it was long time sincce i used this installation.
Now i can not get the 1-wire to work. ¨¨
No sensors are showing under mnt/1wire/
The OWFS is installed, and i can see the card, but under mnt/1wire i cant find any temp sensors.
Have tried with replacing the senors (hardware), but nothing seams to work.
Any tips, on what im doing wrong?
owfs.conf
Not that good at linux, and im stuck. So any tips would be helpful.
Thank.
Have a installation with the i2c R-pi i2c 1wire expansion module
https://www.m.nu/adaptrar-natuppbyggnad ... module-v11
This have worked before, but it was long time sincce i used this installation.
Now i can not get the 1-wire to work. ¨¨
No sensors are showing under mnt/1wire/
The OWFS is installed, and i can see the card, but under mnt/1wire i cant find any temp sensors.
Have tried with replacing the senors (hardware), but nothing seams to work.
Any tips, on what im doing wrong?
Code: Select all
pi@raspberrypi:/mnt/1wire $ ls
bus.1 settings statistics structure system uncached
Code: Select all
# 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
#
server: device = /dev/i2c-1
######################### OWFS ##########################
#
mountpoint = /mnt/1wire
allow_other
#
####################### OWHTTPD #########################
http: port = 2121
####################### OWFTPD ##########################
ftp: port = 2120
####################### OWSERVER ########################
server: port = localhost:4304
Code: Select all
pi@raspberrypi:/etc $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- 1b -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Thank.