From 9d16a2e46ed232d4c00df9f8c8ef09917dddae47 Mon Sep 17 00:00:00 2001 From: MaxXor Date: Wed, 22 Aug 2018 16:01:32 +0200 Subject: [PATCH] Fix bus monitor mode --- knxmap/bus/monitor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/knxmap/bus/monitor.py b/knxmap/bus/monitor.py index b4eb0a5..042f5dc 100644 --- a/knxmap/bus/monitor.py +++ b/knxmap/bus/monitor.py @@ -57,7 +57,8 @@ def datagram_received(self, data, addr): elif isinstance(knx_message, KnxTunnellingRequest): self.print_message(knx_message) if CEMI_PRIMITIVES[knx_message.cemi.message_code] == 'L_Data.con' or \ - CEMI_PRIMITIVES[knx_message.cemi.message_code] == 'L_Data.ind': + CEMI_PRIMITIVES[knx_message.cemi.message_code] == 'L_Data.ind' or \ + CEMI_PRIMITIVES[knx_message.cemi.message_code] == 'L_Busmon.ind': tunnelling_ack = KnxTunnellingAck( communication_channel=knx_message.communication_channel, sequence_count=knx_message.sequence_counter)