gysmo38 / domoticz-python-melcloud

A plugin in python for Domoticz
13 stars 15 forks source link

Error messages with v0.7.6 #10

Open JPGNT opened 3 years ago

JPGNT commented 3 years ago

Functioning OK for 2 years. Problem for several weeks, appeared suddenly, without my being able to correlate to a modification. I tried to upgrade to Domoticz V2020.2 version but the problem persists.

Configuration: Domoticz on Synology DS218+ Version: 2020.2 (build 12731) Build Hash: 7933f659d-modified Compile Date: 2020-12-06 10:22:02 dzVents Version: 3.0.18 Python Version: 3.8.2 (tags/Contacts-1.0.0-0232-200617:57e5f51, Jun 29 2020, 09:34:04) [GCC 4.9.3 20150311 (prerelease)]

Messages: 2020-12-09 15:11:26.670 (MITSUBISHI) Update unit Chambre 1 information. 2020-12-09 15:11:26.732 (MITSUBISHI) Update unit Chambre 2 information. 2020-12-09 15:11:26.754 (MITSUBISHI) Update unit Chambre 3 information. 2020-12-09 15:11:26.826 (MITSUBISHI) Update unit Salon information. 2020-12-09 15:11:26.681 Error: (MITSUBISHI) 'onMessage' failed 'KeyError'. 2020-12-09 15:11:26.681 Error: (MITSUBISHI) ----> Line 450 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py' 2020-12-09 15:11:26.681 Error: (MITSUBISHI) ----> Line 195 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py' 2020-12-09 15:11:26.681 Error: (MITSUBISHI) ----> Line 426 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py' 2020-12-09 15:11:45.139 (RFXCOM) General/kWh (Conso électrique GNTHouse) 2020-12-09 15:11:51.679 (MITSUBISHI) Update unit Chambre 1 information. 2020-12-09 15:11:51.742 (MITSUBISHI) Update unit Chambre 2 information. 2020-12-09 15:11:51.765 (MITSUBISHI) Update unit Chambre 3 information. 2020-12-09 15:11:51.788 (MITSUBISHI) Update unit Salon information. 2020-12-09 15:11:51.691 Error: (MITSUBISHI) 'onMessage' failed 'KeyError'. 2020-12-09 15:11:51.691 Error: (MITSUBISHI) ----> Line 450 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py' 2020-12-09 15:11:51.691 Error: (MITSUBISHI) ----> Line 195 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py' 2020-12-09 15:11:51.691 Error: (MITSUBISHI) ----> Line 426 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py' 2020-12-09 15:12:16.751 (MITSUBISHI) Update unit Chambre 1 information. 2020-12-09 15:12:16.763 (MITSUBISHI) Update unit Chambre 2 information. 2020-12-09 15:12:16.836 (MITSUBISHI) Update unit Chambre 3 information. 2020-12-09 15:12:16.857 (MITSUBISHI) Update unit Salon information. 2020-12-09 15:12:16.763 Error: (MITSUBISHI) 'onMessage' failed 'KeyError'. 2020-12-09 15:12:16.763 Error: (MITSUBISHI) ----> Line 450 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py' 2020-12-09 15:12:16.763 Error: (MITSUBISHI) ----> Line 195 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py' 2020-12-09 15:12:16.763 Error: (MITSUBISHI) ----> Line 426 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py' 2020-12-09 15:12:41.761 (MITSUBISHI) Update unit Chambre 1 information. 2020-12-09 15:12:41.774 (MITSUBISHI) Update unit Chambre 2 information. 2020-12-09 15:12:41.799 (MITSUBISHI) Update unit Chambre 3 information. 2020-12-09 15:12:41.822 (MITSUBISHI) Update unit Salon information. 2020-12-09 15:12:41.774 Error: (MITSUBISHI) 'onMessage' failed 'KeyError'. 2020-12-09 15:12:41.774 Error: (MITSUBISHI) ----> Line 450 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py' 2020-12-09 15:12:41.774 Error: (MITSUBISHI) ----> Line 195 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py' 2020-12-09 15:12:41.774 Error: (MITSUBISHI) ----> Line 426 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py' .......

