Python Plugin: Python Plugin Manager

Python and python framework

Moderator: leecollings

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 »

Domoticz web interface log
florisi
Posts: 78
Joined: Saturday 30 July 2016 10:14
Target OS: Linux
Domoticz version: 2020beta
Location: Arnhem
Contact:

Re: Python Plugin: Python Plugin Manager

Post by florisi »

No error at all.
my dzVents script is also not running anymore.

Code: Select all

2018-03-11 09:21:34.872 Domoticz V3.9014 (c)2012-2018 GizMoCuz
2018-03-11 09:21:34.872 Build Hash: 6b5dd0b7, Date: 2018-03-10 14:16:03
2018-03-11 09:21:34.872 Startup Path: /home/pi/domoticz/
2018-03-11 09:21:35.328 Sunrise: 06:59:00 SunSet: 18:33:00
2018-03-11 09:21:35.328 Day length: 11:34:00 Sun at south: 12:05:00
2018-03-11 09:21:35.328 Civil twilight start: 06:26:00 Civil twilight end: 19:07:00
2018-03-11 09:21:35.328 Nautical twilight start: 05:47:00 Nautical twilight end: 19:46:00
2018-03-11 09:21:35.328 Astronomical twilight start: 05:06:00 Astronomical twilight end: 20:26:00
2018-03-11 09:21:35.328 EventSystem: reset all events...
2018-03-11 09:21:35.355 dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/SolarEdge.lua
2018-03-11 09:21:35.362 Philips Hue: Using default poll interval of 10 secs.
2018-03-11 09:21:35.379 Active notification Subsystems: pushover (1/14)
2018-03-11 09:21:35.422 WebServer(SSL) started on address: :: with port 443
2018-03-11 09:21:35.433 Proxymanager started.
2018-03-11 09:21:35.435 Starting shared server on: :::6144
2018-03-11 09:21:35.435 TCPServer: shared server started...
2018-03-11 09:21:35.435 RxQueue: queue worker started...
2018-03-11 09:21:36.640 Incoming connection from: 192.168.178.20
2018-03-11 09:21:37.436 SolarEdgeAPI Worker started...
2018-03-11 09:21:37.436 Philips Hue: Worker started...
2018-03-11 09:21:37.436 Netatmo: Worker started...
2018-03-11 09:21:37.936 OpenZWave: using config in: /home/pi/domoticz/Config/
2018-03-11 09:21:37.960 OpenZWave: Starting...
2018-03-11 09:21:37.960 OpenZWave: Version: 1.4-2888-g54682370-dirty
2018-03-11 09:21:38.146 OpenZWave: Driver Ready
2018-03-11 09:21:38.148 OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: SWITCH BINARY, Label: Switch, Instance: 1
2018-03-11 09:21:38.150 OpenZWave: Value_Added: Node: 3 (0x03), CommandClass: SWITCH BINARY, Label: Switch, Instance: 1
2018-03-11 09:21:38.151 OpenZWave: Value_Added: Node: 4 (0x04), CommandClass: ALARM, Label: Alarm Type, Instance: 1
2018-03-11 09:21:38.151 OpenZWave: Value_Added: Node: 4 (0x04), CommandClass: ALARM, Label: Alarm Level, Instance: 1
2018-03-11 09:21:38.151 OpenZWave: Value_Added: Node: 4 (0x04), CommandClass: BATTERY, Label: Battery Level, Instance: 1
2018-03-11 09:21:38.152 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SWITCH BINARY, Label: Switch, Instance: 1
2018-03-11 09:21:38.152 OpenZWave: Value_Added: Node: 6 (0x06), CommandClass: SWITCH BINARY, Label: Switch, Instance: 1
2018-03-11 09:21:38.153 OpenZWave: Value_Added: Node: 7 (0x07), CommandClass: SWITCH BINARY, Label: Switch, Instance: 1
2018-03-11 09:21:38.153 OpenZWave: Value_Added: Node: 8 (0x08), CommandClass: SENSOR MULTILEVEL, Label: Temperature, Instance: 1
2018-03-11 09:21:38.154 OpenZWave: Value_Added: Node: 8 (0x08), CommandClass: SENSOR MULTILEVEL, Label: Relative Humidity, Instance: 5
2018-03-11 09:21:38.154 OpenZWave: Value_Added: Node: 8 (0x08), CommandClass: SENSOR MULTILEVEL, Label: Relative Humidity, Instance: 5
2018-03-11 09:21:38.154 OpenZWave: Value_Added: Node: 8 (0x08), CommandClass: BATTERY, Label: Battery Level, Instance: 1
2018-03-11 09:21:38.154 OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: SENSOR BINARY, Label: Sensor, Instance: 0
2018-03-11 09:21:38.440 RFXCOM: Using serial port: /dev/ttyUSB_RFX
2018-03-11 09:21:38.484 (Philips Hue) Lighting Limitless/Applamp (Group Woonkamer)
2018-03-11 09:21:38.494 (Philips Hue) Lighting Limitless/Applamp (Group All Lights)
2018-03-11 09:21:38.495 (Philips Hue) Lighting Limitless/Applamp (Scene Tropische schemering)
2018-03-11 09:21:38.497 (Philips Hue) Lighting Limitless/Applamp (Scene Helder)
2018-03-11 09:21:38.499 (Philips Hue) Lighting Limitless/Applamp (Scene Lezen)
2018-03-11 09:21:38.501 (Philips Hue) Lighting Limitless/Applamp (Scene Read)
2018-03-11 09:21:38.503 (Philips Hue) Lighting Limitless/Applamp (Scene Gedimd)
2018-03-11 09:21:38.505 (Philips Hue) Lighting Limitless/Applamp (Scene Nachtlampje)
2018-03-11 09:21:38.508 (Philips Hue) Lighting Limitless/Applamp (Scene Concentreren)
2018-03-11 09:21:38.510 (Philips Hue) Lighting Limitless/Applamp (Scene Energize)
2018-03-11 09:21:38.512 (Philips Hue) Lighting Limitless/Applamp (Scene Arctische dageraad)
2018-03-11 09:21:38.513 (Philips Hue) Lighting Limitless/Applamp (Scene Lentebloesem)
2018-03-11 09:21:38.516 (Philips Hue) Lighting Limitless/Applamp (Scene Relax)
2018-03-11 09:21:38.522 (Philips Hue) Lighting Limitless/Applamp (Scene Savanne zonsondergang)
2018-03-11 09:21:38.524 (Philips Hue) Lighting Limitless/Applamp (Scene Last State)
2018-03-11 09:21:38.526 (Philips Hue) Lighting Limitless/Applamp (Scene Ontspannen)
2018-03-11 09:21:38.528 (Philips Hue) Lighting Limitless/Applamp (Scene Concentrate)
2018-03-11 09:21:38.530 (Philips Hue) Lighting Limitless/Applamp (Scene Energie)
2018-03-11 09:21:39.015
2018-03-11 09:21:39.091 subtype = Interface Response
Sequence nbr = 2
response on cmnd = Get Status
Transceiver type = 433.92MHz
Firmware version = 1005
Firmware type = Type2
Hardware version = 1.1
Undec off
X10 enabled
ARC enabled
AC enabled
HomeEasy EU enabled
Meiantech/Atlantic disabled
Oregon Scientific enabled
ATI/Cartelectronic disabled
Visonic disabled
Mertik disabled
AD disabled
Hideki enabled
La Crosse disabled
FS20/Legrand disabled
ProGuard disabled
BlindsT0 disabled
BlindsT1 enabled
AE disabled
RUBiCSON enabled
FineOffset disabled
Lighting4 disabled
Conrad RSL disabled
ByronSX disabled
IMAGINTRONIX enabled
KEELOQ disabled
Home Confort disabled
2018-03-11 09:21:39.449 (P1 meter) P1 Smart Meter (Electriciteit)
2018-03-11 09:21:39.449 (P1 meter) P1 Smart Meter (Gas)
2018-03-11 09:21:43.360 (Netatmo) Temp + Humidity (Tuin)
2018-03-11 09:21:43.363 (Netatmo) Temp + Humidity + Baro (Woonkamer)
2018-03-11 09:21:43.364 (Netatmo) Air Quality (Woonkamer)
2018-03-11 09:21:43.366 (Netatmo) General/Sound Level (Woonkamer)
2018-03-11 09:21:43.367 (Netatmo) Temp + Humidity (Buiten)
2018-03-11 09:21:43.368 (Netatmo) Temp + Humidity (babykamer)
2018-03-11 09:21:43.369 (Netatmo) Air Quality (babykamer)
2018-03-11 09:21:43.371 (Netatmo) Temp + Humidity + Baro (Station)
2018-03-11 09:21:43.372 (Netatmo) Air Quality (Station)
2018-03-11 09:21:43.373 (Netatmo) General/Sound Level (Station)
2018-03-11 09:21:43.388 (SolarEdge) General/kWh (SolarEdge kWh Meter)
2018-03-11 09:21:43.389 (SolarEdge) General/Voltage (DC Inverter 1)
2018-03-11 09:21:43.390 (SolarEdge) Temp (SolarMain Inverter 1)
2018-03-11 09:21:43.390 (SolarEdge) General/Voltage (AC Inverter 1)
2018-03-11 09:21:43.391 (SolarEdge) General/Percentage (Hz Inverter 1)
2018-03-11 09:21:43.766 (Netatmo) Temp (Thermostaat)
2018-03-11 09:21:43.766 (Netatmo) Thermostat (SetPoint Thermostat)
2018-03-11 09:21:43.808 (RFXtrx) Temp + Humidity (Berging)
2018-03-11 09:21:46.050 Incoming connection from: 127.0.0.1
2018-03-11 09:21:49.461 (P1 meter) P1 Smart Meter (Electriciteit)
2018-03-11 09:21:56.082 (RFXtrx) Temp + Humidity (Voordeur)
2018-03-11 09:22:05.112 OpenZWave: Received timeout notification from HomeID: 4112738428, NodeID: 5 (0x05)
2018-03-11 09:22:08.123 (P1 meter) P1 Smart Meter (Electriciteit)
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: Python Plugin: Python Plugin Manager

