Page 11 of 12
Re: Python Plugin: Python Plugin Manager
Posted: Sunday 07 February 2021 19:55
by waltervl
brianhunt wrote: Sunday 07 February 2021 14:08
Installed this and it does show a 'custom' tab. However if I go to the tab, it stays at 'loading', no plugins are showed.
Any suggestions how to solve this? (have the correct python and libraries). I use the 'Thinktheme', but don't know if that has any influence.
Thanks for your help.
The first check I would do is to change to a default theme and check again....

Re: Python Plugin: Python Plugin Manager
Posted: Sunday 07 February 2021 21:38
by Kruu
Re: Python Plugin: Python Plugin Manager
Posted: Sunday 07 February 2021 21:50
by waltervl
Looks like a sytesheet or javascript issue.
Did you do a CTRL F5 refresh?
Else delete your browser cache
https://www.domoticz.com/wiki/Browser_Cache
Re: Python Plugin: Python Plugin Manager
Posted: Sunday 07 February 2021 21:59
by Kruu
That was the first thing I did. It did not help.
Also have the same situation with zigbee2mqtt:
Code: Select all
Zigbee2mqtt api_transport 255 Zigbee2mqtt - Zigbee2MQTT API Transport General Text {"type":"request","requestId":2,"command":"bridge_getstatus","params":{}}
Re: Python Plugin: Python Plugin Manager
Posted: Monday 08 February 2021 0:25
by waltervl
What version of Domoticz are you running?
What browser do you use?
Try your browser in private mode.
Re: Python Plugin: Python Plugin Manager
Posted: Monday 08 February 2021 7:36
by Kruu
waltervl wrote: Monday 08 February 2021 0:25
What version of Domoticz are you running?
What browser do you use?
Try your browser in private mode.
2020.2
Vivaldi, tried it in firefox and chrome also. No help if in private tab. Also have that on my mobile phone when open domoticz-devices.
Re: Python Plugin: Python Plugin Manager
Posted: Wednesday 10 February 2021 20:24
by waltervl
Well, I just tried with a beta (2020.2.12901) and no issues with displaying on firefox and chromium. Also after the latest update of the plugin manager.
I also had no issues with stable 2020.2
I used the default theme.
So I still would advise to clear your browser cache completely
Re: Python Plugin: Python Plugin Manager
Posted: Thursday 25 February 2021 19:37
by Kruu
Still having the same issue. And also have that issue with zigbee2mqtt, also in devices tab, DATA column I have:
Code: Select all
{"type": "response", "requestId": 7, "isError": false, "payload": "digraph G {\nnode[shape=record];\n \"0x00124b001ccc574e\" [style=\"bold, filled\", fillcolor=\"#e04e5d\", fontcolor=\"#ffffff\", label=\"{Coordinator|0x00124b001ccc574e (0)|0 seconds ago}\"];\n \"0x00124b00226748a5\" [style=\"rounded, dashed, filled\", fillcolor=\"#fff8ce\", fontcolor=\"#000000\", label=\"{IC Sonoff|0x00124b00226748a5 (42067)|SONOFF Motion sensor (SNZB-03)|3 hours, 22 minutes ago}\"];\n \"0x00124b00226748a5\" -> \"0x00124b001ccc574e\" [penwidth=1, weight=0, color=\"#994444\", label=\"170\"]\n}"}
Re: Python Plugin: Python Plugin Manager
Posted: Thursday 11 March 2021 23:02
by psubiaco
ycahome wrote: Saturday 03 March 2018 16:56
pp manager default in domoticz? (would help lots of users searching for plugins etc.)[/b]
I would try to contact dnpwwo. A "repository" like approach would be more preferable.
Note that this plugin currently works only on Debian based systems (Linux, raspberry)
Hi @ycahome
I think it will be very helpful to have Python Plugin Manager already installed in Domoticz, so people can search and install python plugins without the need to use the linux console!
I believe it's sufficient to include PP-Manager into the domoticz sources to get it available in the hardware list! Why not doing this?
I hope that @gizmocuz @dnpwwo ... will take into account this possibility!
Regards.
Paolo
Re: Python Plugin: Python Plugin Manager
Posted: Friday 12 March 2021 0:00
by waltervl
https://www.domoticz.com/wiki/Plugins
I try to keep this page up to date for all users to find the plugins they could need.
Some plugins need some extra installation effort so a plugin manager as developed here can not handle all plugins. I personally do not use it but there definitely is a need for it.
If the plugin framework would have a mechanism that a plugin can update itself from github when needed it would help even better....
Re: Python Plugin: Python Plugin Manager
Posted: Sunday 04 April 2021 10:35
by darrepac
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?
Re: Python Plugin: Python Plugin Manager
Posted: Monday 05 April 2021 15:25
by louloucmoi
StasDemydiuk wrote: Wednesday 27 May 2020 18:44
Thanks to ycahome's great work and basing on the original plugin I've created alternate version with UI (using Domoticz custom page) to easily manage plugins. Hopefully someone else also find it useful. Any feedback is highly welcome
https://github.com/stas-demydiuk/domoti ... ns-manager
Hello
I'm getting this error after installing:
2021-04-05 15:14:58.445 Error: PP Manager: (plugins-manager) failed to load 'plugin.py', Python Path used was '/home/domoticz/plugins/plugins-manager/:/usr/local/lib/python38.zip//usr/local/lib/python3.8//usr/local/lib/python3.8/lib-dynload:/usr/local/lib/python3.8/site-packages'.
2021-04-05 15:14:58.445 Error: PP Manager: (PP Manager) Module Import failed, exception: 'ModuleNotFoundError'
2021-04-05 15:14:58.445 Error: PP Manager: (PP Manager) Module Import failed: ' Name: platform'
2021-04-05 15:14:58.445 Error: PP Manager: (PP Manager) Error Line details not available.
Python Plugin is working
2021-04-05 15:20:15.131 Status: PluginSystem: Started, Python version '3.8.0b1'.
System : Linux Debian 4.9
Domoticz Build: 13133.
What I have Wrong ?
Re: Python Plugin: Python Plugin Manager
Posted: Thursday 29 April 2021 13:12
by Skwi
Hello, I try to switch from the domoticz package (synology) to a docker container. I did re-install PP-Manager but when I select a plugin to install, then "update", nothing happend.
In the logs I can see the plugin is rebooting: 2021-04-29 12:37:37.176 PP-Manager hardware started. and that's all, even after restarting domoticz there is no new hardware (zigate in my case), and there is no new folder under my /volume1/docker/domoticz/plugins folder (I was expecting Domoticz-Zigate as previously)
Do you have any idea what's happening? What I am doing wrong (probably a permission issue)
Thanks
Re: Python Plugin: Python Plugin Manager
Posted: Tuesday 29 June 2021 17:03
by eddieb
any change that the wu-direct plugin (
viewtopic.php?f=65&t=29327) can be added to the plugin manager ?
Re: Python Plugin: Python Plugin Manager
Posted: Tuesday 30 November 2021 12:30
by Thelion
Hi,
How do I remove Python Plugin Manager completely?
I removed the folder in the Domoticz Plugin folder, after I removed the hardware, but I still get the Plugins-Manager option in the Custom menu.
Re: Python Plugin: Python Plugin Manager
Posted: Tuesday 30 November 2021 17:58
by ycahome
did you tried to add it to github by yourself and submit a pull request?
Re: Python Plugin: Python Plugin Manager
Posted: Tuesday 30 November 2021 17:58
by ycahome
Thelion wrote: Tuesday 30 November 2021 12:30
Hi,
How do I remove Python Plugin Manager completely?
I removed the folder in the Domoticz Plugin folder, after I removed the hardware, but I still get the Plugins-Manager option in the Custom menu.
did you restarted domoticz? what do you mean by"Plugins-Manager option in the Custom menu."? screenshot?
you probably mean the plugins-manager, right?
Re: Python Plugin: Python Plugin Manager
Posted: Tuesday 30 November 2021 18:14
by Thelion
ycahome wrote: Tuesday 30 November 2021 17:58
Thelion wrote: Tuesday 30 November 2021 12:30
Hi,
How do I remove Python Plugin Manager completely?
I removed the folder in the Domoticz Plugin folder, after I removed the hardware, but I still get the Plugins-Manager option in the Custom menu.
did you restarted domoticz? what do you mean by"Plugins-Manager option in the Custom menu."? screenshot?
you probably mean the plugins-manager, right?
Yes, I did restart it, multiple times. I actually removed it quite some time ago. I just noticed that it was still there after I re-enabled the Custom menu option.
See attached screenshots. When I open the Plugins-Manager option, the screen loads, but doesn't show any information and keeps loading. Which is to be expected, as the plugin doesn't exist anymore.

