User Tools

Site Tools


ds18b20

This is an old revision of the document!


1-Wire ds18b20

FeatureSupport
Sending
Receiving
Config

Supported Brands

BrandProtocol
1-Wireds18b20

Supported Brands

Sender Arguments

None

Config

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

Optional Settings

SettingDefaultFormatDescription
decimals3numberHow many decimals does the temperature information contain
humidity01 or 0Don't display the humidity value
temperature11 or 0Don't display the temperature value
battery01 or 0Don't display the battery value

Protocol

None

Note: 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 the /etc/modules file and add the following text:

w1-gpio
w1-therm
ds18b20.1382382391.txt.gz · Last modified: 2015/11/27 21:08 (external edit)