Python Plugin: Python Plugin Manager

Python and python framework

Moderator: leecollings

efarmer1
Posts: 15
Joined: Sunday 15 December 2019 15:26
Target OS: Linux
Domoticz version:
Contact:

Re: Python Plugin: Python Plugin Manager

Post by efarmer1 »

Is it possible to install the Python Plugin Manager in a Docker Domoticz setup?
any one got a wiki
Gamester17
Posts: 29
Joined: Tuesday 28 March 2017 13:05
Target OS: Linux
Domoticz version:
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Gamester17 »

Please consider adding an option to switch between "stable" and "beta" branch releases for the ZigbeeforDomoticz plugin?

https://www.domoticz.com/wiki/ZigbeeForDomoticz

Main reason is that currently only latest "beta6" branch releases contain support for mentioned Texas Instruments CC253x, CC13x2, CC26x2 Zigbee adapters:

https://github.com/zigbeefordomoticz/Do ... tree/beta6 (beta6 branch is currently their "beta")

https://github.com/zigbeefordomoticz/Do ... ee/stable5 (stable5 branch is currently their default stable)

https://github.com/zigbeefordomoticz/Do ... e-channels

About release channels

In order to provide stability and also provide more recent development, Zigbee for Domoticz plugin has the following channels

  • beta6: Current developpement branch integrates zigpy library and allow TI CCxxxx coordinators on top of ZiGate coordinators. Requires Domoticz 2021.1 at minima
  • stable5: Support ALL ZiGate models known today and requires Domoticz 2020.x at minima
  • Not supported
    • beta: deprecated (will be remove end of February 2022)
    • stable: latest version 4.11. - Feb. 2021) deprecated
    • master: latest version 3.0. - Sept. 2018) deprecated

eddieb
Posts: 279
Joined: Wednesday 04 July 2018 7:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Python Plugin: Python Plugin Manager

Post by eddieb »

Does the Plugin Manager still work ???

I noticed that 1 of my plugins on github is updated a couple of days ago but the plugin manager does not see that update ...
https://github.com/vaneeten/domoticz-wudirect is updated

I did allready created a github issue on this
https://github.com/stas-demydiuk/domoti ... /issues/33
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
User avatar
McMelloW
Posts: 430
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: Python Plugin: Python Plugin Manager

Post by McMelloW »

eddieb wrote: Saturday 09 April 2022 8:32 Does the Plugin Manager still work ???

I noticed that 1 of my plugins on github is updated a couple of days ago but the plugin manager does not see that update ...
https://github.com/vaneeten/domoticz-wudirect is updated

I did allready created a github issue on this
https://github.com/stas-demydiuk/domoti ... /issues/33
WUdirect is updated to v 0.2.6
After you used the plugin manager for update, make sure to restart domoticz and clear cache in your browser. It works OK at my RPi 3b+
Greetings McMelloW
eddieb
Posts: 279
Joined: Wednesday 04 July 2018 7:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Python Plugin: Python Plugin Manager

Post by eddieb »

I know wudirect is updated, but plugin manager did not see an update ...
I waited 48 hours before I manually updated wudirect
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
Tjilie
Posts: 2
Joined: Thursday 30 November 2017 16:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Tjilie »

Does anyone know how to fix this?

2022-09-18 12:00:17.820 Error: PP-Manager: Call to function 'onHeartbeat' failed, exception details:
2022-09-18 12:00:17.834 Error: PP-Manager: Traceback (most recent call last):
2022-09-18 12:00:17.834 Error: PP-Manager: File "/home/pi/domoticz/plugins/PP-MANAGER/plugin.py", line 786, in onHeartbeat
2022-09-18 12:00:17.834 Error: PP-Manager: _plugin.onHeartbeat()
2022-09-18 12:00:17.834 Error: PP-Manager: File "/home/pi/domoticz/plugins/PP-MANAGER/plugin.py", line 454, in onHeartbeat
2022-09-18 12:00:17.834 Error: PP-Manager: self.CheckForUpdatePythonPlugin(self.plugindata[Parameters["Mode2"]][0], self.plugindata[Parameters["Mode2"]][1], str(dir))
2022-09-18 12:00:17.834 Error: PP-Manager: File "/home/pi/domoticz/plugins/PP-MANAGER/plugin.py", line 578, in CheckForUpdatePythonPlugin
2022-09-18 12:00:17.834 Error: PP-Manager: if (self.plugindata[ppKey][2] in self.ExceptionList):
2022-09-18 12:00:17.834 Error: PP-Manager: KeyError: 'examples'

Thanks, Michiel
User avatar
pgielen
Posts: 91
Joined: Monday 18 February 2019 14:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Boxmeer
Contact:

Re: Python Plugin: Python Plugin Manager

Post by pgielen »

I would really like to learn how to create a new Python plugin for Domoticz. Is there a manual somewhere to help me get going?

Pierre
https://robothuis.nl, RPi4B, RFXCOM XL, Aeotec Z-Stick, ESP Easy, Weatherstation, several switches and sensors, Ikea Trädfri, Philips Hue, Foscam, Reolink, Lyric T6, Ring
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Nautilus »

pgielen wrote: Sunday 25 September 2022 21:30 I would really like to learn how to create a new Python plugin for Domoticz. Is there a manual somewhere to help me get going?

Pierre
This should help, I hope: https://www.domoticz.com/wiki/Developin ... hon_plugin

And you can look for reference from the existing plugins: https://www.domoticz.com/wiki/Plugins
SterkeJerke
Posts: 18
Joined: Friday 01 February 2019 20:57
Target OS: Linux
Domoticz version:
Contact:

Re: Python Plugin: Python Plugin Manager

Post by SterkeJerke »

Tjilie wrote: Sunday 18 September 2022 14:04 Does anyone know how to fix this?

2022-09-18 12:00:17.820 Error: PP-Manager: Call to function 'onHeartbeat' failed, exception details:
2022-09-18 12:00:17.834 Error: PP-Manager: Traceback (most recent call last):
2022-09-18 12:00:17.834 Error: PP-Manager: File "/home/pi/domoticz/plugins/PP-MANAGER/plugin.py", line 786, in onHeartbeat
2022-09-18 12:00:17.834 Error: PP-Manager: _plugin.onHeartbeat()
2022-09-18 12:00:17.834 Error: PP-Manager: File "/home/pi/domoticz/plugins/PP-MANAGER/plugin.py", line 454, in onHeartbeat
2022-09-18 12:00:17.834 Error: PP-Manager: self.CheckForUpdatePythonPlugin(self.plugindata[Parameters["Mode2"]][0], self.plugindata[Parameters["Mode2"]][1], str(dir))
2022-09-18 12:00:17.834 Error: PP-Manager: File "/home/pi/domoticz/plugins/PP-MANAGER/plugin.py", line 578, in CheckForUpdatePythonPlugin
2022-09-18 12:00:17.834 Error: PP-Manager: if (self.plugindata[ppKey][2] in self.ExceptionList):
2022-09-18 12:00:17.834 Error: PP-Manager: KeyError: 'examples'

Thanks, Michiel
I have almost the same issue:

2022-11-25 12:32:44.065 Error: Plugin Manager: Call to function 'onHeartbeat' failed, exception details:
2022-11-25 12:32:44.066 Error: Plugin Manager: Traceback (most recent call last):
2022-11-25 12:32:44.066 Error: Plugin Manager: File "/home/henk-jan/domoticz/plugins/PP-MANAGER/plugin.py", line 786, in onHeartbeat
2022-11-25 12:32:44.066 Error: Plugin Manager: _plugin.onHeartbeat()
2022-11-25 12:32:44.066 Error: Plugin Manager: File "/home/henk-jan/domoticz/plugins/PP-MANAGER/plugin.py", line 422, in onHeartbeat
2022-11-25 12:32:44.066 Error: Plugin Manager: pluginKey = Parameters["Mode2"]
2022-11-25 12:32:44.066 Error: Plugin Manager: KeyError: 'Mode2'
2022-11-25 12:32:54.081 Error: Plugin Manager: Call to function 'onHeartbeat' failed, exception details:
2022-11-25 12:32:54.081 Error: Plugin Manager: Traceback (most recent call last):
2022-11-25 12:32:54.081 Error: Plugin Manager: File "/home/henk-jan/domoticz/plugins/PP-MANAGER/plugin.py", line 786, in onHeartbeat
2022-11-25 12:32:54.081 Error: Plugin Manager: _plugin.onHeartbeat()
2022-11-25 12:32:54.081 Error: Plugin Manager: File "/home/henk-jan/domoticz/plugins/PP-MANAGER/plugin.py", line 422, in onHeartbeat
2022-11-25 12:32:54.081 Error: Plugin Manager: pluginKey = Parameters["Mode2"]
2022-11-25 12:32:54.081 Error: Plugin Manager: KeyError: 'Mode2'
Harald777
Posts: 48
Joined: Thursday 01 June 2017 8:44
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Netherlands
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Harald777 »

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 solve this issue already.
Love to know how, I have the same issue after removing the not working alternative Plugins Manager.

Greetings,

Harald
Thelion
Posts: 54
Joined: Saturday 08 October 2016 12:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: The Netherlands
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Thelion »

Harald777 wrote: Sunday 18 December 2022 10:26
Did you solve this issue already.
Love to know how, I have the same issue after removing the not working alternative Plugins Manager.

Greetings,

Harald
Yes, I did, but I can't remember how exactly. It's been a while 😬

I think I went the way of fiddling with the files and database, after making a backup of course.
User avatar
waltervl
Posts: 5374
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Python Plugin: Python Plugin Manager

Post by waltervl »

To remove the custom page remove the plugins manager html from
domoticz/www/templates/
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Harald777
Posts: 48
Joined: Thursday 01 June 2017 8:44
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Netherlands
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Harald777 »

waltervl wrote: Sunday 18 December 2022 18:23 To remove the custom page remove the plugins manager html from
domoticz/www/templates/
Yes, that did the trick.
Thanks for this info, much appreciated.

Greetings, Harald
YrBo
Posts: 3
Joined: Friday 13 November 2020 14:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Netherlands
Contact:

Re: Python Plugin: Python Plugin Manager

Post by YrBo »

Hi,

I installed the plugin manager from https://www.domoticz.com/wiki/Python_Plugin_Manager
When installing a desired plugin the plugin is not installed.
I dont see a folder created at
pi@DomoticzPi:~/domoticz/plugins $ ls
AwoxSMP PP-MANAGER Zigate examples

I followed al the steps, please help...
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Nautilus »

Hopefully not an issue anymore but you have to restart domoticz and the go to create new hardware. Whatever plugin you installed, it should have created a new entry to the available hardware list for you to select.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests