Skip to content

Commit

Permalink
Tweak 1298 for Vasco HVAC (#137)
Browse files Browse the repository at this point in the history
* 1298 logs

* RQ CO2 packets, code_schema

* requested changes, RP removed
  • Loading branch information
silverailscolo authored Oct 17, 2024
1 parent 55cfce6 commit e055957
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ramses_tx/ramses.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
Code._1298: { # co2_level
SZ_NAME: "co2_level",
I_: r"^00[0-9A-F]{4}$",
RQ: r"^00$",
},
Code._12A0: { # indoor_humidity
# .I --- 32:168090 --:------ 32:168090 12A0 006 0030093504A8
Expand Down
7 changes: 7 additions & 0 deletions tests/tests/parsers/code_1298.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# a Vasco CO2 remote sending a measurement:
2024-10-14T20:14:21.028276 064 I --- 37:117647 --:------ 37:117647 1298 003 000322 # {'co2_level': 802}
2024-10-10T22:59:41.307778 074 I --- 37:117647 --:------ 37:117647 1298 003 0001FF # {'co2_level': 511}

# # Vasco HRU will RP to a contrived RQ
2024-10-15T12:33:59.384000 --- RQ --- 18:130140 37:117647 --:------ 1298 001 00 # {}
2024-10-15T12:33:59.943010 --- RP --- 37:117647 18:130140 --:------ 1298 003 000280 # {'co2_level': 640}

0 comments on commit e055957

Please sign in to comment.