thomas-villagers / domoticz-yamaha

Python plugin for Domoticz to control Yamaha AV Receivers (Aventage Series) via TCP/IP
GNU General Public License v3.0
17 stars 10 forks source link

onMessage' failed 'IndexError':'list index out of range'. #33

Closed albebert closed 5 years ago

albebert commented 5 years ago

THe plugins flood my logs :

2019-03-18 22:39:40.557 Error: (Ampli Salon) ----> Line 431 in /opt/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage 2019-03-18 22:39:40.557 Error: (Ampli Salon) ----> Line 365 in /opt/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage 2019-03-18 22:39:40.557 Error: (Ampli Salon) 'onMessage' failed 'IndexError':'list index out of range'.

any idea ?

Calzor-Suzay commented 5 years ago

Don't you just need Beta of Domoticz, it mentions these errors...

Please note that this plugin needs the "updated" Plugin System which is currently only available in the beta-branch of Domoticz. If you're using the stable version of Domoticz you have to fix the parameters for "onMessage", "onCommand" etc.

albebert commented 5 years ago

ho missed this ! thanks !

albebert commented 5 years ago

RTFM ! :)