User Tools

Site Tools


ds18s20

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ds18s20 [2014/04/29 20:19]
curlymo
ds18s20 [2015/11/27 21:09]
Line 1: Line 1:
-**1-Wire ds18s20** 
  
-^Feature^Support^ 
-|Sending|{{http://​wiki.pilight.org/​lib/​images/​notsupported.gif}}| 
-|Receiving|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}| 
-|Config|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}| 
- 
-Supported Brands 
-^Brand^Protocol^ 
-|1-Wire|ds18s20| 
- 
-Supported Brands 
- 
-Sender Arguments 
- 
-//None// 
- 
-Config 
-<​code>​ 
-        "​living":​ { 
-                "​name":​ "​Living",​ 
-                "​temperature":​ { 
-                        "​name":​ "​Temperature",​ 
-                        "​protocol":​ [ "​ds18s20"​ ], 
- "​id":​ [{ 
- "​id":​ "​0000052ba3ac"​ 
- }], 
-                        "​temperature":​ 19562 
-                } 
-        } 
-</​code>​ 
- 
-Optional Settings 
- 
-^Setting^Default^Format^Description^ 
-|device-decimals|3|number|How many decimals does the temperature information contain| 
-|gui-show-temperature|1|1 or 0|Don'​t display the temperature value| 
-|poll-interval|5|seconds|What should be the poll interval of the sensors| 
-|device-temperature-offset|0|number|Correct temperature value| 
- 
-Protocol 
- 
-//None// 
- 
-Note 
- 
-Before pilight can see the sensor, you have to run the following commands: 
-<​code>​ 
-sudo modprobe w1-gpio 
-sudo modprobe w1-therm 
-</​code>​ 
- 
-To make sure this is done every reboot, edit ''/​etc/​modules''​ and add the following lines: 
-<​code>​ 
-w1-gpio 
-w1-therm 
-</​code>​ 
ds18s20.txt ยท Last modified: 2015/11/27 21:09 (external edit)