1Wire Issues

Moderator: leecollings

Post Reply
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

1Wire Issues

Post 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
Attachments
Screenshot of Part identified temp sensor
Screenshot of Part identified temp sensor
Screenshot 2014-01-18 14.07.23.png (189.18 KiB) Viewed 4691 times
Screenshot 1 of Hardware list
Screenshot 1 of Hardware list
Screenshot 2014-01-18 14.07.10.png (189.93 KiB) Viewed 4691 times
Screenshot 2 of Hardware list
Screenshot 2 of Hardware list
Screenshot 2014-01-18 14.04.53.png (168.21 KiB) Viewed 4691 times
Hendrik
Posts: 18
Joined: Saturday 04 January 2014 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: 1Wire Issues

Post by Hendrik »

is 1-wire on your startup list from your raspberry?
CubieTruck with Domoticz
RfxTrx 433Mhz Usb, Rfx Sensor, Z-Wave
Slave Raspberry Pi with Domoticz, Piface, P1 usb
User avatar
elythomaslumber
Posts: 56
Joined: Friday 12 July 2013 13:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Solingen; Germany
Contact:

Re: 1Wire Issues

Post by elythomaslumber »

Did you enable 1-Wire in the SetUp/Hardware?
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Re: 1Wire Issues

Post 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
Hendrik
Posts: 18
Joined: Saturday 04 January 2014 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: 1Wire Issues

Post 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
CubieTruck with Domoticz
RfxTrx 433Mhz Usb, Rfx Sensor, Z-Wave
Slave Raspberry Pi with Domoticz, Piface, P1 usb
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Re: 1Wire Issues

Post 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
Raspberry Piet
Posts: 158
Joined: Saturday 11 January 2014 16:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: NL
Contact:

Re: 1Wire Issues

Post by Raspberry Piet »

Type
sudo nano /etc/modules

instead of
sudo nano / etc / modules
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Re: 1Wire Issues

Post by alarm_guy1 »

My god man you are a genius, many many thanks working a treat now

cheers
well chuffed
User avatar
gizmocuz
Posts: 2486
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: 1Wire Issues

Post by gizmocuz »

There is a wiki about this since years
http://www.domoticz.com/wiki/1Wire
Quality outlives Quantity!
enercon
Posts: 1
Joined: Saturday 08 March 2014 17:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: 1Wire Issues

Post 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.
Paul
Posts: 5
Joined: Saturday 31 October 2015 16:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: 1Wire Issues

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest