Plugin not in Hardware list

Python and python framework

Moderator: leecollings

Post Reply
Pandabeer
Posts: 35
Joined: Monday 18 December 2017 11:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 10265
Location: Zwolle
Contact:

Plugin not in Hardware list

Post by Pandabeer »

Hello,

I installed Domoticz
2017-12-25 22:52:59.645 Domoticz V3.8796 (c)2012-2017 GizMoCuz
2017-12-25 22:52:59.656 Build Hash: 2d99bbbc, Date: 2017-12-24 07:06:53

I made a directory under plugins - like plugins : \media\domoticz\plugins\MAC to find specified MAC addresses - plugin.py saved on this location and made it executable - restart the service of domotics - still no new hardware in the list when I refresh the webpage

Also I don't see in the logfile at all:
PluginSystem: Started, Python version '3.x.y'

libpython and python3 installed - somebody any clue

Thank you in advance,

Peter
Little expert running Domoticz on a Raspberry Pi

Code: Select all

Toon Thermostat | Mi-Light | Z-Wave Thermostat valves and CO2 / fire detection units | KiKa | Heat-IT Zwave thermostat |
micha_pr
Posts: 82
Joined: Friday 24 October 2014 12:26
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany, near Berlin
Contact:

Re: Plugin not in Hardware list

Post by micha_pr »

Please check:
http://www.domoticz.com/wiki/Using_Python_plugins

Code: Select all

# install dependencies
sudo apt-get install -y python3
# Domoticz Beta versions since V3.6129 also require...
sudo apt-get install -y python3-dev
# credit [https://www.domoticz.com/forum/viewtopic.php?f=65&t=16116&p=119747]

# update to the latest beta version
cd ~/domoticz
./updatebeta

# restart the service
sudo systemctl restart domoticz.service
Michael Pruefer
----------------------------
http://www.zwave-review.com (German only)
http://www.SmartHome.Work (German only)
Pandabeer
Posts: 35
Joined: Monday 18 December 2017 11:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 10265
Location: Zwolle
Contact:

Re: Plugin not in Hardware list

Post by Pandabeer »

Hi Micha,

Thank you - I already did those steps

* python3 is reeds de nieuwste versie (3.5.3-1).
* python3-dev is reeds de nieuwste versie (3.5.3-1)

reinstalled beta and restarted by using sudo systemctl restart domoticz.service - purged chrome history and reloaded page - whithout any succes

Also installed example plugin of denon:
# credit https://www.domoticz.com/forum/viewtopic.php?t=15681

# Obtain plugin from github
mkdir -p domoticz/plugins/denon/
curl -L https://raw.githubusercontent.com/domot ... non4306.py > domoticz/plugins/denon/plugin.py

# set execute permissions (default was 644 pi:pi)
chmod 755 domoticz/plugins/denon/plugin.py

# restart domoticz service
sudo systemctl restart domoticz.service

More information from the LOG (you see Python3 not started ;()
2017-12-27 15:30:04.426 Domoticz V3.8796 (c)2012-2017 GizMoCuz
2017-12-27 15:30:04.466 Build Hash: 2d99bbbc, Date: 2017-12-24 07:06:53
2017-12-27 15:30:04.473 Startup Path: /media/domoticz/
2017-12-27 15:30:05.431 EventSystem: reset all events...
2017-12-27 15:30:05.732 WebServer(HTTP) started on address: 0.0.0.0 with port 8080
2017-12-27 15:30:05.928 WebServer(SSL) started on address: 0.0.0.0 with port 443
2017-12-27 15:30:05.935 Proxymanager started.
2017-12-27 15:30:06.007 TCPServer: shared server started...
2017-12-27 15:30:06.036 RxQueue: queue worker started...
2017-12-27 15:30:08.040 PVOutput (Input): Worker started...
2017-12-27 15:30:08.041 Wunderground: Worker started...
2017-12-27 15:31:10.296 Incoming connection from: 192.168.178.21
2017-12-27 15:32:40.934 Incoming connection from: 192.168.178.1
2017-12-27 15:46:41.145 Incoming connection from: 192.168.178.122

No succes - please can anybody help? Thank you in advance

Peter - The Netherlands
Little expert running Domoticz on a Raspberry Pi

Code: Select all

Toon Thermostat | Mi-Light | Z-Wave Thermostat valves and CO2 / fire detection units | KiKa | Heat-IT Zwave thermostat |
micha_pr
Posts: 82
Joined: Friday 24 October 2014 12:26
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany, near Berlin
Contact:

Re: Plugin not in Hardware list

Post by micha_pr »

At Setup - > Settings -> Other the EventSystem is enabled?
Michael Pruefer
----------------------------
http://www.zwave-review.com (German only)
http://www.SmartHome.Work (German only)
Pandabeer
Posts: 35
Joined: Monday 18 December 2017 11:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 10265
Location: Zwolle
Contact:

Re: Plugin not in Hardware list

Post by Pandabeer »

THANK YOU - this did the trick!!
Little expert running Domoticz on a Raspberry Pi

Code: Select all

Toon Thermostat | Mi-Light | Z-Wave Thermostat valves and CO2 / fire detection units | KiKa | Heat-IT Zwave thermostat |
Post Reply

Who is online

Users browsing this forum: janpep and 1 guest