Re: Python Plugin: Python Plugin Manager
Posted: Thursday 12 April 2018 9:25
post also the logs after restart
Open source Home Automation System
https://forum.domoticz.com/
Code: Select all
2018-04-12 09:30:55.543 Domoticz V3.9208 (c)2012-2018 GizMoCuz
2018-04-12 09:30:55.543 Build Hash: ff40091a, Date: 2018-04-08 17:15:17
2018-04-12 09:30:55.544 Startup Path: /home/pi/domoticz/
2018-04-12 09:30:55.607 Sunrise: 06:52:00 SunSet: 20:34:00
2018-04-12 09:30:55.607 Day length: 13:42:00 Sun at south: 13:05:00
2018-04-12 09:30:55.607 Civil twilight start: 06:17:00 Civil twilight end: 21:09:00
2018-04-12 09:30:55.607 Nautical twilight start: 05:33:00 Nautical twilight end: 21:53:00
2018-04-12 09:30:55.607 Astronomical twilight start: 04:45:00 Astronomical twilight end: 22:42:00
2018-04-12 09:30:55.607 EventSystem: reset all events...
2018-04-12 09:30:55.608 Philips Hue: Using default poll interval of 10 secs.
2018-04-12 09:30:55.617 Active notification Subsystems: (0/14)
2018-04-12 09:30:55.618 WebServer(HTTP) started on address: :: with port 8080
2018-04-12 09:30:55.623 WebServer(SSL) started on address: :: with port 443
2018-04-12 09:30:55.625 Proxymanager started.
2018-04-12 09:30:55.697 Starting shared server on: :::6144
2018-04-12 09:30:55.698 TCPServer: shared server started...
2018-04-12 09:30:55.698 RxQueue: queue worker started...
2018-04-12 09:30:57.699 ToonThermostat: Worker started...
2018-04-12 09:30:57.700 Philips Hue: Worker started...
2018-04-12 09:30:58.702 RFXCOM: Using serial port: /dev/ttyUSB0
2018-04-12 09:30:58.777 (Hue) Color Switch (Group huiskamer)
2018-04-12 09:30:58.782 (Hue) Color Switch (Group Custom group for $lights)
2018-04-12 09:30:58.784 (Hue) Color Switch (Group Custom group for $lights)
2018-04-12 09:30:58.787 (Hue) Color Switch (Group Custom group for $lights)
2018-04-12 09:30:58.790 (Hue) Color Switch (Group Custom group for $lights)
2018-04-12 09:30:58.803 (Hue) Color Switch (Group All Lights)
2018-04-12 09:30:58.806 (Hue) Color Switch (Scene Wake Up end)
2018-04-12 09:30:58.811 (Hue) Color Switch (Scene Scene myScene2 huelabs/christm)
2018-04-12 09:30:58.815 (Hue) Color Switch (Scene Concentreren)
2018-04-12 09:30:58.818 (Hue) Color Switch (Scene Scene myScene1 huelabs/christm)
2018-04-12 09:30:58.821 (Hue) Color Switch (Scene 2gczbOFtBnGRzVt)
2018-04-12 09:30:58.824 (Hue) Color Switch (Scene Wake Up init)
2018-04-12 09:30:58.828 (Hue) Color Switch (Scene Gedimd)
2018-04-12 09:30:58.831 (Hue) Color Switch (Scene 88Naq4sCgM0J6Ly)
2018-04-12 09:30:58.834 (Hue) Color Switch (Scene Scene scene3 huelabs/christmas)
2018-04-12 09:30:58.837 (Hue) Color Switch (Scene Scene myScene3 huelabs/christm)
2018-04-12 09:30:58.840 (Hue) Color Switch (Scene Scene mySceneDim huelabs/chris)
2018-04-12 09:30:58.843 (Hue) Color Switch (Scene Ontspannen)
2018-04-12 09:30:58.846 (Hue) Color Switch (Scene Scene myScene2 huelabs/christm)
2018-04-12 09:30:58.849 (Hue) Color Switch (Scene Scene mySceneColor1 huelabs/ch)
2018-04-12 09:30:58.853 (Hue) Color Switch (Scene Lezen)
2018-04-12 09:30:58.857 (Hue) Color Switch (Scene Helder)
2018-04-12 09:30:58.860 (Hue) Color Switch (Scene Scene myScene1 huelabs/christm)
2018-04-12 09:30:58.863 (Hue) Color Switch (Scene Scene scene4 huelabs/christmas)
2018-04-12 09:30:58.866 (Hue) Color Switch (Scene Scene mySceneColor3 huelabs/ch)
2018-04-12 09:30:58.869 (Hue) Color Switch (Scene Scene scene0 huelabs/christmas)
2018-04-12 09:30:58.873 (Hue) Color Switch (Scene Scene scene1 huelabs/christmas)
2018-04-12 09:30:58.877 (Hue) Color Switch (Scene Energie)
2018-04-12 09:30:58.880 (Hue) Color Switch (Scene Arctische dageraad)
2018-04-12 09:30:58.883 (Hue) Color Switch (Scene Scene mySceneColor2 huelabs/ch)
2018-04-12 09:30:58.886 (Hue) Color Switch (Scene Scene scene2 huelabs/christmas)
2018-04-12 09:30:58.889 (Hue) Color Switch (Scene Scene mySceneColor1 huelabs/ch)
2018-04-12 09:30:58.893 (Hue) Color Switch (Scene Scene myScene3 huelabs/christm)
2018-04-12 09:30:58.895 (Hue) Color Switch (Scene Wake Up end)
2018-04-12 09:30:58.897 (Hue) Color Switch (Scene Scene storageScene huelabs/chr)
2018-04-12 09:30:58.899 (Hue) Color Switch (Scene Uit)
2018-04-12 09:30:58.900 (Hue) Color Switch (Scene Lentebloesem)
2018-04-12 09:30:58.902 (Hue) Color Switch (Scene Tropische schemering)
2018-04-12 09:30:58.904 (Hue) Color Switch (Scene Nachtlampje)
2018-04-12 09:30:58.905 (Hue) Color Switch (Scene Wake Up init)
2018-04-12 09:30:58.907 (Hue) Color Switch (Scene Scene mySceneColor3 huelabs/ch)
2018-04-12 09:30:58.909 (Hue) Color Switch (Scene Film kijken)
2018-04-12 09:30:58.910 (Hue) Color Switch (Scene Savanne zonsondergang)
2018-04-12 09:30:58.912 (Hue) Color Switch (Scene Scene mySceneDim huelabs/chris)
2018-04-12 09:30:58.913 (Hue) Color Switch (Scene Scene storageScene huelabs/chr)
2018-04-12 09:30:58.915 (Hue) Color Switch (Scene Scene mySceneColor2 huelabs/ch)
2018-04-12 09:30:58.916 (Hue) Color Switch (Scene Scene scene5 huelabs/christmas)
2018-04-12 09:30:59.278
2018-04-12 09:30:59.353 subtype = Interface Response
Sequence nbr = 2
response on cmnd = Get Status
Transceiver type = 433.92MHz
Firmware version = 1021
Firmware type = Ext
Hardware version = 1.3
Undec off
X10 enabled
ARC enabled
AC enabled
HomeEasy EU disabled
Meiantech/Atlantic disabled
Oregon Scientific disabled
ATI/Cartelectronic disabled
Visonic disabled
Mertik disabled
AD disabled
Hideki disabled
La Crosse enabled
FS20/Legrand disabled
ProGuard disabled
BlindsT0 enabled
BlindsT1 enabled
AE disabled
RUBiCSON enabled
FineOffset disabled
Lighting4 enabled
Conrad RSL disabled
ByronSX disabled
IMAGINTRONIX disabled
KEELOQ disabled
Home Confort disabled
2018-04-12 09:31:04.499 (Toon) Thermostat (Room Setpoint)
2018-04-12 09:31:04.500 (Toon) Temp (Room Temperature)
2018-04-12 09:31:04.501 (Toon) P1 Smart Meter (Electra)
2018-04-12 09:31:04.502 (Toon) P1 Smart Meter (Gas)
2018-04-12 09:31:04.503 (Toon) General/kWh (stekker 1)
© 2012-2018 Domoticz | WWW: Domoticz.com
Code: Select all
2018-04-12 17:51:33.457 Domoticz V3.9206 (c)2012-2018 GizMoCuz
2018-04-12 17:51:33.458 Build Hash: 8c3bf407, Date: 2018-04-08 18:14:22
2018-04-12 17:51:33.458 Startup Path: /home/tempusr/domoticz/
2018-04-12 17:51:33.475 Sunrise: 06:54:00 SunSet: 19:58:00
2018-04-12 17:51:33.475 Day length: 13:04:00 Sun at south: 13:05:00
2018-04-12 17:51:33.475 Civil twilight start: 06:27:00 Civil twilight end: 20:25:00
2018-04-12 17:51:33.475 Nautical twilight start: 05:55:00 Nautical twilight end: 20:57:00
2018-04-12 17:51:33.475 Astronomical twilight start: 05:21:00 Astronomical twilight end: 21:30:00
2018-04-12 17:51:33.475 EventSystem: reset all events...
2018-04-12 17:51:33.494 PluginSystem: Started, Python version '3.5.2'.
2018-04-12 17:51:33.495 Active notification Subsystems: email (1/14)
2018-04-12 17:51:33.496 WebServer(HTTP) started on address: :: with port 8080
2018-04-12 17:51:33.498 WebServer(SSL) started on address: :: with port 443
Code: Select all
2018-04-13 11:35:37.582 Domoticz V3.9220 (c)2012-2018 GizMoCuz
2018-04-13 11:35:37.582 Build Hash: 74b1986c, Date: 2018-04-13 07:02:16
2018-04-13 11:35:37.582 Startup Path: /home/pi/domoticz/
2018-04-13 11:35:37.616 EventSystem: reset all events...
2018-04-13 11:35:37.703 PluginSystem: Started, Python version '3.5.3'.
2018-04-13 11:35:37.703 Philips Hue: Using default poll interval of 10 secs.
2018-04-13 11:35:37.713 WebServer(HTTP) started on address: :: with port 8080
2018-04-13 11:35:37.718 WebServer(SSL) started on address: :: with port 443
2018-04-13 11:35:37.719 Proxymanager started.
2018-04-13 11:35:37.778 TCPServer: shared server started...
2018-04-13 11:35:37.778 RxQueue: queue worker started...
2018-04-13 11:35:39.780 ToonThermostat: Worker started...
2018-04-13 11:35:39.780 Philips Hue: Worker started...
2018-04-13 11:35:39.780 Kodi: Started
2018-04-13 11:35:39.780 (PP Manager) Started.
2018-04-13 11:35:39.781 Logitech Media Server: Worker started...
2018-04-13 11:35:39.781 EventSystem: reset all events...
2018-04-13 11:35:39.781 Logitech Media Server: 1 player-switch(es) found.
2018-04-13 11:35:39.782 EventSystem: reset all device statuses...
2018-04-13 11:35:39.843 Logitech Media Server: 3 playlist(s) found.
2018-04-13 11:35:39.995 Python EventSystem: Initalizing event module.
2018-04-13 11:35:39.996 EventSystem: Started
2018-04-13 11:35:39.996 EventSystem: Queue thread started...
2018-04-13 11:35:40.118 PluginSystem: Entering work loop.
2018-04-13 11:35:40.188 Error: (PP Manager) Module Import failed, exception: 'ImportError'
2018-04-13 11:35:40.188 Error: (PP Manager) Module Import failed: ' Name: plugin'
2018-04-13 11:35:40.188 Error: (PP Manager) Error Line details not available
2018-04-13 11:35:40.783 RFXCOM: Using serial port: /dev/ttyUSB0
2018-04-13 11:35:40.921 Logitech Media Server: 1 connected player(s) found.
2018-04-13 11:36:48.358 (PP Manager) Stop directive received.
2018-04-13 11:36:48.358 (PP Manager) Stopping threads.
2018-04-13 11:36:48.358 (PP Manager) Stopped.
from the wikiThere are also currently some issues with using python 3.5 on Raspbian Stretch. To fix this, install python 3.4 and set python 3.4 as the executable.
To find which version is active (3.4 or 3.5), type this command:
python3 -V
If you are using 3.5, try this:
sudo apt-get install python3.4 libpython3.4 python3.4-dev
Next, set 3.4 as the main version to use. You can change it back later if you want.
update-alternatives --install /usr/bin/python python3 /usr/bin/python3.5 1
update-alternatives --install /usr/bin/python python3 /usr/bin/python3.4 2
Now you can switch between them by issueing this command, and selecting your preference:
update-alternatives --config python3
Code: Select all
2018-04-26 23:06:30.721 Error: (PP-MANAGER) failed to create interpreter.
Code: Select all
nstalled 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
Code: Select all
pi@raspberrypi:~ $ sudo update-alternatives --config python choosed version 3.4.4
update-alternatives: fout: onbekend argument 'choosed'
Code: Select all
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Code: Select all
0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
When i manually instal a plugin with ftp crash[ make manually a chmod x ]