teknihall

# Differences

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

 teknihall [2015/11/27 21:09]127.0.0.1 external edit teknihall [2016/12/03 09:11] (current)ckreuzberger [Protocol] Temperature Readings Both sides previous revision Previous revision 2016/12/03 09:11 ckreuzberger [Protocol] Temperature Readings 2015/11/27 21:09 external edit2014/06/11 08:30 curlymo 2014/05/11 21:36 curlymo 2014/04/29 20:29 curlymo 2014/04/29 20:17 curlymo 2014/03/02 15:51 meloen 2014/02/28 20:32 meloen 2014/02/28 20:32 meloen created Next revision Previous revision 2016/12/03 09:11 ckreuzberger [Protocol] Temperature Readings 2015/11/27 21:09 external edit2014/06/11 08:30 curlymo 2014/05/11 21:36 curlymo 2014/04/29 20:29 curlymo 2014/04/29 20:17 curlymo 2014/03/02 15:51 meloen 2014/02/28 20:32 meloen 2014/02/28 20:32 meloen created 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) + ​ + + 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