I decided to open this topic because informations about having domoticz plugin system to work properly are totally fragmented all over the forum and a lot of them are old or not correct.
Plugin system only work on beta domoticz: I am currently using Domoticz 3.9453.
This is my domoticz log:
Code: Select all
2018-05-19 08:29:56.462 Domoticz V3.9453 (c)2012-2018 GizMoCuz
2018-05-19 08:29:56.462 Build Hash: 6058edfc, Date: 2018-05-18 19:35:34
2018-05-19 08:29:56.480 Startup Path: /home/xavier/domoticz/
2018-05-19 08:29:56.495 Sunrise: 05:53:00 SunSet: 20:14:00
2018-05-19 08:29:56.495 Day length: 14:21:00 Sun at south: 13:05:00
2018-05-19 08:29:56.495 Civil twilight start: 05:23:00 Civil twilight end: 20:44:00
2018-05-19 08:29:56.495 Nautical twilight start: 04:46:00 Nautical twilight end: 21:20:00
2018-05-19 08:29:56.495 Astronomical twilight start: 04:05:00 Astronomical twilight end: 22:01:00
2018-05-19 08:29:56.495 EventSystem: reset all events...
2018-05-19 08:29:56.497 PluginSystem: 'Condizionatore salotto' Registration ignored, Plugins are not enabled.
2018-05-19 08:29:56.500 Active notification Subsystems: (0/14)
2018-05-19 08:29:56.502 WebServer(HTTP) started on address: :: with port 8080
2018-05-19 08:29:56.504 WebServer(SSL) started on address: :: with port 443
2018-05-19 08:29:56.505 Proxymanager started.
2018-05-19 08:29:56.505 Camera: settings (re)loaded
2018-05-19 08:29:56.506 Accepting shared server connections via MyDomotiz (see settings menu).
2018-05-19 08:29:56.506 Starting shared server on: :::6144
2018-05-19 08:29:56.506 TCPServer: shared server started...
2018-05-19 08:29:56.506 RxQueue: queue worker started...
2018-05-19 08:29:57.842 PROXY: Authenticate result: success.
2018-05-19 08:29:58.507 Kodi: Started
2018-05-19 08:29:58.507 Wunderground: Worker started...
2018-05-19 08:29:58.608 Kodi: (Kodi salotto) Starting thread.
2018-05-19 08:29:58.708 Kodi: Starting I/O service thread.
2018-05-19 08:29:59.508 MQTT: Connecting to 192.168.1.2:1883
2018-05-19 08:29:59.609 MQTT: connected to: 192.168.1.2:1883
2018-05-19 08:29:59.710 MQTT: Subscribed
This is my situation:
Code: Select all
Xavier-PC ~ # python -V
Python 3.5.2
Xavier-PC ~ # python3 -V
Python 3.4.3
Code: Select all
Xavier-PC ~ # ls /usr/bin/python*
/usr/bin/python /usr/bin/python2.7 /usr/bin/python3.5 /usr/bin/python3m
/usr/bin/python2 /usr/bin/python3 /usr/bin/python3.5m
But if I give a more deep look into my libraries I can see that I have: python 3.5.1 (tha is the last available release).
Code: Select all
sudo apt-get install -y python3
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
python3 is already the newest version (3.5.1-3).
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
On some forum pages I read to do this :
Code: Select all
apt-get install python3 libpython3-dev libpython3.4-dev
Code: Select all
E: Impossibile trovare il pacchetto libpython3.4-dev
E: Impossibile trovare alcun pacchetto tramite il glob "libpython3.4-dev"
E: Impossibile trovare alcun pacchetto tramite l'espressione regolare "libpython3.4-dev"
I am sure it is a python issue but I don't really know how to solve it.
Someone suggests to remove python3.5 and python3.5dev but it is a suicide because by doing this a lot of critical system packages are removed automatically.
Code: Select all
sudo apt-get remove python3.5
sudo apt-get remove python3.5-minimal
sudo apt-get remove libpython3.5
sudo apt-get remove libpython3.5-minimal
Code: Select all
The following packages will be automatically removed:
I seguenti pacchetti saranno RIMOSSI:
apparmor apport apt-clone apt-xapian-index aptdaemon apturl apturl-common catfish command-not-found compiz compiz-gnome
dh-python firefox foomatic-db-compressed-ppds gconf2 gdebi gdebi-core gimp-help-en gimp-help-it gir1.2-ibus-1.0
gir1.2-xapp-1.0 gir1.2-xplayer-1.0 gksu gnome-menus gnome-orca google-chrome-stable gstreamer0.10-gconf gstreamer0.10-gnomevfs
gufw hplip hplip-data libgksu2-0 libgnomevfs2-0 libgnomevfs2-common libpurple-bin libxapp1 libxplayer0 lightdm-settings
lsb-release menulibre mint-artwork-common mint-artwork-gnome mint-artwork-xfce mint-common mint-meta-core mint-meta-xfce
mintbackup mintdesktop mintdrivers mintinstall mintlocale mintreport mintsources mintstick mintsystem mintupdate mintwelcome
mugshot mysql-server mysql-server-5.7 onboard openprinting-ppds pix pix-dbg plymouth-theme-ubuntu-text printer-driver-foo2zjs
printer-driver-foo2zjs-common printer-driver-postscript-hp printer-driver-ptouch printer-driver-pxljr python3 python3-3to2
python3-apport python3-apt python3-aptdaemon python3-aptdaemon.gtk3widgets python3-aptdaemon.pkcompat python3-blinker
python3-brlapi python3-cairo python3-cffi-backend python3-chardet python3-commandnotfound python3-configobj python3-crypto
python3-cryptography python3-cups python3-cupshelpers python3-cycler python3-dateutil python3-dbus python3-debian
python3-defer python3-dirspec python3-gdbm python3-gi python3-gi-cairo python3-httplib2 python3-icu python3-idna python3-jwt
python3-louis python3-lxml python3-mako python3-markupsafe python3-matplotlib python3-numpy python3-oauthlib python3-oneconf
python3-pexpect python3-pil python3-pip python3-piston-mini-client python3-pkg-resources python3-problem-report python3-psutil
python3-ptyprocess python3-pyasn1 python3-pyatspi python3-pycurl python3-pyparsing python3-reportlab python3-reportlab-accel
python3-requests python3-setproctitle python3-six python3-speechd python3-tz python3-urllib3 python3-virtkey python3-xapian1.3
python3-xapp python3-xdg python3-xkit python3.5 redshift-gtk sessioninstaller slick-greeter synaptic
system-config-printer-common system-config-printer-gnome system-config-printer-udev thin-client-config-agent timeshift tomboy
ubuntu-drivers-common ubuntu-minimal ubuntu-system-adjustments ubuntu-system-service ufw xapps-common xplayer xplayer-dbg
xplayer-plugins xviewer xviewer-dbg xviewer-plugins
I managed to do this instead:
Code: Select all
Xavier-PC ~ # sudo apt-get remove python3-dev
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Il pacchetto "python3-dev" non è installato e quindi non è stato rimosso
I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
libpython3.5 libpython3.5-dev python3.5-dev
Usare "sudo apt autoremove" per rimuoverli.
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
Xavier-PC ~ # sudo apt autoremove
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti saranno RIMOSSI:
libpython3.5 libpython3.5-dev python3.5-dev
0 aggiornati, 0 installati, 3 da rimuovere e 0 non aggiornati.
Dopo quest'operazione, verranno liberati 58,6 MB di spazio su disco.
Continuare? [S/n] S
(Lettura del database... 258531 file e directory attualmente installati.)
Rimozione di python3.5-dev (3.5.2-2ubuntu0~16.04.4)...
Rimozione di libpython3.5-dev:amd64 (3.5.2-2ubuntu0~16.04.4)...
Rimozione di libpython3.5:amd64 (3.5.2-2ubuntu0~16.04.4)...
Elaborazione dei trigger per man-db (2.7.5-1)...
Elaborazione dei trigger per libc-bin (2.23-0ubuntu10)...
Now I should to install:
python3.4dev and libpython3.4-dev but I am not able to find them!!!
Could you please help me and all the people out there punching their heads against the monitor? THANKS!!!!
Xavier