Thanks for your help

Kamperman commented 3 years ago

Did you add a unit to Melcloud, what kind of unit is Salon?

JPGNT commented 3 years ago

My equipment has not changed since it was installed. The "Salon" unit is an MSZ-SF42. Everything was OK for 2 years. The problems appeared after upgrading Domoticz to v22020.1 (now I'm in v2020.2) on a Synology DS218+ NAS Thank's for your help.

JPGNT commented 3 years ago

With 0.7.7, one or two time per minutes: 2021-02-15 20:27:34.302 Error: (MITSUBISHI) 'onMessage' failed 'KeyError'. 2021-02-15 20:27:34.302 Error: (MITSUBISHI) ----> Line 544 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py' 2021-02-15 20:27:34.302 Error: (MITSUBISHI) ----> Line 253 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py' 2021-02-15 20:27:34.302 Error: (MITSUBISHI) ----> Line 508 in '/usr/local/domoticz/var/plugins/MITSUBISHI/plugin.py'

Thank you for your help

JPGNT commented 3 years ago

With the 0.7.7

2021-03-25 18:09:04.516 Error: (MITSUBISHI) 'onMessage' failed 'KeyError'. 2021-03-25 18:09:04.516 Error: (MITSUBISHI) ----> Line 544 in '/usr/local/domoticz/var/plugins/domoticz-python-melcloud/plugin.py' 2021-03-25 18:09:04.516 Error: (MITSUBISHI) ----> Line 253 in '/usr/local/domoticz/var/plugins/domoticz-python-melcloud/plugin.py' 2021-03-25 18:09:04.516 Error: (MITSUBISHI) ----> Line 508 in '/usr/local/domoticz/var/plugins/domoticz-python-melcloud/plugin.py'

erux14 commented 3 years ago

With 0.7.7 2021-04-13 09:09:21.869 (MITSUBISHI) Found 0 devices in building Maison Devices of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh 2021-04-13 09:09:21.869 (MITSUBISHI) Found 0 devices in building Maison Areas of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh 2021-04-13 09:09:21.199 Status: (MITSUBISHI) Started. 2021-04-13 09:09:21.501 Status: (MITSUBISHI) Entering work loop. 2021-04-13 09:09:21.502 Status: (MITSUBISHI) Initialized version 0.7.8, author 'gysmo' 2021-04-13 09:09:21.869 Error: (MITSUBISHI) 'onMessage' failed 'KeyError'. 2021-04-13 09:09:21.869 Error: (MITSUBISHI) ----> Line 544 in '/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py', function onMessage 2021-04-13 09:09:21.869 Error: (MITSUBISHI) ----> Line 238 in '/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py', function onMessage 2021-04-13 09:09:21.869 Error: (MITSUBISHI) ----> Line 199 in '/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py', function searchUnits 2021-04-13 09:09:21.869 Error: (MITSUBISHI) ----> Line 171 in '/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py', function oneUnit 2021-04-13 09:09:21.869 Error: (MITSUBISHI) ----> Line 442 in '/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py', function melcloud_add_unit 2021-04-13 09:18:16.737 (MITSUBISHI) MELCloud connection OK 2021-04-13 09:18:16.788 (MITSUBISHI) MELCloud receive unknonw message with error code 404 2021-04-13 09:18:16.788 (MITSUBISHI) MELCloud has disconnected

MoltesDu12 commented 1 year ago

I've the same issue since I tried to add a second air conditionner. Error: CLIMs: 'onMessage' failed 'KeyError':'(8,)'. Error: CLIMs: Exception traceback: Error: CLIMs: ----> Line 544 in '/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py', function onMessage Error: CLIMs: ----> Line 253 in '/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py', function onMessage Error: CLIMs: ----> Line 492 in '/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py', function domoticz_sync_switchs I don't understand what's wrong.