Post by LouiS22 »

Should be a problem with source code, Gizmo pushed something related to python 20 minutes ago, so expect a new beta soon.
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 »

florisi wrote: Sunday 11 March 2018 9:23 No error at all.
my dzVents script is also not running anymore.

Do you have other plugins? do they run/appear on the list?
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 »

by the way, how you manage to get version v3.9014?
I have Ubuntu based Domoticz with latest beta v3.8976.....

Are there different releases for raspberry and Debian Linux?
florisi
Posts: 78
Joined: Saturday 30 July 2016 10:14
Target OS: Linux
Domoticz version: 2020beta
Location: Arnhem
Contact:

Re: Python Plugin: Python Plugin Manager

Post by florisi »

I'll wait for the new beta update.
I'll post the results then.
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 »

New version is here:

v.1.5.1

New: Exclusion list file (exceptions.txt) implemented to prevent updates for selected plugins (copy exceptions.orig to exceptions.txt)
Changed: Some restructuring on functions
Fix: Some Bugfixes
Fix: Restructuring Defs


I hope you like it!!
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 »

The plugin has stopped updating. It remains on the v.1.4.17.

Code: Select all

2018-03-13 13:17:18.141 Domoticz V3.9043 (c)2012-2018 GizMoCuz
2018-03-13 13:17:18.144 Build Hash: c037e02a, Date: 2018-03-13 10:45:10
2018-03-13 13:17:18.145 Startup Path: /home/pi/domoticz/
2018-03-13 13:17:18.400 EventSystem: reset all events...
2018-03-13 13:17:18.731 PluginSystem: Started, Python version '3.4.2'.
2018-03-13 13:17:18.771 WebServer(HTTP) started on address: :: with port 8080
2018-03-13 13:17:18.788 WebServer(SSL) started on address: :: with port 443
2018-03-13 13:17:18.795 Proxymanager started.
2018-03-13 13:17:18.804 TCPServer: shared server started...
2018-03-13 13:17:18.805 RxQueue: queue worker started...
2018-03-13 13:17:20.805 (MiFlora) Started.
2018-03-13 13:17:20.805 (PPM) Started.
2018-03-13 13:17:20.806 (PiMonitor) Started.
2018-03-13 13:17:20.807 EventSystem: reset all events...
2018-03-13 13:17:20.808 EventSystem: reset all device statuses...
2018-03-13 13:17:20.916 PluginSystem: Entering work loop.
2018-03-13 13:17:21.852 (MiFlora) Initialized version 1.0.0, author 'blauwebuis'
2018-03-13 13:17:21.865 (MiFlora) Entering work loop.
2018-03-13 13:17:22.124 Python EventSystem: Initalizing event module.
2018-03-13 13:17:22.136 EventSystem: Queue thread started...
2018-03-13 13:17:22.136 EventSystem: Started
2018-03-13 13:17:23.610 (PPM) Initialized version 1.4.17, author 'ycahome'
2018-03-13 13:17:23.615 (PPM) Entering work loop.
2018-03-13 13:17:23.902 (PiMonitor) Initialized version 1.0.0, author 'Xorfor'
2018-03-13 13:17:23.902 (PiMonitor) Entering work loop.
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 »

