Page 1 of 1

1Wire Issues

Posted: Saturday 18 January 2014 15:09
by alarm_guy1
Hi guys,
I have an issue that I posted in bus/problems, but had no response to.

in my list of hardware I no longer have 1wire, even in the recent update, there are a few extras but no 1wire.

Is there anything I can do to force the list, I have restarted my PI but still nothing.
I wanted to add 3 temp sensors for the lounge kitchen and hall,
Currently I have 1 sensor the Pi can see it and Domoticz can sort of see it as per the attached screenshot, but it doesnt know it is a 1wire device.

I am attaching a screenshot of my list too (this is 2 screenshots as the new list is longer

Re: 1Wire Issues

Posted: Saturday 18 January 2014 15:12
by Hendrik
is 1-wire on your startup list from your raspberry?

Re: 1Wire Issues

Posted: Saturday 18 January 2014 16:55
by elythomaslumber
Did you enable 1-Wire in the SetUp/Hardware?

Re: 1Wire Issues

Posted: Saturday 18 January 2014 19:13
by alarm_guy1
Hi elythomaslumber, thanks for the reply, but this is my issue 1wire is not in Setup\Hardware type list.

Hi Hendrik how do I tell if 1wire is on the startup list on the Pi?

cheers

Re: 1Wire Issues

Posted: Saturday 18 January 2014 19:31
by Hendrik
You need to add two lines that must be loaded after reboot
These are: w1-gpio and w1-therm
This can be done with:
sudo nano / etc / modules
and then add them under the last line
it should resemble the following

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

snd-bcm2835
ipv6
w1-gpio
w1-therm

Re: 1Wire Issues

Posted: Saturday 18 January 2014 20:09
by alarm_guy1
Thanks for the continued support,
I ran
sudo nano / etc / modules
I got a blank Nano screen (no other lines of text)
So I copied and pasted the following

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

snd-bcm2835
ipv6
w1-gpio
w1-therm

and saved it as 1wire (I assume it is in /etc/modules) but i cant find it

what do I do now?
cheers

Re: 1Wire Issues

Posted: Saturday 18 January 2014 20:31
by Raspberry Piet
Type
sudo nano /etc/modules

instead of
sudo nano / etc / modules

Re: 1Wire Issues

Posted: Saturday 18 January 2014 20:45
by alarm_guy1
My god man you are a genius, many many thanks working a treat now

cheers
well chuffed

Re: 1Wire Issues

Posted: Sunday 24 August 2014 12:24
by gizmocuz
There is a wiki about this since years
http://www.domoticz.com/wiki/1Wire

Re: 1Wire Issues

Posted: Saturday 11 October 2014 14:28
by enercon
Hi Gents,

I have the same symtons, lost the one wire devices when i upgraded, i have reinstalled from scratch and have w1-gpio and w1-therm in /etc/modules, but nothing in the setup/hardware/type dropdown for 1 wire?

Any help would be appreciated.

Re: 1Wire Issues

Posted: Wednesday 11 November 2015 19:36
by Paul
I made the errors go away by commenting out the w1 modules in /etc/modules and commenting out the device tree setup in /boot/config/txt

#dtoverlay=w1-gpio

I was seeing w1_bus_master popping up in top every 2 seconds or so and hogging 30% of the raspberry cpu.

error and cpu load now gone... raspberry B+ running at 0.19 load avg with mjpeg streamer on port 9090 also running on same RPi as domoticz and functioning as a domoticz webcam by using the ImageURL ?action=snapshot

really old webcam as well!

WOW Awesome!

mjpeg_streamer... Awesome
domoticz... Awesome
V41... Awesome
Linux... Awesome
RPi... Awesome

Arduino universe... AWESOME