User Tools

Site Tools


teknihall

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
teknihall [2015/11/27 22:09]
127.0.0.1 external edit
teknihall [2016/12/03 10:11] (current)
ckreuzberger [Protocol] Temperature Readings
Line 118: Line 118:
  
   * The ''​ID''​ is defined as a binary number ​   * The ''​ID''​ is defined as a binary number ​
-  * The ''​Temperature''​ is defined as a binary number and represents ​the temperature+  * The ''​Temperature''​ is defined as a binary number ​similar to the two complement, representing 3 digits, whereas the last digit is the digit after the comma. For instance ''​11 1111 1111''​ represents -0.1 °C and ''​00 0000 00'' ​represents ​0.0 °C. 
   * The ''​Humidity''​ is defined as a binary number and represents the humidity   * The ''​Humidity''​ is defined as a binary number and represents the humidity
  
-This protocol was created for pilight with the help of this thread+ 
-http://​forum.pilight.org/​Thread-Connect-digital-weather-sensor+Regarding the temperature,​ here are some example readings: 
 +<​code>​ 
 +-19.7 °C = 11 0011 1011 (0827) 
 +-15.0 °C = 11 0110 1010 (0874) // spec minimum 
 +-00.5 °C = 11 1111 1011 (1019) 
 +-00.1 °C = 11 1111 1111 (1023) 
 +-00.0 °C = 00 0000 0000 (0000) 
 ++01.8 °C = 00 0001 0010 (0018) 
 ++60.0 °C = 10 0101 1000 (0600) // spec maximum 
 ++69.6 °C = 10 1011 1000 (0696) 
 +</​code>​ 
 + 
 +This protocol was created for pilight with the help of these two threads
 + 
 +  * http://​forum.pilight.org/​Thread-Connect-digital-weather-sensor 
 +  * https://​github.com/​pilight/​pilight/​pull/​221 
teknihall.txt · Last modified: 2016/12/03 10:11 by ckreuzberger