Please press update and post me the logs again.

Thanks and sorry for that.

EDIT: This probably means that your Domoticz loaded the plugin at this version. Plugin code loaded and will be used but, plugin definition will remain until the next restart.
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 »

after presing update:

Code: Select all

2018-03-13 22:59:32.098 (PPM) Stop directive received.
2018-03-13 22:59:32.098 (PPM) Plugin is stopping.
2018-03-13 22:59:32.099 (PPM) Self Update Initiated
2018-03-13 22:59:32.099 (PPM) Updating Plugin:PP-MANAGER
2018-03-13 22:59:32.273 (PPM) Exiting work loop.
2018-03-13 22:59:34.306 (PPM) Succesfully pulled gitHub update: 5c09f26..7d7916 for plugin PP-MANAGER
2018-03-13 22:59:34.307 (PPM) ---Restarting Domoticz MAY BE REQUIRED to activate new plugins---
2018-03-13 22:59:34.307 (PPM) Debug logging mask set to: NONE
2018-03-13 22:59:34.602 (PPM) Stopping threads.
2018-03-13 22:59:34.602 (PPM) Stopped.
2018-03-13 22:59:34.602 (PPM) Started.
2018-03-13 22:59:36.077 (PPM) Initialized version 1.4.17, author 'ycahome'
2018-03-13 22:59:36.077 (PPM) Entering work loop.
2018-03-13 22:59:36.134 (PPM) Debug logging mask set to: NONE
2018-03-13 22:59:36.163 (PPM) Domoticz Node Name is:raspberrypi
2018-03-13 22:59:36.163 (PPM) Domoticz Platform System is:Linux
2018-03-13 22:59:36.163 (PPM) Default Python Version is:3.4.2.
2018-03-13 22:59:36.164 (PPM) Updating All Plugins!!!
2018-03-13 22:59:36.166 (PPM) Plugin:examples cannot be managed with PP-Manager!!.
2018-03-13 22:59:36.166 (PPM) Updating Plugin:Mi_Flower_mate_plugin
2018-03-13 22:59:37.608 (PPM) Plugin Mi_Flower_mate_plugin already Up-To-Date
2018-03-13 22:59:37.608 (PPM) Plugin:AwoxSMP cannot be managed with PP-Manager!!.
2018-03-13 22:59:37.608 (PPM) Updating Plugin:xfr-pimonitor
2018-03-13 22:59:39.117 (PPM) Plugin xfr-pimonitor already Up-To-Date
2018-03-13 22:59:39.117 (PPM) Plugin Idle
after restart:

Code: Select all

2018-03-13 23:01:53.806 Domoticz V3.9045 (c)2012-2018 GizMoCuz
2018-03-13 23:01:53.809 Build Hash: 22396569, Date: 2018-03-13 16:19:00
2018-03-13 23:01:53.810 Startup Path: /home/pi/domoticz/
2018-03-13 23:01:54.203 Sunrise: 05:55:00 SunSet: 17:36:00
2018-03-13 23:01:54.203 Day length: 11:42:00 Sun at south: 11:05:00
2018-03-13 23:01:54.203 Civil twilight start: 05:21:00 Civil twilight end: 18:10:00
2018-03-13 23:01:54.203 Nautical twilight start: 04:41:00 Nautical twilight end: 18:49:00
2018-03-13 23:01:54.203 Astronomical twilight start: 04:01:00 Astronomical twilight end: 19:30:00
2018-03-13 23:01:54.203 EventSystem: reset all events...
2018-03-13 23:01:54.775 PluginSystem: Started, Python version '3.4.2'.
2018-03-13 23:01:54.811 Active notification Subsystems: (0/14)
2018-03-13 23:01:54.854 WebServer(HTTP) started on address: :: with port 8080
2018-03-13 23:01:54.890 WebServer(SSL) started on address: :: with port 443
2018-03-13 23:01:54.897 Proxymanager started.
2018-03-13 23:01:54.905 Accepting shared server connections via MyDomotiz (see settings menu).
2018-03-13 23:01:54.908 Starting shared server on: :::6144
2018-03-13 23:01:54.910 TCPServer: shared server started...
2018-03-13 23:01:54.911 RxQueue: queue worker started...
2018-03-13 23:01:54.925 Incoming connection from: 192.168.1.253
2018-03-13 23:01:56.912 (MiFlora) Started.
2018-03-13 23:01:56.912 (PPM) Started.
2018-03-13 23:01:56.912 (PiMonitor) Started.
2018-03-13 23:01:56.913 EventSystem: reset all events...
2018-03-13 23:01:56.915 EventSystem: reset all device statuses...
2018-03-13 23:01:57.244 PluginSystem: Entering work loop.
2018-03-13 23:01:57.435 Python EventSystem: Initalizing event module.
2018-03-13 23:01:57.441 EventSystem: Queue thread started...
2018-03-13 23:01:57.442 EventSystem: Started
2018-03-13 23:01:58.357 (MiFlora) Initialized version 1.0.0, author 'blauwebuis'
2018-03-13 23:01:58.361 (MiFlora) Entering work loop.
2018-03-13 23:02:00.048 (PPM) Initialized version 1.4.17, author 'ycahome'
2018-03-13 23:02:00.051 (PPM) Entering work loop.
2018-03-13 23:02:00.351 (PiMonitor) Initialized version 1.0.0, author 'Xorfor'
2018-03-13 23:02:00.352 (PiMonitor) Entering work loop.
2018-03-13 23:02:00.430 (MiFlora) Automatic mode is selected
2018-03-13 23:02:00.430 (MiFlora) Scanning for Mi Flower Mate sensors
2018-03-13 23:02:00.614 (MiFlora) Already known devices:['xxxxxxxxxxxx', 'xxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxx', 'xxxxxxxxxxxxxx']
2018-03-13 23:02:14.709 (MiFlora) Number of devices found via bluetooth scan = 5
2018-03-13 23:02:14.721 (PPM) Debug logging mask set to: NONE
2018-03-13 23:02:14.762 (PPM) Domoticz Node Name is:raspberrypi
2018-03-13 23:02:14.762 (PPM) Domoticz Platform System is:Linux
2018-03-13 23:02:14.763 (PPM) Default Python Version is:3.4.2.
2018-03-13 23:02:14.763 (PPM) Updating All Plugins!!!
2018-03-13 23:02:14.766 (PPM) Plugin:examples cannot be managed with PP-Manager!!.
2018-03-13 23:02:14.767 (PPM) Updating Plugin:Mi_Flower_mate_plugin
2018-03-13 23:02:16.714 (PPM) Plugin Mi_Flower_mate_plugin already Up-To-Date
2018-03-13 23:02:16.714 (PPM) Plugin:AwoxSMP cannot be managed with PP-Manager!!.
2018-03-13 23:02:16.715 (PPM) Updating Plugin:xfr-pimonitor
2018-03-13 23:02:18.265 (PPM) Plugin xfr-pimonitor already Up-To-Date
2018-03-13 23:02:18.265 (PPM) Plugin Idle
2018-03-13 23:02:18.284 (PiMonitor) Debug logging mask set to: NONE
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 »

Did you modified plugin.py locally?

Can you go to PP-MANAGER folder and run

Code: Select all

sudo git reset --hard HEAD
This is already incorporated to the last version
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 »

ycahome wrote: Tuesday 13 March 2018 23:11 Did you modified plugin.py locally?
nope
ycahome wrote: Tuesday 13 March 2018 23:11

Code: Select all

sudo git reset --hard HEAD

Code: Select all

HEAD is now at 5c09f26 v.1.4.17
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 »

Try to update again now
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 »

OK! THX!
pvklink
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

Post by pvklink »

PP manager does not create devices with denon plugin added by PP-Manager.
Another strange thing is that default python in raspbian is 3.4.4 and
(PPMANAGER) Default Python Version is:3.5.3. ?
I also missed a configuration option to configure port or ip of the denon receiver.
Does PPmanager work, or do i make a mistake ?

RPI 3b
latest stable release
rasbian stretch

installed by:
sudo apt-get update
sudo apt-get install git
sudo apt-get install python3.4 libpython3.4 python3.4-dev

i activated python 3.4
sudo update-alternatives --config python choosed version 3.4.4

$ sudo python --version
Python 3.4.4

cd domoticz/plugins
sudo git clone https://github.com/ycahome/pp-manager.git PP-MANAGER
cd PP-MANAGER
sudo chmod +x plugin.py

did a: on the plugin.py
sudo git reset --hard HEAD

Domoticx
------------
i have two hardware devices type "Python plugin MANAGER"
One is the default PP-MAnager and the otherone is created by select DENON within the default PP-Manager.
In the denon-entry i dont have the option to configure my denon
I also dont have denon hardware devices... (hardware detection is on...)

Hardware
------------
4 denon Ja Python Plugin Manager Niet actief
3 PPMANAGER Ja Python Plugin Manager Niet actief

logfile
--------

Code: Select all

018-03-14 12:07:20.655  EventSystem: reset all events...
2018-03-14 12:07:20.656  EventSystem: reset all device statuses...
2018-03-14 12:07:20.855  Python EventSystem: Module not found - Trying to initialize.
2018-03-14 12:07:20.855  Python EventSystem: Initalizing event module.
2018-03-14 12:07:20.856  EventSystem: Started
2018-03-14 12:07:20.924  PluginSystem: Entering work loop.
2018-03-14 12:07:21.155  OpenZWave: using config in: /home/pi/domoticz/Config/
2018-03-14 12:07:21.218  OpenZWave: Starting...
2018-03-14 12:07:21.218  OpenZWave: Version: 1.4-2501-g5af6780-dirty
2018-03-14 12:07:21.358  OpenZWave: Driver Ready
2018-03-14 12:07:21.360  OpenZWave: Value_Added: Node: 21 (0x15), CommandClass: SWITCH BINARY, Label: Switch, Instance: 1
2018-03-14 12:07:21.366  OpenZWave: Value_Added: Node: 21 (0x15), CommandClass: METER, Label: Energy, Instance: 1
2018-03-14 12:07:21.366  OpenZWave: Value_Added: Node: 21 (0x15), CommandClass: METER, Label: Power, Instance: 1
2018-03-14 12:07:21.366  OpenZWave: Value_Added: Node: 21 (0x15), CommandClass: ALARM, Label: Alarm Type, Instance: 1
2018-03-14 12:07:21.366  OpenZWave: Value_Added: Node: 21 (0x15), CommandClass: ALARM, Label: Alarm Level, Instance: 1
2018-03-14 12:07:21.752  (PPMANAGER) Initialized version 1.5.1, author 'ycahome'
2018-03-14 12:07:21.939  (testzwave) General/kWh (kWh Meter)
2018-03-14 12:07:21.976  (testzwave) Usage (test)
2018-03-14 12:07:21.977  (testzwave) General/kWh (kWh Meter)
2018-03-14 12:07:22.214  (denon) Initialized version 1.5.1, author 'ycahome'
2018-03-14 12:07:22.268  (PPMANAGER) Debug log level set to: 'false'.
2018-03-14 12:07:22.280  (PPMANAGER) Domoticz Node Name is:raspberrypi
2018-03-14 12:07:22.280  (PPMANAGER) Domoticz Platform System is:Linux
2018-03-14 12:07:22.280  (PPMANAGER) Default Python Version is:3.5.3.
2018-03-14 12:07:22.281  (PPMANAGER) self.ExceptionList:[]
2018-03-14 12:07:22.281  (PPMANAGER) Updating All Plugins!!!
2018-03-14 12:07:22.281  (PPMANAGER) Updating Plugin:Denon4306
2018-03-14 12:07:24.942  (PPMANAGER) Plugin Denon4306 already Up-To-Date
2018-03-14 12:07:24.942  (PPMANAGER) Plugin:AwoxSMP cannot be managed with PP-Manager!!.
2018-03-14 12:07:24.942  (PPMANAGER) Plugin:examples cannot be managed with PP-Manager!!.
2018-03-14 12:07:24.942  (PPMANAGER) Plugin Idle
2018-03-14 12:07:24.945  (denon) Debug log level set to: 'false'.
2018-03-14 12:07:24.956  (denon) Domoticz Node Name is:raspberrypi
2018-03-14 12:07:24.956  (denon) Domoticz Platform System is:Linux
2018-03-14 12:07:24.956  (denon) Default Python Version is:3.5.3.
2018-03-14 12:07:24.956  (denon) self.ExceptionList:[]
2018-03-14 12:07:24.956  (denon) Updating All Plugins!!!
2018-03-14 12:07:24.957  (denon) Updating Plugin:Denon4306
2018-03-14 12:07:26.015  (denon) Plugin Denon4306 already Up-To-Date
2018-03-14 12:07:26.015  (denon) Plugin:AwoxSMP cannot be managed with PP-Manager!!.
2018-03-14 12:07:26.015  (denon) Plugin:examples cannot be managed with PP-Manager!!.
2018-03-14 12:07:31.967  OpenZWave: Received timeout notification from HomeID: 25484956, NodeID: 21 (0x15)
2018-03-14 12:07:31.969  OpenZWave: All Nodes queried
2018-03-14 12:08:58.677  (testzwave) Usage (test)
2018-03-14 12:08:58.678  (testzwave) General/kWh (kWh Meter)
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
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 »

