From 26f13a46af0141be4ae20e48cfc6dc0e7c0dcbf7 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 6 Mar 2020 21:34:19 +0100 Subject: [PATCH] BSB: More packets decoded --- MQTT | 4 ++ bsb/PACKETS | 86 +++++++++++++++++++++++++++++++++++++++++ bsb/analyser/analyse.py | 4 +- 3 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 bsb/PACKETS mode change 100644 => 100755 bsb/analyser/analyse.py diff --git a/MQTT b/MQTT index 54e4856..266f3a7 100644 --- 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 index 0000000..7e24404 --- /dev/null +++ b/bsb/PACKETS @@ -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 diff --git a/bsb/analyser/analyse.py b/bsb/analyser/analyse.py old mode 100644 new mode 100755 index f5fdd4b..3a8bf5c --- a/bsb/analyser/analyse.py +++ b/bsb/analyser/analyse.py @@ -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() -- 2.39.2