User Tools

Site Tools


ds18s20

1-Wire ds18s20

FeatureSupport
Sending
Receiving
Config

Supported Brands

BrandProtocol
1-Wireds18s20

Sender Arguments

None

Config

        "living": {
                "name": "Living",
                "temperature": {
                        "name": "Temperature",
                        "protocol": [ "ds18s20" ],
			"id": [{
				"id": "0000052ba3ac"
			}],
                        "temperature": 19562
                }
        }

Optional Settings

SettingDefaultFormatDescription
device-decimals3numberHow many decimals does the temperature information contain
gui-show-temperature11 or 0Don't display the temperature value
poll-interval5secondsWhat should be the poll interval of the sensors
device-temperature-offset0numberCorrect temperature value

Protocol

None

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
ds18s20.txt · Last modified: 2015/11/27 22:09 (external edit)