-
-
Notifications
You must be signed in to change notification settings - Fork 17
OneWire
#OneWire
This plugin provides support for the 1-wire network, gaining access to affordable devices.
#Supported platforms
For now, only Linux is supported, by kernel mode or OWFS mode. Kernel mode provides access to only a few devices, but is suitable without adapter (devices directly connected to a GPIO pin). OWFS mode provides access to many devices, but requires an adapter like the USB-adapter DS9490R (serial adapters also exist). Yadoms recommends to use OWFS mode.
#Supported devices TODO
#Kernel mode This mode requires that 1-wire kernel modules are enable :
sudo modprobe w1-gpio
sudo modprobe w1-therm
#OWFS mode This mode requires that OWFS tools are installed on your target. Here are the steps to install :
Install OWFS and Fuse :
sudo apt-get install owfs fuse
Edit OWFS configuration file :
sudo nano /etc/owfs.conf
Comment line "server: FAKE = ..." Uncomment line "server: ..." and set here your adapter Uncomment line "mountpoint = /mnt/1wire" Uncomment line "allow_other"
(Note : Ctrl-o to save the file, Ctrl-x to quit nano)
Edit Fuse configuration file :
sudo nano /etc/fuse.conf
Uncomment line "user_allow_other"
Create mount point :
sudo mkdir /mnt/1wire
Restart OWServer :
sudo service owserver restart
Start OWFS :
sudo owfs
Note : on Raspberry Pi, it seems to be necessary to disable kernel using Device Tree :
sudo raspi-config
select "8 Advanced Options"
select "A5 Device Tree"
set to "No"
Yadoms -- The ultimate house automation solution