flopp999 / MEATERCloud-Domoticz

0 stars 0 forks source link

onStart KeyError #1

Closed frontfoto closed 2 years ago

frontfoto commented 2 years ago

Tried to install the plugin, followed the instructions from github but when added to domoticz I find this in domoticz log. and MEATERCloud.log doesn't give any info.

2021-12-19 10:06:28.656 Error: Meater: 'onStart' failed 'KeyError':'('MEATERCloud',)'. 2021-12-19 10:06:28.656 Error: Meater: Exception traceback: 2021-12-19 10:06:28.656 Error: Meater: ----> Line 159 in '/home/zait/domoticz/plugins/MEATERLink-Domoticz/plugin.py' 2021-12-19 10:06:28.656 Error: Meater: ----> Line 77 in '/home/zait/domoticz/plugins/MEATERLink-Domoticz/plugin.py'

2021-12-19 10:06:38.072 Error: Meater: 'onHeartbeat' failed 'AttributeError':''BasePlugin' object has no attribute 'GetToken''. 2021-12-19 10:06:38.072 Error: Meater: Exception traceback: 2021-12-19 10:06:38.072 Error: Meater: ----> Line 212 in '/home/zait/domoticz/plugins/MEATERLink-Domoticz/plugin.py' 2021-12-19 10:06:38.072 Error: Meater: ----> Line 151 in '/home/zait/domoticz/plugins/MEATERLink-Domoticz/plugin.py'

flopp999 commented 2 years ago

Have you downloaded ZIP-files to same as plugin.py?

frontfoto commented 2 years ago

Haven't downloaded any files separated. The files are located in plugins, in a folder named MEATERLink-Domoticz as above. In the folder there is 2 zipfiles one png, Plugin.py

frontfoto commented 2 years ago

Every files comes from me using git clone as described on github

flopp999 commented 2 years ago

In setup-custom icons do you see MEATERcloud?

frontfoto commented 2 years ago
Screenshot 2021-12-19 at 11 27 30

Yes, that works.

frontfoto commented 2 years ago

The error above is when domoticz tries to start the plugin.

frontfoto commented 2 years ago

Tried to update Domoticz to latest beta. All other plugin runs fine only Meater not starting.

flopp999 commented 2 years ago

I see the problem. Give a minute to fix it

flopp999 commented 2 years ago

please try

sudo git pull then restart DZ

frontfoto commented 2 years ago

Plugin is up and running. Will report back if it generates some new errors.

flopp999 commented 2 years ago

thanks for letting me now this problem