Open DAVIZINH0 opened 2 years ago
Would be cool if the plugin can detect that it's running in docker and use the correct path (/opt/domoticz/userdata/plugins).
how did you install the plugin manager?
cd /opt/domoticz/plugins git clone https://github.com/ycahome/pp-manager.git
or cd /opt/domoticz/userdata/plugins git clone https://github.com/ycahome/pp-manager.git
also when you copy the plugin manually from /opt/domoticz/plugins to /opt/domoticz/userdata/plugins does it work then.
UPDATE tested it and indeed the new plugin is installed in /opt/domoticz/plugins regardless of where you installed the PP-manager. moving the plugin does not work, it is being recreated on the old location again after restart it would be nice if we added a simple option in the plugin manager menu where we could change the default plugin directory. no fancy detections but just a drop down menu which is defaulted to /opt/domoticz/plugins but which we can change.
also tested manual plugin installation and that works ok when initiated from /the /opt/domoticz/userdata/plugins directory so unless you have a lot of plugins installing manually is the best choice. this offcourse changes when people decide to include the plugin in the default docker image, this will save a lot of time
Hello. I install this plugin in the oficial docker image and the menu apears and the list of plugins apears. All OK. The problem apears when i try to install a plugin (speedtest for this example). I push the button to install and all works aparently fine, but the hardware not apears :-O I go to my plugin folder (/opt/domoticz/userdata/plugins) and the plugin speedtest not apears. But if i go to /opt/domoticz/plugins/ the plugin apears!!.
The problem is in the oficial docker the path to put the plugins (the path where i put the manager) is /opt/domoticz/userdata/plugins
can you tell me the default router when the plugin manager download the plugins? maybe this is the problem in docker?
thanks!