Browse Source

BUGFIX: in def decodeInterTechnoRX(rx_code): wrong return code when unknown/invalid IT RX-code was detected

FloKra 6 months ago
parent
commit
c58606c09f
2 changed files with 12 additions and 1 deletions
  1. 11 0
      README.md
  2. 1 1
      cul2mqtt.py

+ 11 - 0
README.md

@@ -22,5 +22,16 @@ Features:
 
 
 
+Installation:
 
+(on Raspberry Pi as "pi" in folder /home/pi)
 
+git clone *URL*
+
+Prerequisits:
+- Python 3
+- Python 3 modules (install via pip3): 
+  - pyyaml
+  - pyserial
+  - paho-mqtt
+  

+ 1 - 1
cul2mqtt.py

@@ -468,7 +468,7 @@ def decodeInterTechnoRX(rx_code):
             
         else:
             if debug: log_write("unknown or invalid IT code '" + rx_code + "'")
-            return False
+            return False, False
 
     else:
         if debug: log_write("unknown or invalid IT code '" + rx_code + "'")