uebelack / python-maxcube-api

A python api to control the Max! Cube thermostats.
https://github.com/uebelack/python-maxcube-api
MIT License
21 stars 26 forks source link

IndexError: list index out of range #47

Open schniggie opened 4 months ago

schniggie commented 4 months ago
python3 prog.py --host=192.168.178.15 dump
Error processing response message M:
Traceback (most recent call last):
  File "/home/cd/.local/lib/python3.11/site-packages/maxcube/cube.py", line 126, in __parse_responses
    self.parse_m_message(msg.arg)
  File "/home/cd/.local/lib/python3.11/site-packages/maxcube/cube.py", line 167, in parse_m_message
    data = bytearray(base64.b64decode(message.split(",")[2]))
                                      ~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
[]

any idea?