User Tools

Site Tools


ds18s20_v6_0

This is an old revision of the document!


1-Wire ds18s20

FeatureSupport
Sending
Receiving
Config

Supported Brands

BrandProtocol
1-Wireds18s20

Sender Arguments

None

Config

"devices": {
	"temperature": {
		"protocol": [ "ds18s20" ],
		"id": [{
			"id": "0000052ba3ac"
		}],
		"temperature": 19.562
	}
},
"gui": {
	"temperature": {
		"name": "Temperature Sensor",
		"group": [ "Misc" ],
		"media": [ "all" ]
	}
}

Optional Settings

Device Setting

SettingDefaultFormatDescription
poll-interval5secondsWhat should be the poll interval of the sensors
temperature-offset0numberCorrect temperature value

GUI Settings

SettingDefaultFormatDescription
show-temperature11 or 0Don't display the temperature value

Notes

Before pilight can see the sensor, you have to run the following commands:

sudo modprobe w1-gpio
sudo modprobe w1-therm

To make sure this is done every reboot, edit /etc/modules and add the following lines:

w1-gpio
w1-therm

To find the correct sensor id, you have to run the following commands:

cd /sys/bus/w1/devices
ls

The result will look like:

28-0000055bd776  w1_bus_master1

Use the part after 28- as the correct id, e.g. 0000055bd776.

ds18s20_v6_0.1422385542.txt.gz · Last modified: 2015/11/27 21:08 (external edit)