Browse Source

Python goes in crash, when using an other InfoCommend

comment line 178 of main.py as before
add an else path in __init__.py
pull/1030/head
Knuti_in_Paese 2 years ago
parent
commit
5a93536940
  1. 2
      tools/rpi/hoymiles/__init__.py

2
tools/rpi/hoymiles/__init__.py

@ -193,6 +193,8 @@ class ResponseDecoder(ResponseDecoderFactory):
model_desc = "Inverter generic events log"
elif command.upper() == '12':
model_desc = "Inverter major events log"
else:
model_desc = "event not configured - check ahoy script"
logging.info(f'model_decoder: {model}Decode{command.upper()} - {model_desc}')
model_decoders = __import__('hoymiles.decoders')

Loading…
Cancel
Save