I am jumping into the python plugin manager world with @StasDemydiuk version.
Nice looking and sounds great.
Unfortunately I was not able to update the Shelly MQTT plugin that needs update.
When I press update, it seems to do it and ask me to reboot Domoticz. But when I look into the plugin.py, the version is still the old one.
Here it the log during the update process, sounds good isn't it?
Code: Select all
Updating Plugin:Shelly MQTT translator
2021-04-04 10:32:34.435 (Plugin Manager) Checking plugin "Shelly MQTT" for updates
2021-04-04 10:32:35.404 (Plugin Manager) Calling:LANG=en_US /usr/bin/git status -uno on folder /home/pi/domoticz/plugins/Shelly_MQTT
2021-04-04 10:32:35.467 (Plugin Manager) Git Response:b'On branch master\nYour branch is behind \'origin/master\' by 16 commits, and can be fast-forwarded.\n (use "git pull" to update your local branch)\n\nChanges not staged for commit:\n (use "git add <file>..." to update what will be committed)\n (use "git checkout -- <file>..." to discard changes in working directory)\n\n\tmodified: mqtt.py\n\tmodified: plugin.py\n\nno changes added to commit (use "git add" and/or "git commit -a")\n'
2021-04-04 10:32:35.468 (Plugin Manager) Calling: "LANG=en_US /usr/bin/git pull --force" on folder /home/pi/domoticz/plugins/Shelly_MQTT
2021-04-04 10:32:36.420 (Plugin Manager) Git Response:b'Updating c5efbc6..0636aee\n'
2021-04-04 10:32:36.420 (Plugin Manager) Succesfully pulled gitHub update: c5efbc6..0636ae for plugin Shelly MQTT translator
2021-04-04 10:32:36.420 (Plugin Manager) ---Restarting Domoticz MAY BE REQUIRED to activate new plugins---
Is there something I can check?