]> mj.ucw.cz Git - home-hw.git/commitdiff
BSB: More packets decoded
authorMartin Mares <mj@ucw.cz>
Fri, 6 Mar 2020 20:34:19 +0000 (21:34 +0100)
committerMartin Mares <mj@ucw.cz>
Fri, 6 Mar 2020 20:34:19 +0000 (21:34 +0100)
MQTT
bsb/PACKETS [new file with mode: 0644]
bsb/analyser/analyse.py [changed mode: 0644->0755]

diff --git a/MQTT b/MQTT
index 54e48560d488a21a5c2c6e85f4c4f1d552b7c387..266f3a7b6356fe19191916e9f15e63d2eb17bacd 100644 (file)
--- a/MQTT
+++ b/MQTT
@@ -43,7 +43,11 @@ burrow/heating/outside-temp
 burrow/heating/circuit1/room-temp
 burrow/heating/circuit1/mix-temp
 burrow/heating/circuit1/mix-valve
+burrow/heating/circuit1/pump   0/1
+burrow/heating/circuit1/active 0/1
 burrow/heating/circuit2/room-temp
+burrow/heating/circuit2/active 0/1
+burrow/heating/water/active    0/1
 
 bsb/stats/*
 bsb/frame                      hex dump of raw frames received
diff --git a/bsb/PACKETS b/bsb/PACKETS
new file mode 100644 (file)
index 0000000..7e24404
--- /dev/null
@@ -0,0 +1,86 @@
+06 -> 7f: INFO 0500:006c
+
+       Clock
+
+       00 78   year - 1900
+       02      month
+       1b      day
+       04      day of week
+       17      hour
+       39      min
+       06 00
+
+00 -> 7f INFO 05000213:
+
+       14      00/04/14
+       00 00 5b
+
+00 -> 7f: INFO 0500:0219
+
+       00 93   outside temp * 64
+       00 0c   pressure * 10
+       00 04
+       24 90
+       ff ff
+       00 00
+
+03 -> 00: INFO 0500:0229
+
+       AGU.2 status
+
+       08 f4   floor heating temperature * 64
+       00
+       00
+       64
+       01
+       04      04/24/44/54/64
+
+00 -> 03: INFO 0504:0227
+
+       AGU.2 control
+
+       0a f2   mixture modulation
+       00
+       03      03/04, looks like 03=pump on
+
+00 -> 7f INFO 2d000211
+
+       Circuit 1 status
+
+       01
+       02      01=attenuated, 02=comfort
+       00 03
+       24 90
+       ff ff
+       00      02=pump on, 00=off
+       01
+
+00 -> 7f INFO 2e000211
+
+       Circuit 2 status
+
+00 -> 7f INFO 2f000211
+
+       Circuit 3 status
+
+00 -> 7f: INFO 3100:0212
+
+       Hot water status
+
+       01
+       01      00/01 (looks like 01=pump on)
+       4d      45 if prev byte is 00, 4d if prev byte is 01
+
+06 -> 00: INFO 3d2d:0215
+
+       Room 1 status
+
+       05 e9   temperature * 64
+       00
+
+07 -> 00: INFO 3e2e:0215
+
+       Room 2 status
+
+       06 3d   temperature * 64
+       00
old mode 100644 (file)
new mode 100755 (executable)
index f5fdd4b..3a8bf5c
@@ -1,3 +1,5 @@
+#!/usr/bin/python3
+
 import os
 import sys
 import datetime
@@ -177,4 +179,4 @@ def parse_file(name: str):
 
 
 parse_file('/var/log/bsb-frames')
-close_all()
\ No newline at end of file
+close_all()