sincze / Domoticz-Growatt-Webserver-Plugin

16 stars 10 forks source link

onStart' failed 'KeyError #4

Closed Tinus016 closed 4 years ago

Tinus016 commented 4 years ago

Hello I updated my domoticz to version: 4.11670 After that i have a issue whit the Plugin. Domoticz Log show my this: 2020-02-03 21:51:14.695 Error: (Growatt) 'onStart' failed 'KeyError'. 2020-02-03 21:51:14.696 Error: (Growatt) ----> Line 260 in '/home/pi/domoticz/plugins/Domoticz-Growatt-Webserver-Plugin/plugin.py', function onStart 2020-02-03 21:51:14.696 Error: (Growatt) ----> Line 135 in '/home/pi/domoticz/plugins/Domoticz-Growatt-Webserver-Plugin/plugin.py', function onStart 2020-02-03 21:51:14.696 Error: (Growatt) ----> Line 349 in '/home/pi/domoticz/plugins/Domoticz-Growatt-Webserver-Plugin/plugin.py', function createDevices

Can some one tell me were this comes from? I thought I reinstall the plugin but I want to keep the history. Any ideas?

sincze commented 4 years ago

I think it has to do something with the existing Growatt ICONS. Can you rename the custom icon for the Growatt. (eg Growatt2) After that: Setup -> Hardware -> Click on the plugin -> Press Update.

Tinus016 commented 4 years ago

Thanks for your input!

I renamed the image file in (/home/pi/domoticz/www/images) to Growatt2 After that: I updated the plugin. Unfortunately the issue stil exists but the plugin creates a new image file.

sincze commented 4 years ago

I checked by renaming the icon in Domoticz custom icons. Not directly on the disk :) please could you follow that path ?

On Tue, 4 Feb 2020, 22:15 Tinus016, notifications@github.com wrote:

Thanks for your input!

I renamed the image file in (/home/pi/domoticz/www/images) to Growatt2 After that: I updated the plugin. Unfortunately the issue stil exists but the plugin creates a new image file.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sincze/Domoticz-Growatt-Webserver-Plugin/issues/4?email_source=notifications&email_token=ABMCHTIK4BKFLRUPGLWYVZLRBHLGBA5CNFSM4KPL74X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKZGXYY#issuecomment-582118371, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMCHTIC3YCTPASCZA25SXTRBHLGBANCNFSM4KPL74XQ .

Tinus016 commented 4 years ago

I'm sorry but no effect unfortunately.

sincze commented 4 years ago

Is this still an issue as I am unable to replicate it now.

Tinus016 commented 4 years ago

Hi, I'm sorry I was out of time for a while. Today I tried again after I updated domoticz to the latest version en it works again. Thanks!