1wire i2c

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
Lillios
Posts: 8
Joined: Sunday 04 December 2016 22:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

1wire i2c

Post by Lillios »

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?

Code: Select all

pi@raspberrypi:/mnt/1wire $ ls
bus.1  settings  statistics  structure  system  uncached
owfs.conf

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: -- -- -- -- -- -- -- --
Not that good at linux, and im stuck. So any tips would be helpful.

Thank.
willemd
Posts: 649
Joined: Saturday 21 September 2019 17:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: The Netherlands
Contact:

Re: 1wire i2c

Post by willemd »

Did you check the wiki?
https://wiki.domoticz.com/1Wire
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest