Python Plugin: Python Plugin Manager
Moderator: leecollings
- remb0
- Posts: 499
- Joined: Thursday 11 July 2013 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: Python Plugin: Python Plugin Manager
some ideas:
add a short info message on https://www.domoticz.com/wiki/Plugins
and maybe a column if plugin is installable from PP-manager?
pp manager default in domoticz? (would help lots of users searching for plugins etc.)
categories for plugins? hardware / web services because the list will grow fast and with categories (maybe an extra metadata of the plugins) the dropdown will be shorter.
maybe a screenshot for the plugins? if the plugin has a folder: screenshots ?
what if a plugin is installed already? can it be updated from the manager?
is there an install log of the prerequisites of a plugin?
one problem:
When I enable pp manager my domoticz goes down. and when restarting I can't disable the plugin: problem adding hardware.
add a short info message on https://www.domoticz.com/wiki/Plugins
and maybe a column if plugin is installable from PP-manager?
pp manager default in domoticz? (would help lots of users searching for plugins etc.)
categories for plugins? hardware / web services because the list will grow fast and with categories (maybe an extra metadata of the plugins) the dropdown will be shorter.
maybe a screenshot for the plugins? if the plugin has a folder: screenshots ?
what if a plugin is installed already? can it be updated from the manager?
is there an install log of the prerequisites of a plugin?
one problem:
When I enable pp manager my domoticz goes down. and when restarting I can't disable the plugin: problem adding hardware.
- remb0
- Posts: 499
- Joined: Thursday 11 July 2013 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: Python Plugin: Python Plugin Manager
Can you reply the commands for other users? (like me

- ycahome
- Posts: 248
- Joined: Sunday 12 February 2017 10:55
- Target OS: Linux
- Domoticz version: lat Beta
- Contact:
Re: Python Plugin: Python Plugin Manager
add a short info message on https://www.domoticz.com/wiki/Plugins
and maybe a column if plugin is installable from PP-manager?
pp manager default in domoticz? (would help lots of users searching for plugins etc.)
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)
categories for plugins? hardware / web services because the list will grow fast and with categories (maybe an extra metadata of the plugins) the dropdown will be shorter.
Currently, plugin framework does not allow plugin configuration from within the plugin code.
maybe a screenshot for the plugins? if the plugin has a folder: screenshots ?
Currently, plugin framework does not allow plugin configuration from within the plugin code.
what if a plugin is installed already? can it be updated from the manager?
If plugin was installed from GitHub with git command (not just a zip download) can be managed.
is there an install log of the prerequisites of a plugin?
this is an information that can be provided from plugin creators just like the installation scripts for those prerequisites.
--------
https://www.youtube.com/siakavelisgr
https://www.youtube.com/siakavelisgr
-
- Posts: 73
- Joined: Saturday 07 November 2015 10:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Poland
- Contact:
Re: Python Plugin: Python Plugin Manager
Well, there are two ways, sophisticated by "update-alternatives" or easy by "remove"


1. first, check what's on Your system
Code: Select all
compgen -c python
if dont...
3.
Code: Select all
sudo apt-get install python3.4
Code: Select all
sudo apt-get remove python3.5
sudo apt-get autoremove
sudo reboot
-
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: Python Plugin: Python Plugin Manager
@remb0
I had the same problems that python did not start (sometimes)
I followed your procedure
also did a
apt --fix-broken install
python 3.5 still remains!
I had the same problems that python did not start (sometimes)
I followed your procedure
Code: Select all
i@raspberrypi:~ $ compgen -c python
python3.5
python2
python3.4
python3.4m
python-config
python3
python
python2.7-config
python2.7
python3.5m
python2-config
python3m
Code: Select all
pi@raspberrypi:~ $ sudo apt-get remove python3.5
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
Pakket 'python3.5' is niet geïnstalleerd, en wordt dus niet verwijderd
U kunt 'apt --fix-broken install' uitvoeren om dit op te lossen.
De volgende pakketten hebben niet-voldane vereisten:
alacarte : Vereisten: gnome-menus (>= 3.5.3) maar het zal niet geïnstalleerd worden
python-minecraftpi : Vereisten: minecraft-pi maar het zal niet geïnstalleerd worden
E: Er zijn niet-voldane vereisten. U kunt best 'apt --fix-broken install' uitvoeren zonder pakketten op te geven, (of u kunt zelf een oplossing specificeren).
apt --fix-broken install
python 3.5 still remains!
Code: Select all
sudo update-alternatives --config python
Keuze Pad Prioriteit Status
------------------------------------------------------------
0 /usr/bin/python3.5 3 automatische modus
1 /usr/bin/python2.7 2 handmatige modus
* 2 /usr/bin/python3 1 handmatige modus
3 /usr/bin/python3.5 3 handmatige modus
python --version
Python 3.5.3
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
-
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: Python Plugin: Python Plugin Manager
Solved my problem, i can select 3.4 and python works now
Anyone an idea why
-EnableEventScriptSystem value has become 0 (off). It was 1 (ON) and after playing with weatherunderground and detect hardware devices python stopped and this value became 0
- i cant remove python 3.5 (see previous post)
solution:
Anyone an idea why
-EnableEventScriptSystem value has become 0 (off). It was 1 (ON) and after playing with weatherunderground and detect hardware devices python stopped and this value became 0
- i cant remove python 3.5 (see previous post)
solution:
Code: Select all
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.4 4 (4 is variable)
and then
sudo update-alternatives --config python
and choose option 4(variable)
Also python is working again after updating EnableEventScriptSystem to 1
rowid Key nValue sValue
139 EnableEventScriptSystem 1
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
- ycahome
- Posts: 248
- Joined: Sunday 12 February 2017 10:55
- Target OS: Linux
- Domoticz version: lat Beta
- Contact:
Re: Python Plugin: Python Plugin Manager
Hello again.
New version is here. You have nothing to do. You will get new version on next domoticz restart or plugin "Update".
v.1.4.10
Added: Xiaomi PM2.5 Sensor
Added: Sony Bravia TV (with Kodi remote)
Changed: Selected (NotifyOnly) is now the default option for auto update

As for making this plugin default on domoticz, am trying first to make it play under Windows or only if Detect Linux .
Thank you for your help
New version is here. You have nothing to do. You will get new version on next domoticz restart or plugin "Update".
v.1.4.10
Added: Xiaomi PM2.5 Sensor
Added: Sony Bravia TV (with Kodi remote)
Changed: Selected (NotifyOnly) is now the default option for auto update
@remb0: Adopted your idea. Thanksremb0 wrote: ↑Saturday 03 March 2018 16:31 some ideas:
add a short info message on https://www.domoticz.com/wiki/Plugins
and maybe a column if plugin is installable from PP-manager?

As for making this plugin default on domoticz, am trying first to make it play under Windows or only if Detect Linux .
Thank you for your help
--------
https://www.youtube.com/siakavelisgr
https://www.youtube.com/siakavelisgr
-
- Posts: 73
- Joined: Saturday 07 November 2015 10:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Poland
- Contact:
Re: Python Plugin: Python Plugin Manager
Great Job! TYVM!ycahome wrote: ↑Sunday 04 March 2018 9:26 Hello again.
New version is here. You have nothing to do. You will get new version on next domoticz restart or plugin "Update".
v.1.4.10
Added: Xiaomi PM2.5 Sensor
Added: Sony Bravia TV (with Kodi remote)
Changed: Selected (NotifyOnly) is now the default option for auto update
@remb0: Adopted your idea. Thanksremb0 wrote: ↑Saturday 03 March 2018 16:31 some ideas:
add a short info message on https://www.domoticz.com/wiki/Plugins
and maybe a column if plugin is installable from PP-manager?
As for making this plugin default on domoticz, am trying first to make it play under Windows or only if Detect Linux .
Thank you for your help
https://github.com/kofec/domoticz-AirPurifier maybe next?

- DeBaat
- Posts: 33
- Joined: Saturday 27 January 2018 14:52
- Target OS: NAS (Synology & others)
- Domoticz version: V3.8153
- Contact:
Re: Python Plugin: Python Plugin Manager
Wow!
Wonderful idea.
Was looking in how to add Sonos plugin but was holding back because I wasn't that confident accessing the bare system.
I do have some good experience with managing plugins for WordPress. Might find some ideas there?
Keep up the good work!
Wonderful idea.
Was looking in how to add Sonos plugin but was holding back because I wasn't that confident accessing the bare system.
I do have some good experience with managing plugins for WordPress. Might find some ideas there?
Keep up the good work!
-
- Posts: 1
- Joined: Sunday 04 March 2018 15:19
- Target OS: Linux
- Domoticz version:
- Location: Michigan
- Contact:
Re: Python Plugin: Python Plugin Manager
Python Plugin Management, simplified
[spam ? ?
[spam ? ?
- ycahome
- Posts: 248
- Joined: Sunday 12 February 2017 10:55
- Target OS: Linux
- Domoticz version: lat Beta
- Contact:
Re: Python Plugin: Python Plugin Manager
What was that?michellejohnso1 wrote: ↑Sunday 04 March 2018 15:32 Python Plugin Management, simplified
.. pluginmanager documentation master file, created by


Your first post to this forum and looks like spam advertising!!
Maybe you should use some code tags in order to make your post readable!!
--------
https://www.youtube.com/siakavelisgr
https://www.youtube.com/siakavelisgr
- ycahome
- Posts: 248
- Joined: Sunday 12 February 2017 10:55
- Target OS: Linux
- Domoticz version: lat Beta
- Contact:
Re: Python Plugin: Python Plugin Manager
New version is here. You have nothing to do. You will get new version on next Domoticz restart or plugin "Update".
v.1.4.17
Added: Denon/Marantz Amplifier
Added: Disc usage
Added: Dutch earthquakes
Added: Hive Active Heating
Wiki Plugin catalogue updated. A suffix "$" added to mark the plugins that have some dependencies (from what is mentioned to instructions)
https://www.domoticz.com/wiki/Plugins
v.1.4.17
Added: Denon/Marantz Amplifier
Added: Disc usage
Added: Dutch earthquakes
Added: Hive Active Heating
Wiki Plugin catalogue updated. A suffix "$" added to mark the plugins that have some dependencies (from what is mentioned to instructions)
https://www.domoticz.com/wiki/Plugins
--------
https://www.youtube.com/siakavelisgr
https://www.youtube.com/siakavelisgr
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: Python Plugin: Python Plugin Manager
Thx Ycahome for your works
I try to run your plugin manager on my test domoticz (rpi 3 + stretch) domo beta 3.9014 python 3.5.3
Each time i try to add a plugin (Miflora mate xiaomi robot, pm2.5) this create a segmentation fault, any idea ?
I try to run your plugin manager on my test domoticz (rpi 3 + stretch) domo beta 3.9014 python 3.5.3
Each time i try to add a plugin (Miflora mate xiaomi robot, pm2.5) this create a segmentation fault, any idea ?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
- ycahome
- Posts: 248
- Joined: Sunday 12 February 2017 10:55
- Target OS: Linux
- Domoticz version: lat Beta
- Contact:
Re: Python Plugin: Python Plugin Manager
Seems that the are problems with some plugins, raspberry and python 3.5.
Two questions:
- you are pressing "Update" after selecting "Miflora mate xiaomi robot or pm2.5", correct?
- can you post me the results of the following commands?
python --version
and
python3 --version
--------
https://www.youtube.com/siakavelisgr
https://www.youtube.com/siakavelisgr
- ycahome
- Posts: 248
- Joined: Sunday 12 February 2017 10:55
- Target OS: Linux
- Domoticz version: lat Beta
- Contact:
Re: Python Plugin: Python Plugin Manager
v.1.4.18 is here:
Added: Meteo Alarm EU RSS Reader
Added: Mikrotik RouterOS
Added: Moon Phases
Help me include your plugins (on GitHub) by requesting changes on GitHub.
Regards,
Added: Meteo Alarm EU RSS Reader
Added: Mikrotik RouterOS
Added: Moon Phases
Help me include your plugins (on GitHub) by requesting changes on GitHub.
Regards,
--------
https://www.youtube.com/siakavelisgr
https://www.youtube.com/siakavelisgr
-
- Posts: 78
- Joined: Saturday 30 July 2016 10:14
- Target OS: Linux
- Domoticz version: 2020beta
- Location: Arnhem
- Contact:
Re: Python Plugin: Python Plugin Manager
just downloaded pp-manager in the plugins directory.
rebooted my raspberry but nothing appears.
running Domoticz v3.9014 (latest beta) on pi3
rebooted my raspberry but nothing appears.
running Domoticz v3.9014 (latest beta) on pi3
- ycahome
- Posts: 248
- Joined: Sunday 12 February 2017 10:55
- Target OS: Linux
- Domoticz version: lat Beta
- Contact:
Re: Python Plugin: Python Plugin Manager
make sure that you have python installed
--------
https://www.youtube.com/siakavelisgr
https://www.youtube.com/siakavelisgr
-
- Posts: 78
- Joined: Saturday 30 July 2016 10:14
- Target OS: Linux
- Domoticz version: 2020beta
- Location: Arnhem
- Contact:
Re: Python Plugin: Python Plugin Manager
here is my output about python:
Any hints?
Code: Select all
sudo apt-get install python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3 is already the newest version (3.5.3-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@domotica:~ $ python --version
Python 2.7.13
- ycahome
- Posts: 248
- Joined: Sunday 12 February 2017 10:55
- Target OS: Linux
- Domoticz version: lat Beta
- Contact:
Re: Python Plugin: Python Plugin Manager
are you sure that you don't see "Python plugin manager" on plugin list?
Any log entries?
Any log entries?
--------
https://www.youtube.com/siakavelisgr
https://www.youtube.com/siakavelisgr
-
- Posts: 78
- Joined: Saturday 30 July 2016 10:14
- Target OS: Linux
- Domoticz version: 2020beta
- Location: Arnhem
- Contact:
Re: Python Plugin: Python Plugin Manager
Absolutely sure, no python plugin manager in the list.
Which logfile would u like to see?
Which logfile would u like to see?
Who is online
Users browsing this forum: No registered users and 1 guest