Teknihall Weather Station
Brand | Protocol |
---|---|
Teknihall GT-WT-02 | teknihall |
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.
None
"living": { "name": "Living", "weather": { "name": "Weather", "protocol": [ "teknihall" ], "id": [{ "id": 129 }], "temperature": 189, "humidity": 410, "battery": 1 } }
Humidity and battery are supported by this protocol. The battery function is not tested. Please be aware that the ID of a sensor could change after you replace the batteries.
Setting | Default | Format | Description |
---|---|---|---|
device-decimals | 2 | number | How many decimals does the weather information contain |
device-humidity-offset | 0 | number | Correct humidity value |
device-temperature-offset | 0 | number | Correct temperature value |
gui-decimals | 2 | number | How many decimals should the GUIs display |
gui-show-humidity | 1 | 1 or 0 | Don't display the humidity value |
gui-show-temperature | 1 | 1 or 0 | Don't display the temperature value |
gui-show-battery | 1 | 1 or 0 | Don't display the battery value |
The protocol sends 76 pulses like:
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
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).
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
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:
0101111100111000000011001011001010111
Each (group) of numbers has a specific meaning:
01011111 001110 0000001100 1011001 010111
ID
is defined as a binary number 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. Humidity
is defined as a binary number and represents the humidityRegarding the temperature, here are some example readings:
-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: