Python Plugin: Python Plugin Manager

Python and python framework
User avatar
Derik
Posts: 2155
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Derik » Monday 04 June 2018 20:41

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

User avatar
Derik
Posts: 2155
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Derik » Monday 04 June 2018 22:13

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: 199
Joined: Sunday 12 February 2017 11:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: Python Plugin Manager

Post by ycahome » 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 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.

User avatar
Derik
Posts: 2155
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Derik » Monday 04 June 2018 22:20

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: 199
Joined: Sunday 12 February 2017 11:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: Python Plugin Manager

Post by ycahome » 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?

User avatar
Derik
Posts: 2155
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Derik » Monday 04 June 2018 22:35

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

User avatar
Derik
Posts: 2155
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Derik » Monday 04 June 2018 22:51

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: 86
Joined: Saturday 07 November 2015 11:01
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Poland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by IDANIT » Tuesday 05 June 2018 20:13

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: 354
Joined: Wednesday 21 December 2016 10:11
Target OS: Raspberry Pi
Domoticz version: current
Contact:

Re: Python Plugin: Python Plugin Manager

Post by blauwebuis » 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?

landaisbenj
Posts: 138
Joined: Wednesday 02 August 2017 18:12
Target OS: Raspberry Pi
Domoticz version: stable
Location: France
Contact:

Re: Python Plugin: Python Plugin Manager

Post by landaisbenj » Tuesday 10 July 2018 8:59

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: 22
Joined: Saturday 30 December 2017 21:01
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Furiousz23 » Sunday 12 August 2018 16:35

@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: 50
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi
Domoticz version:
Location: Home@Belgium
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Gianni » Tuesday 21 August 2018 22:11

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

sander815
Posts: 45
Joined: Friday 13 January 2017 16:49
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Python Plugin: Python Plugin Manager

Post by sander815 » Sunday 02 September 2018 12:56

can't remember, but should this work in 3.9045?

Kender
Posts: 8
Joined: Tuesday 03 January 2017 18:18
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Kender » 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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests