Smanar / Domoticz-deCONZ

deCONZ plugin for Domoticz (Zigbee application)
GNU General Public License v3.0
36 stars 27 forks source link

Issues enabling plugin in latest linuxserver docker image #89

Closed rwijnhov closed 2 years ago

rwijnhov commented 3 years ago

When i try to enable the plugin in the latest linuxserver docker image i get: 2021-02-05 09:20:24.565 Error: (deCONZ) failed to load 'plugin.py', Python Path used was '/config/plugins/deconzplugin/:/usr/lib/python38.zip:/usr/lib/python3.8:/usr/lib/python3.8/lib-dynload:/usr/local/lib/python3.8/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.8/dist-packages'.

Any ideas on how to fix this? The plugin works on an old 4.17 version.

Smanar commented 3 years ago

Hello, I don't use docker but try checking folders to see if the files are at good place

/config/plugins/deconzplugin/
/usr/lib/python38.zip
/usr/lib/python3.8
/usr/lib/python3.8/lib-dynload
/usr/local/lib/python3.8/dist-packages
/usr/lib/python3/dist-packages
/usr/lib/python3.8/dist-packages

I think the more important is /config/plugins/deconzplugin/

Smanar commented 3 years ago

Still have problem ?

rwijnhov commented 3 years ago

Hi i got it working. But reverted back to domoticz and deconz on windows. With that setup i get after a while websocket disconnected error. It works for a couple of hours and the websocket issue. Any ideas?

Tank you,

Ruben

Op do 18 feb. 2021 om 17:18 schreef Smanar notifications@github.com:

Still have problem ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Smanar/Domoticz-deCONZ/issues/89#issuecomment-781460052, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDBCVNHBRADGQ2QMMD7Z43S7U4VPANCNFSM4XEK3Q6Q .

Smanar commented 3 years ago

Websocket connection are managed by the client (so the domoticz plugin here, and I m using the domoticz connection stuff for websocket, so can be from your domoticz version too) But the plugin don't detect the websocket disconnection ?

Something to try, there is some plugin for browser to use them as websocket client (I m using "Browser websocket client" on firefox), you can connect it in same time than domoticz, and check if both disconnect in same time. The url to use is like this one for me ws://192.168.1.1:8088 it s the websocket port, not the client port, if you don't find it, it s visible on log at start from my memory.