Re: Python Plugin: Python Plugin Manager
Posted: Tuesday 30 November 2021 18:33
by ycahome
This thread is for pp-manager.
this is "plugins-manager"
you should contact StasDemydiuk
Thelion wrote: Tuesday 30 November 2021 18:14
ycahome wrote: Tuesday 30 November 2021 17:58
Thelion wrote: Tuesday 30 November 2021 12:30
Hi,
How do I remove Python Plugin Manager completely?
I removed the folder in the Domoticz Plugin folder, after I removed the hardware, but I still get the Plugins-Manager option in the Custom menu.
did you restarted domoticz? what do you mean by"Plugins-Manager option in the Custom menu."? screenshot?
you probably mean the plugins-manager, right?
Yes, I did restart it, multiple times. I actually removed it quite some time ago. I just noticed that it was still there after I re-enabled the Custom menu option.
See attached screenshots. When I open the Plugins-Manager option, the screen loads, but doesn't show any information and keeps loading. Which is to be expected, as the plugin doesn't exist anymore.
Re: Python Plugin: Python Plugin Manager
Posted: Tuesday 30 November 2021 21:38
by Thelion
ycahome wrote: Tuesday 30 November 2021 18:33
This thread is for pp-manager.
this is "plugins-manager"
you should contact StasDemydiuk
Thelion wrote: Tuesday 30 November 2021 18:14
ycahome wrote: Tuesday 30 November 2021 17:58
did you restarted domoticz? what do you mean by"Plugins-Manager option in the Custom menu."? screenshot?
you probably mean the plugins-manager, right?
Yes, I did restart it, multiple times. I actually removed it quite some time ago. I just noticed that it was still there after I re-enabled the Custom menu option.
See attached screenshots. When I open the Plugins-Manager option, the screen loads, but doesn't show any information and keeps loading. Which is to be expected, as the plugin doesn't exist anymore.
Ok, thanks.