OpenHabian 1wire / 1wire binding not working

  • Platform information:
    • Hardware: Rasperry Pi Zero W
    • OS: OpenHabian [master]v1.4.1-453(1380125)
    • openHAB version: openHAB 2.5.0.M1 Milestone Build
  • Issue of the topic:
    I installed openHABian to try and resolve some issues communicating with my Onewire bus and now I am having issues seeing anything mounted to /mnt/1wire. I followed https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi for instruction on how to set up the onewire devices. I also ran 1wire config in openhabian-config. I also consulted this wiki https://github.com/openhab/openhab1-addons/wiki/One-Wire-Binding. I cannot even autodetect one wire devices via the PaperUI. I was able to do this before running OpenHAB2 on Raspberrian with the sane device.

I ran back through the setup when I was writing this post and I had the onewire devices show up in /mnt/1wire but I rebooted things and now they have vanished. I even ran owfs again to see if that might have been the issue, but it was not.

Here is my openhab.conf file:

######################## SOURCES ########################
#
# With this setup, any client (but owserver) uses owserver on the
# local machine...
server: server = 127.0.0.1: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
#server: device = /dev/i2c-1
#
server: i2c = /dev/i2c-1:0
#
# Serial port: DS9097
#server: device = /dev/ttyS1
#
# owserver tcp address
#server: server = 192.168.10.1:3131
#
# random simulated device
#server: FAKE = DS18S20,DS2405
#
######################### OWFS ##########################
#
mountpoint = /mnt/1wire
allow_other
#
####################### OWHTTPD #########################

http: port = 2121

####################### OWFTPD ##########################

#ftp: port = 2120

####################### OWSERVER ########################

server: port = localhost:4304

[18:32:05] openhabian@openHABianPi:/mnt/1wire$ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --   
[19:00:28] openhabian@openHABianPi:/mnt/1wire$ i2cdetect -l
i2c-1	i2c       	bcm2835 I2C adapter             	I2C adapter

[19:03:33] openhabian@openHABianPi:/mnt/1wire$ owget
/28.C14777910F02
/28.390877910402
/bus.1
/uncached
/settings
/system
/statistics
/structure
/simultaneous
/alarm

[19:06:45] openhabian@openHABianPi:/var/log/openhab2$ tail openhab.log
2019-02-21 19:02:09.101 [ERROR] [org.eclipse.smarthome.core          ] - bundle org.eclipse.smarthome.core:0.11.0.oh250M1 (102)[org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl(72)] : findMethod: Suitable but non-accessible method unsetScheduler found in class org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl, subclass of org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl
2019-02-21 19:02:09.148 [ERROR] [org.eclipse.smarthome.core          ] - bundle org.eclipse.smarthome.core:0.11.0.oh250M1 (102)[org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl(72)] : unbind method [unsetScheduler] not found; Component will fail
2019-02-21 19:02:09.163 [ERROR] [org.eclipse.smarthome.core          ] - bundle org.eclipse.smarthome.core:0.11.0.oh250M1 (102)[org.eclipse.smarthome.core.internal.scheduler.PeriodicSchedulerImpl(72)] : unbind method [unsetScheduler] not found
2019-02-21 19:02:40.106 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.sitemap'
2019-02-21 19:02:44.248 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2019-02-21 19:02:49.543 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.things'
2019-02-21 19:02:55.526 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.items'
2019-02-21 19:05:09.820 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder
2019-02-21 19:05:11.214 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2019-02-21 19:05:28.308 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui

Please let me know if you need further logs.

Cheers!

Joe