Skip to content

Commit

Permalink
Add samples and simple tests for ThermoPro-TX2C
Browse files Browse the repository at this point in the history
  • Loading branch information
mwerlen committed May 29, 2023
1 parent d46e1f8 commit 8421642
Show file tree
Hide file tree
Showing 7 changed files with 1,353 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/thermopro-tx2c/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ThermoPro TX2C Remote Sensor

The ThermoPro TX2C Remote Sensor is sold with various ThermoPro thermometer/hygrometer devices (TP200C, TP60C, TP65C) and also as a standalone accessory.

![ThermoPro-TX2C](thermopro-tx2c.jpeg)

This folder contains the following samples:

- channel1_868M_1000k.cu8 : Channel=1; Temperature=21.1
- channel2_868M_1000k.cu8 : Channel=2; Temperature=21.3


Note: Pressing the reset button on the TX2C causes it to generate a new id value which is included in the next transmission.

[Bitbench link](https://triq.net/bitbench#c=%5Bpre-existing%20example%5D%2095%2000%20ff%20e0%20a0%2000&c=%5Bwith-button%5D%2093440db38000&c=&c=%5Bchan1%5D%2093400df37000&c=%5Bchan1%2Bbutton%5D%2092640D041000&c=%5Bchan2%5D%2093F10E43D000&c=%5Bhigh%20humidity%5D%2093F00E852000&c=%5Bnormal%20humidity%5D%2093F00D246000&f=FIXED%3Dh%20ID%3Dd%20LOW_BAT%3Db%20BUTTON%3Db%20CHANNEL%3Dbb%20TEMP_C%3Dbbbbd%20HUM%3Dd%25%20ZERO%3Dbbbbbbbbbbbb&cw=4)
710 changes: 710 additions & 0 deletions tests/thermopro-tx2c/channel1_868M_1000k.cu8

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tests/thermopro-tx2c/channel1_868M_1000k.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"time" : "2023-05-23 19:14:30", "model" : "Thermopro-TX2C", "id" : 63, "channel" : 1, "battery_ok" : 1, "temperature_C" : 21.100, "humidity" : 70, "button" : 0}
625 changes: 625 additions & 0 deletions tests/thermopro-tx2c/channel2_868M_1000k.cu8

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tests/thermopro-tx2c/channel2_868M_1000k.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"time" : "2023-05-23 19:14:16", "model" : "Thermopro-TX2C", "id" : 69, "channel" : 2, "battery_ok" : 1, "temperature_C" : 21.300, "humidity" : 72, "button" : 0}
1 change: 1 addition & 0 deletions tests/thermopro-tx2c/protocol
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
245
Binary file added tests/thermopro-tx2c/thermopro-tx2c.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8421642

Please sign in to comment.