Jump to content

1wire install issue. OWFS: Directory doesnt exist


66splitbus

Recommended Posts

Posted

So close to getting this working (I think) but running into a snag...

I installed Pi using the install guide: http://automationshack.com/Files/Raspbian_Setup_V5.pdf  Just before installing Nodelink I followed the 1wire setup from this guide from sheepwalk for the RPI2v2 interface I bought. That all went fine I think as I can now type owdir which returns the proper result and owread XXXX/temperature returns the correct temp. 

http://www.sheepwalkelectronics.co.uk/RPI2v2_software.php

The bummer it seems is inside NodeLink Im getting the following:

2019-07-15 18:01:50 - ISY NodeLink Server v0.9.33 started
2019-07-15 18:01:50 - OS: Linux raspberrypi 4.19.57-v7+ #1244 SMP Thu Jul 4 18:45:25 BST 2019 armv7l GNU/Linux
2019-07-15 18:01:50 - Mono version: 5.18.0.240 (Debian 5.18.0.240+dfsg-3 Sat Apr 20 05:16:08 UTC 2019)
2019-07-15 18:01:50 - Web config server started (http://192.168.1.101:8090)
2019-07-15 18:01:51 - ISY resolved to 192.168.1.125 (5.0.15A)
2019-07-15 18:01:51 - ISY Node Server config detected (profile 1)
2019-07-15 18:01:52 - OWFS: Directory does not exist [owfs1]

Any idea what I missed?

Thanks!!

Posted

Here's what I did to get OWFS running on a new Pi install:

Edit the modules file by the following command:

sudo nano /etc/modules

Add the following two lines to the file:

sudo modprobe i2c-bcm2708
sudo modprobe i2c-dev

Install the required new files:

sudo apt install i2c-tools owfs ow-shell

Edit the owfs.conf by the following command:

sudo nano /etc/owfs.conf

Comment out (by putting a # at the beginning) the line that says:

server: FAKE = DS18S20,DS2405


Then below it add the following line:

server: device=/dev/i2c-1

In owfs.conf Ensure the following changes are also present and not commented out:

mountpoint = /mnt/1wire
allow_other

Create the 1-wire directory:

sudo mkdir /mnt/1wire

Create service file by:

sudo nano /etc/systemd/system/owfs.service

Add the following lines to the file:

[Unit]
Description=1-wire filesystem FUSE mount
Documentation=man:owfs(1)
After=mysql.service

[Service]
Type=forking
ExecStart=/usr/bin/owfs -c /etc/owfs.conf
ExecStop=/usr/bin/umount /run/owfs
RuntimeDirectory=owfs

[Install]
WantedBy=multi-user.target

Enable and start the OWFS service 

Posted

Thank you so much! It was the last 2 steps I needed to do.

Up and running, so awesome to have this working again!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...