JVaassen / domoticz-remote-Pi-Monitor

Extended Xorfors pimonitor to run in client-server setup, monitoring other rasperry pi's in Domoticz
1 stars 3 forks source link

Plugin not loaded in Domoticz #1

Open straybiker opened 5 years ago

straybiker commented 5 years ago

After cloning the repository in the plugin directory, and restarting domoticz, the plugin did initially show up in the Hardware settings. After adding the hardware, domoticz gives following error after starting. No devices are created either.

Initialy Domoticz did npot load the plugin at all, but this was solved by installing python3-dev

2019-07-28 19:12:29.700 Error: (jva_pimonitor) failed to load 'plugin.py', Python Path used was ':/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'. 2019-07-28 19:12:29.700 Error: (Network server monitor) Module Import failed, exception: 'ImportError' 2019-07-28 19:12:29.700 Error: (Network server monitor) Module Import failed: ' Name: plugin' 2019-07-28 19:12:29.700 Error: (Network server monitor) Error Line details not available.

HanSyt commented 4 years ago

Having the same issue here. However despite that the hardware is available in Domoticz

Result is that there is no tcp socket on port 8085, no devices are created. Port is also missing in hardware - tcp address is showing up (netstat -nat | grep 8085

`Type Address Port Data Timeout
13 Remote Monitoring Yes PiReMonitor 192.168.2.8   Disabled`

The original plugin is working (Xorfor main project) but only local python3-lxml is installed

Also: wikilink is not correct, it points to the original url, not this plugin

2020-07-07 15:27:29.245 Status: (Remote Monitoring) Started. 2020-07-07 15:27:29.338 Error: (jva_pimonitor) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/PiRemote/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'. 2020-07-07 15:27:29.338 Error: (Remote Monitoring) Module Import failed, exception: 'ImportError' 2020-07-07 15:27:29.338 Error: (Remote Monitoring) Error Line details not available.