From a29a4412bca1f44b6ca87bab615aabf80b77cdee Mon Sep 17 00:00:00 2001 From: Florian Date: Tue, 7 Mar 2017 23:22:35 +0100 Subject: [PATCH] Fixing string-search for ZVEI1 fixing location of zvei tones --- includes/decoders/zvei.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/decoders/zvei.py b/includes/decoders/zvei.py index c29863a..cabe68c 100644 --- a/includes/decoders/zvei.py +++ b/includes/decoders/zvei.py @@ -57,7 +57,7 @@ def decode(freq, decoded): @exception: Exception if ZVEI decode failed """ try: - zvei_id = decoded[14:19] # ZVEI Code + zvei_id = decoded[7:12] # ZVEI Code zvei_id = removeE(zvei_id) # remove E (repeated tone) if re.search("[0-9]{5}", zvei_id): # if ZVEI is valid # check for double alarm