gysmo38 / domoticz-python-melcloud

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

Errors after adding plugin #22

Open MikeyMan83 opened 3 years ago

MikeyMan83 commented 3 years ago

Just tried adding the MelCloud plugin.

Domoticz log shows:

2021-06-29 13:18:55.702 Mitsubishi Airco hardware started.
2021-06-29 13:18:55.702 Status: Mitsubishi Airco: (Mitsubishi Airco) Entering work loop.
2021-06-29 13:18:55.702 Status: Mitsubishi Airco: (Mitsubishi Airco) Started.
2021-06-29 13:18:55.940 Status: Mitsubishi Airco: (Mitsubishi Airco) Initialized version 0.7.8, author 'gysmo'
2021-06-29 13:18:56.136 Mitsubishi Airco: (Mitsubishi Airco) MELCloud connection OK
2021-06-29 13:18:56.288 Mitsubishi Airco: (Mitsubishi Airco) MELCloud login successfull
2021-06-29 13:18:56.391 Mitsubishi Airco: (Mitsubishi Airco) Find 1 buildings
2021-06-29 13:18:56.391 Mitsubishi Airco: (Mitsubishi Airco) Find 0 areas in building Huis
2021-06-29 13:18:56.391 Mitsubishi Airco: (Mitsubishi Airco) Find 3 floors in building Huis
2021-06-29 13:18:56.391 Mitsubishi Airco: (Mitsubishi Airco) Found 0 devices in building Huis Devices of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh
2021-06-29 13:18:56.391 Mitsubishi Airco: (Mitsubishi Airco) Found 0 devices in building Huis Areas of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh
2021-06-29 13:18:56.391 Error: Mitsubishi Airco: (Mitsubishi Airco) 'onMessage' failed 'KeyError':'('DeviceName',)'.
2021-06-29 13:18:56.391 Error: Mitsubishi Airco: (Mitsubishi Airco) ----> Line 544 in '/home/pi/domoticz/plugins/MELCloud/plugin.py', function onMessage
2021-06-29 13:18:56.391 Error: Mitsubishi Airco: (Mitsubishi Airco) ----> Line 238 in '/home/pi/domoticz/plugins/MELCloud/plugin.py', function onMessage
2021-06-29 13:18:56.391 Error: Mitsubishi Airco: (Mitsubishi Airco) ----> Line 199 in '/home/pi/domoticz/plugins/MELCloud/plugin.py', function searchUnits
2021-06-29 13:18:56.391 Error: Mitsubishi Airco: (Mitsubishi Airco) ----> Line 171 in '/home/pi/domoticz/plugins/MELCloud/plugin.py', function oneUnit
2021-06-29 13:18:56.391 Error: Mitsubishi Airco: (Mitsubishi Airco) ----> Line 442 in '/home/pi/domoticz/plugins/MELCloud/plugin.py', function melcloud_add_unit

Any thoughts?

Xavier74 commented 2 years ago

hi,

I get the same errors when pulling git to a recent version. I dont understand.