From 6627eeb931a8e588d21ae5e37dc8bbabbb1971b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Jonas=20S=C3=A4mann?= Date: Sun, 8 May 2022 16:25:53 +0200 Subject: [PATCH] Update channel hop list remove channel 9 and 11 because there was never seen a single frame received --- tools/rpi/hoymiles/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/rpi/hoymiles/__init__.py b/tools/rpi/hoymiles/__init__.py index 840245b6..ba3bd143 100644 --- a/tools/rpi/hoymiles/__init__.py +++ b/tools/rpi/hoymiles/__init__.py @@ -175,7 +175,7 @@ class HoymilesNRF: tx_channel_id = 0 tx_channel_list = [40] rx_channel_id = 0 - rx_channel_list = [3,6,9,11,23,40,61,75] + rx_channel_list = [3,23,40,61,75] rx_channel_ack = False rx_error = 0 @@ -246,7 +246,7 @@ class HoymilesNRF: # No data in nRF rx buffer, search and wait # Channel lock in (not currently used) self.rx_error = self.rx_error + 1 - if self.rx_error > 0: + if self.rx_error > 1: self.rx_channel_ack = False # Channel hopping if self.next_rx_channel():