User Tools

Site Tools


teknihall_v7_0

Differences

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

Link to this comparison view

teknihall_v7_0 [2015/03/28 13:02]
pilino1234 created page for new nightly config options
teknihall_v7_0 [2015/11/27 22:09]
Line 1: Line 1:
-**Teknihall** 
  
-^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^ 
-|Teknihall GT-WT-02|teknihall| 
- 
-==== Sender Arguments ==== 
- 
-//None// 
- 
-==== Config ==== 
-<​code>​ 
-"​device":​ { 
- "​weather":​ { 
- "​protocol":​ [ "​tfa"​ ], 
- "​id":​ [{ 
- "​id":​ 108 
- }], 
- "​temperature":​ 18.90, 
- "​humidity":​ 41.00, 
- "​battery":​ 1 
- } 
-}, 
-"​gui":​ { 
- "​weather":​ { 
- "​name":​ "​Weather Station",​ 
- "​group":​ [ "​Outside"​ ], 
- "​media":​ [ "​all"​ ] 
- } 
-} 
-</​code>​ 
- 
-==== Optional Settings ==== 
- 
-Device Settings 
- 
-^Setting^Default^Format^Description^ 
-|humidity-offset|0|number|Correct humidity value| 
-|temperature-offset|0|number|Correct temperature value| 
- 
-GUI Settings 
- 
-^Setting^Default^Format^Description^ 
-|temperature-decimals|2|number|How many decimals the GUIs should display for temperature| 
-|humidity-decimals|2|number|How many decimals the GUIs should display for humidity| 
-|show-temperature|1|1 or 0|Don'​t display the temperature value| 
-|show-humidity|1|1 or 0|Don'​t display the humidity value| 
-|show-battery|1|1 or 0|Don'​t display the battery value| 
- 
-==== Comments ==== 
- 
-This weather station is available at Aldi. Please be aware that there are several types of Teknihall weather stations and sensors available. Not all types might be compatible.\\ 
-\\ 
-Please be aware that the ID of a sensor could change after you replace the batteries. 
- 
-==== Protocol ==== 
- 
-The protocol sends 76 pulses like: 
- 
-<​code>​ 
-532 2128 532 4256 532 4256 532 2128 532 4256 532 4256 532 2128 532 2128 532 2128 532 2128 532 2128 532 2128 532 2128 532 2128 532 2128 532 2128 532 4256 532 2128 532 4256 532 4256 532 4256 532 4256 532 2128 532 2128 532 2128 532 4256 532 4256 532 4256 532 2128 532 2128 532 2128 532 4256 532 4256 532 2128 532 2128 532 2128 532 2128 532 9044 
-</​code>​ 
- 
-The last 2 pulses are the footer. These are meant to identify the pulses as genuine. We don't it for further processing. The next step is to transform this output into 38 groups of 2 pulses (and thereby dropping the footer pulses). ​ 
- 
-<​code>​ 
-532 2128  
-532 4256  
-532 4256  
-532 2128  
-532 4256  
-532 4256  
-532 2128  
-532 2128  
-532 2128  
-532 2128  
-532 2128  
-532 2128  
-532 2128  
-532 2128  
-532 2128  
-532 2128  
-532 4256  
-532 2128  
-532 4256  
-532 4256  
-532 4256  
-532 4256  
-532 2128  
-532 2128  
-532 2128  
-532 4256  
-532 4256  
-532 4256  
-532 2128  
-532 2128  
-532 2128  
-532 4256  
-532 4256  
-532 2128  
-532 2128  
-532 2128  
-532 2128  
-532 9044 
-</​code>​ 
- 
-If we now look at carefully at these groups you can distinguish two types of groups: 
- 
-  - ''​540 2128''​ 
-  - ''​540 4256''​ 
- 
-So the first group is defined by a low 2nd, the second group has a high 2nd pulse. So we take either of these two pulses to define a 0 or a 1. In this case we say a high 2nd pulse means a 1 and a low 2nd pulse means a 0. The binary conversion could look as follows: ​ 
- 
-<​code>​ 
-0101111100111000000011001011001010111 
-</​code>​ 
- 
-Each (group) of numbers has a specific meaning: 
-  * ID: 0 till 7 
-  * Temperature:​ 14 till 23 
-  * Humidity: 24 till 30 
- 
-<​code>​ 
-01011111 001110 0000001100 1011001 010111 
-</​code>​ 
- 
-  * The ''​ID''​ is defined as a binary number ​ 
-  * The ''​Temperature''​ is defined as a binary number and represents the temperature 
-  * 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 
teknihall_v7_0.txt ยท Last modified: 2015/11/27 22:09 (external edit)