A lot of questions here. So,


PP-Manager is not a plugin that needs to be multiple times on your Domoticz. Just do the manual job for you, one plugin at a time.
To install a plugin: select it on "Domoticz Plugin" field and press update (RESTART may be required). After that you can select the next one on the drop-down list.

Python version is returned via "sys.version_info" array so, cannot tell you what happened to your case.

In order to use the Denon plugin (after you install it with PP-Manager and restart, will be appear on plugin list) you should add it as you normally do with plugins and not from within PP-Manager.

I hope this answers all your questions
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 »

v.1.5.5

New: Experimental Feature that parsing all installed plugins for specific regex (text patterns)
Currently enabled only the "IP Pattern". Scan plugins for IPs on the code in order to avoid data leakage....

Edit:There is a file template (secpoluser.orig). Can be copied to "secpoluser.txt" and include all results that should be excluded.

Waiting for your feedback...

P.S: Would be nice to know if this plugin is being currently used or to stop development...
Oliwier
Posts: 6
Joined: Friday 23 February 2018 14:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Oliwier »

ycahome wrote: Wednesday 14 March 2018 20:03 [...or to stop development...
Please dont!
Small suggestion, add info about plugin to wiki.
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 »

ycahome wrote: Wednesday 14 March 2018 20:03 v.1.5.5

New: Experimental Feature that parsing all installed plugins for specific regex (text patterns)
Currently enabled only the "IP Pattern". Scan plugins for IPs on the code in order to avoid data leakage....

Edit:There is a file template (secpoluser.orig). Can be copied to "secpoluser.txt" and include all results that should be excluded.

Waiting for your feedback...

P.S: Would be nice to know if this plugin is being currently used or to stop development...
Oliwier wrote: Wednesday 14 March 2018 21:26
ycahome wrote: Wednesday 14 March 2018 20:03 [...or to stop development...
Please dont!
Small suggestion, add info about plugin to wiki.
@ P.S: ...dumb question ;)
@ suggestion ...dumb... sorry thumb up!
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 »

IDANIT wrote: Wednesday 14 March 2018 23:11
Oliwier wrote: Wednesday 14 March 2018 21:26 Small suggestion, add info about plugin to wiki.
@ P.S: ...dumb question ;)
@ suggestion ...dumb... sorry thumb up!
Any help is more that welcome (and will be appreciated) ;) ;) ;) ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest