Python Plugin: Python Plugin Manager

Python and python framework

Moderator: leecollings

Post Reply
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Derik »

ycahome wrote: Monday 04 June 2018 20:39 my suggestion will re-apply your installation files even if your version is the same.

Another test you can make is to backup your database and reinstall your Domoticz.

Seems that your installation has some problems..

mmm did install last weekend a clean and new setup on a new RpiB+...
So i think.... there is something else wrong..:-)?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Derik »

What version of python do i need?? in your opinion
Perhaps there is something to see?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: Python Plugin Manager

Post by ycahome »

I think 3.4.4 is ok.

I have installed a lot of raspberry pies with domoticz and various plugins over the time. It's quite straight forward (except from raspbian stretch that requires libssl to start domoticz).

If you have reinstalled your domoticz and don't work from the very beginning, then sorry but, you are doing something wrong :roll: :cry:
Last edited by ycahome on Monday 04 June 2018 22:29, edited 1 time in total.
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Derik »

ycahome wrote: Monday 04 June 2018 22:18 I think 3.4.4 is ok.

I have installed a lot of raspberry pies with domoticz and various plugins over the time. It's quite straight forward (except from raspbian jessie that requires libssl to start domoticz).

If you have reinstalled your domoticz and don't work from the very beginning, then sorry but, you are doing something wrong :roll: :cry:
I run stretch perhaps there is something different??
How can i check or install?

Is it possible to use multiple python versions @ the same time?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: Python Plugin Manager

Post by ycahome »

sorry I meant "stretch", the latest version not "Jessie".

Did you installed libssl in order to start Domoticz? Is it starting automatically?
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Derik »

ycahome wrote: Monday 04 June 2018 22:28 sorry I meant "stretch", the latest version not "Jessie".

Did you installed libssl in order to start Domoticz? Is it starting automatically?
Dear I am a bricklayer...
With a nice hobby Domoticz..
Only linux love only i cannot understand some things
I did install Domoticz with the bash script from the wiki

When you tell me what i mst do..
I do the things you ask..

The question how do i now/can i see what i install?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Derik »

ycahome wrote: Monday 04 June 2018 22:18 I think 3.4.4 is ok.cry:
I run:
pi@raspberrypi:~ $ sudo apt-get install python3
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
python3 is reeds de nieuwste versie (3.5.3-1).

Perhaps the 3.4.4 is to old?

This running on my pi:

Code: Select all

pi@raspberrypi:~ $ python --version
Python 2.7.13
pi@raspberrypi:~ $ python3 --version
Python 3.5.3
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
IDANIT
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

Post by IDANIT »

at Domoticz check the log (Setup/Log/Status) You should see

Code: Select all

 PluginSystem: Started, Python version '3.4.4'.
if not or different version number (3.5.5)

Code: Select all

sudo apt-get remove python 3.5
it should did the trick
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

Re: Python Plugin: Python Plugin Manager

Post by blauwebuis »

Another nice theme:
http://domoticz.com/forum/viewtopic.php?f=8&t=24084

Time to dust-of the idea of letting this plugin install themes too?
landaisbenj
Posts: 147
Joined: Wednesday 02 August 2017 18:12
Target OS: Raspberry Pi / ODroid
Domoticz version: stable
Location: France
Contact:

Re: Python Plugin: Python Plugin Manager

Post by landaisbenj »

blauwebuis wrote: Monday 09 July 2018 18:26 Another nice theme:
http://domoticz.com/forum/viewtopic.php?f=8&t=24084

Time to dust-of the idea of letting this plugin install themes too?
:!: Really good idea
Platforme: Rpbi3b
Domoticz: Last stable
Bridge: RFLINK last stable
Furiousz23
Posts: 27
Joined: Saturday 30 December 2017 20:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10199
Location: Nederland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Furiousz23 »

@ycahome: great work. Just followed the Wiki and everything works fine!

Would really love to see the Ziggo Mediabox XL plugin in the PP manager, and also the Bose Libsoundtouch (https://github.com/CharlesBlonde/libsoundtouch)
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Gianni »

get not managed to work.
Follow the wiki and my domoticz hangs after a few sec after restart.

so a fresh install of lite.
New install of domoticz
Install php;msq etc
install domoticz
Folow the wiki to install PP MAnager
remove python 3.5 and install 3.4

Go to hardware select give it a name and click add at the botom.
Restart domoticz sudo sytemctl restart ......
take a long time to restart all devices are gone,log is blanc and domoticz freeze

Made a second attempt reflashd lite and start all over
just the same problems
But now i managed to get buienradar install but again domoticz hangs but i got a log

Code: Select all

    All
    Status

	Filter: X
2018-08-21 21:48:34.151 Active notification Subsystems: gcm, http (2/13)
2018-08-21 21:48:34.165 Starting shared server on: :::
2018-08-21 21:48:34.005 Status: Domoticz V4.9700 (c)2012-2018 GizMoCuz
2018-08-21 21:48:34.005 Status: Build Hash: a3a45906, Date: 2018-06-23 16:24:51
2018-08-21 21:48:34.005 Status: Startup Path: /home/gianni/domoticz/
2018-08-21 21:48:34.145 Status: PluginSystem: Started, Python version '3.4.4'.
2018-08-21 21:48:34.153 Status: WebServer(HTTP) started on address: :: with port 
2018-08-21 21:48:34.162 Status: WebServer(SSL) started on address: :: with port 
2018-08-21 21:48:34.164 Status: Proxymanager started.
2018-08-21 21:48:34.165 Status: TCPServer: shared server started...
2018-08-21 21:48:34.165 Status: RxQueue: queue worker started...
2018-08-21 21:48:36.919 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: SENSOR BINARY, Label: Sensor, Instance: 0
2018-08-21 21:48:36.920 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: SENSOR MULTILEVEL, Label: Luminance, Instance: 3
2018-08-21 21:48:36.920 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: ALARM, Label: Alarm Type, Instance: 1
2018-08-21 21:48:36.921 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: ALARM, Label: Alarm Level, Instance: 1
2018-08-21 21:48:36.921 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: ALARM, Label: SourceNodeId, Instance: 1
2018-08-21 21:48:36.921 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: ALARM, Label: Burglar, Instance: 1
2018-08-21 21:48:36.922 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: BATTERY, Label: Battery Level, Instance: 1
2018-08-21 21:48:36.923 OpenZWave: Value_Added: Node: 3 (0x03), CommandClass: SENSOR BINARY, Label: Sensor, Instance: 0
2018-08-21 21:48:36.924 OpenZWave: Value_Added: Node: 3 (0x03), CommandClass: ALARM, Label: Alarm Type, Instance: 1
2018-08-21 21:48:36.924 OpenZWave: Value_Added: Node: 3 (0x03), CommandClass: ALARM, Label: Alarm Level, Instance: 1
2018-08-21 21:48:36.925 OpenZWave: Value_Added: Node: 3 (0x03), CommandClass: ALARM, Label: SourceNodeId, Instance: 1
2018-08-21 21:48:36.925 OpenZWave: Value_Added: Node: 3 (0x03), CommandClass: ALARM, Label: Access Control, Instance: 1
2018-08-21 21:48:36.925 OpenZWave: Value_Added: Node: 3 (0x03), CommandClass: BATTERY, Label: Battery Level, Instance: 1
2018-08-21 21:48:36.165 Status: (buienradar) Started.
2018-08-21 21:48:36.166 Status: EventSystem: reset all events...
2018-08-21 21:48:36.167 Status: EventSystem: reset all device statuses...
2018-08-21 21:48:36.303 Status: Python EventSystem: Initalizing event module.
2018-08-21 21:48:36.304 Status: EventSystem: Started
2018-08-21 21:48:36.304 Status: EventSystem: Queue thread started...
2018-08-21 21:48:36.560 Status: PluginSystem: Entering work loop.
2018-08-21 21:48:36.666 Status: OpenZWave: using config in: /home/gianni/domoticz/Config/
2018-08-21 21:48:36.713 Status: OpenZWave: Starting...
2018-08-21 21:48:36.713 Status: OpenZWave: Version: 1.4-2888-g54682370-dirty
2018-08-21 21:48:36.905 Status: OpenZWave: Driver Ready
2018-08-21 21:48:45.250 Status: OpenZWave: Awake Nodes queried 
it's say buienradar started but i did not find any trace of buienrader under devices

remove the plugin and everything works again.
So short
install the plugin
reboot
add hardware pp mananger and click add ad the botom
domticz restart
domoticz hangs
remove plugin
everything works again

What do i wrong?
install a plugin manual works
Kender
Posts: 10
Joined: Tuesday 03 January 2017 17:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Kender »

Hi !!
is it normal that I have this message in the logs sometimes: "Error: Python Plugin Manager hardware (26) thread seems to have ended unexpectedly"
Thank you for the help !!
Andrea
sylar
Posts: 17
Joined: Saturday 15 April 2017 14:06
Target OS: Linux
Domoticz version: 4.10311
Contact:

Re: Python Plugin: Python Plugin Manager

Post by sylar »

Kender wrote: Wednesday 19 September 2018 14:43 Hi !!
is it normal that I have this message in the logs sometimes: "Error: Python Plugin Manager hardware (26) thread seems to have ended unexpectedly"
Thank you for the help !!
Andrea
I can see the very same error message very often in the logs:
2018-10-27 09:56:02.271 Error: Python Plugin Manager hardware (10) thread seems to have ended unexpectedly
2018-10-27 09:56:16.276 Error: Python Plugin Manager hardware (10) thread seems to have ended unexpectedly

Everything seems to work well, but I'm wondering if this is an error we should be worried about?
misko903
Posts: 51
Joined: Thursday 27 September 2018 22:58
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Trencin, Slovakia
Contact:

Re: Python Plugin: Python Plugin Manager

Post by misko903 »

what about updates of plugins?
after every restart, my RPi is telling me, that update for ebusd plugin is available. How can i update it?

Thank you,
Michal
misko903
Posts: 51
Joined: Thursday 27 September 2018 22:58
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Trencin, Slovakia
Contact:

Re: Python Plugin: Python Plugin Manager

Post by misko903 »

plus I can't see the latest published zigbee2mqqt plugin. Is there way to update?
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: Python Plugin Manager

Post by ycahome »

misko903 wrote: Monday 29 October 2018 8:15 what about updates of plugins?
after every restart, my RPi is telling me, that update for ebusd plugin is available. How can i update it?

Thank you,
Michal
Read the very first post for usage:
"Auto Update" Options (After every change press "Update")

"All": Continuously update all plugins

"Selected":Continuously update selected plugin (You should first select desired plugin from "Domoticz Plugin" field)

"All (NotifyOnly)": Check all plugins for updates and generate notification email.

"Selected (NotifyOnly)":Check selected plugin for updates and generate notification email. (You should first select desired plugin from "Domoticz Plugin" field)
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: Python Plugin Manager

Post by ycahome »

misko903 wrote: Tuesday 30 October 2018 10:22 plus I can't see the latest published zigbee2mqqt plugin. Is there way to update?
zigbee2mqqt plugin just added.

In order to add plugin to PP Manager you should raise a "Pull Request" on github

TO CONTRIBUTE YOUR PLUGINS:
In order to add your plugins to PP-Manager, make a "pull request" with your lines added:

Under 'label="Domoticz Plugin"' in alphabetical order by 'label' and

Under 'self.plugindata' in alphabetical order by 'pluginText'
dextm80
Posts: 117
Joined: Tuesday 24 October 2017 18:32
Target OS: Linux
Domoticz version: 4.10159
Contact:

Re: Python Plugin: Python Plugin Manager

Post by dextm80 »

Code: Select all

2018-11-03 16:45:10.005 Error: Python Plugin Manager hardware (13) thread seems to have ended unexpectedly 
why?
Last edited by dextm80 on Sunday 04 November 2018 21:09, edited 1 time in total.
Domoticz on AsRock j3455-ITX 8gb ram - Aeotec ZWave Usb Stick - RFLink 433Mhz
1x Fibaro Wall Plug
1x Fibaro Motion Sensor
x NeoCoolcam Wall Plug
Netatmo Weather Station - Netatmo Thermostat
Philips Hue Bridge
misko903
Posts: 51
Joined: Thursday 27 September 2018 22:58
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Trencin, Slovakia
Contact:

Re: Python Plugin: Python Plugin Manager

Post by misko903 »

ycahome wrote: Tuesday 30 October 2018 13:23
misko903 wrote: Tuesday 30 October 2018 10:22 plus I can't see the latest published zigbee2mqqt plugin. Is there way to update?
zigbee2mqqt plugin just added.

In order to add plugin to PP Manager you should raise a "Pull Request" on github

TO CONTRIBUTE YOUR PLUGINS:
In order to add your plugins to PP-Manager, make a "pull request" with your lines added:

Under 'label="Domoticz Plugin"' in alphabetical order by 'label' and

Under 'self.plugindata' in alphabetical order by 'pluginText'
repeated the steps to install PPManager. Now I can see zigbee2mqtt!
thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest