Python Plugin Beta for Synology
Moderators: leecollings, remb0
- jumbotroll
- Posts: 793
- Joined: Tuesday 13 January 2015 14:36
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Oslo,Norway
- Contact:
Python Plugin Beta for Synology
Python Plugin Beta for Synology packages.
This packages requires Python 3.5.1-0xxx.spk installed before you install or update the domoticz synology package!
Install the Python 3.5.1-0xxx.spk from Synology (Not the package from Synocommunity)
http://archive.synology.com/download/Package/spk/py3k/
http://www.jadahl.com
The plugins folder is located in /usr/local/domoticz/var/plugins on synology!
After you have installed a plugin.py you have to restart (stop/start) domoticz in Package Center to activate your plugins.
This packages requires Python 3.5.1-0xxx.spk installed before you install or update the domoticz synology package!
Install the Python 3.5.1-0xxx.spk from Synology (Not the package from Synocommunity)
http://archive.synology.com/download/Package/spk/py3k/
http://www.jadahl.com
The plugins folder is located in /usr/local/domoticz/var/plugins on synology!
After you have installed a plugin.py you have to restart (stop/start) domoticz in Package Center to activate your plugins.
Last edited by jumbotroll on Tuesday 29 January 2019 10:23, edited 5 times in total.
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Python Plugin Beta for Synology
Hi Jumbotroll,'
I would like to test the buienradar plugin but I am on synology DSM 6.1 RC (916+).
Domoticz version: 3.6708, Build Hash: 7b91f74-modified, Compile Date: 2017-02-14 16:52:55
Much obliged if you could point me in the right direction.
I would like to test the buienradar plugin but I am on synology DSM 6.1 RC (916+).
Domoticz version: 3.6708, Build Hash: 7b91f74-modified, Compile Date: 2017-02-14 16:52:55
Much obliged if you could point me in the right direction.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
- jumbotroll
- Posts: 793
- Joined: Tuesday 13 January 2015 14:36
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Oslo,Norway
- Contact:
Re: Python Plugin Beta for Synology
I have compiled domoticz Beta versions with Python plugin for DSM6.1 here: http://www.jadahl.com/waaren wrote:Hi Jumbotroll,'
I would like to test the buienradar plugin but I am on synology DSM 6.1 RC (916+).
Domoticz version: 3.6708, Build Hash: 7b91f74-modified, Compile Date: 2017-02-14 16:52:55
Much obliged if you could point me in the right direction.
Remember to install Python 3.5.1 package from synology before you install domoticz with python.
Last edited by jumbotroll on Tuesday 29 January 2019 10:24, edited 2 times in total.
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Python Plugin Beta for Synology
Hi Jumbotroll,
thank you very much for the time and effort. Much appreciated !
I installed the Beta version with the Python plugin activated and everything I checked sofar works including the buienradar plugin.
Only thing I noticed with this version and not with the previous Beta's is Solved by
/usr/local/domoticz/www/i18n:$sudo cp domoticz-ru.json.gz domoticz-et.json.gz
/usr/local/domoticz/www/i18n:$sudo cp domoticz-ru.json.gz domoticz-lv.json.gz
as described in bug area of this forum
thank you very much for the time and effort. Much appreciated !
I installed the Beta version with the Python plugin activated and everything I checked sofar works including the buienradar plugin.
Only thing I noticed with this version and not with the previous Beta's is Solved by
/usr/local/domoticz/www/i18n:$sudo cp domoticz-ru.json.gz domoticz-et.json.gz
/usr/local/domoticz/www/i18n:$sudo cp domoticz-ru.json.gz domoticz-lv.json.gz
as described in bug area of this forum
- Attachments
-
- Domoticz_cache_failed.png (57.12 KiB) Viewed 8851 times
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
- jumbotroll
- Posts: 793
- Joined: Tuesday 13 January 2015 14:36
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Oslo,Norway
- Contact:
Re: Python Plugin Beta for Synology
@waaren
I know about the Browser Cache bug, and the developers to I think
I will compile/update my packages when this is fixed.
I know about the Browser Cache bug, and the developers to I think

I will compile/update my packages when this is fixed.
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
-
- Posts: 7
- Joined: Tuesday 24 November 2015 21:37
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python Plugin Beta for Synology
I've try the new domoticz package for DSM 6.1, but when I made an update my scripts folder goes away.
I've several python script so I need to recreate folder an copy all scripts back.
Is there anything I does wrong or is it a normal behaviour ?
I've several python script so I need to recreate folder an copy all scripts back.
Is there anything I does wrong or is it a normal behaviour ?
- jumbotroll
- Posts: 793
- Joined: Tuesday 13 January 2015 14:36
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Oslo,Norway
- Contact:
Re: Python Plugin Beta for Synology
Fixed!CRB7 wrote:I've try the new domoticz package for DSM 6.1, but when I made an update my scripts folder goes away.
I've several python script so I need to recreate folder an copy all scripts back.
Is there anything I does wrong or is it a normal behaviour ?
All versions is updated.
Last edited by jumbotroll on Saturday 08 April 2017 16:38, edited 1 time in total.
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
-
- Posts: 3
- Joined: Saturday 28 January 2017 13:57
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python Plugin Beta for Synology
Hi guys,
I have Domoticz installed on my Synology DS3615xs with DSM 6.0.2-8451 from http://www.jadahl.com/domoticz_beta/
I am trying to install my Broadlink RM pro following http://www.domoticz.com/wiki/Plugins/BroadlinkRM2.html
I have installed python following Jumbotroll guidelines, however when I type python --version I get "Python 2.7.13".
After opkg install python3-pip, I run "pip3 install broadlink" (as per wiki) but I get:
So I tried pip install urllib3, went OK but issue remain, so I tried git clone git://github.com/shazow/urllib3.git then python setup.py install: same issue (I think it installs urllib3 into python 2.7).
I have no idea of what I'm doing
... please help !
I have Domoticz installed on my Synology DS3615xs with DSM 6.0.2-8451 from http://www.jadahl.com/domoticz_beta/
I am trying to install my Broadlink RM pro following http://www.domoticz.com/wiki/Plugins/BroadlinkRM2.html
I have installed python following Jumbotroll guidelines, however when I type python --version I get "Python 2.7.13".
After opkg install python3-pip, I run "pip3 install broadlink" (as per wiki) but I get:
I tried to cp -R urllib3 from python2.7/site-packages into /volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages (where the SPK from Synology is installed I suppose) and also into Python3.6 and to use pip3.6 but I always have the same error.Traceback (most recent call last):
File "/__init__.py", line 27, in <module>
File "/__init__.py", line 8, in <module>
File "/connectionpool.py", line 33, in <module>
ImportError: cannot import name 'CertificateError'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/bin/pip3", line 7, in <module>
from pip import main
File "/__init__.py", line 21, in <module>
File "/__init__.py", line 62, in <module>
File "/__init__.py", line 29, in <module>
ModuleNotFoundError: No module named 'urllib3'
So I tried pip install urllib3, went OK but issue remain, so I tried git clone git://github.com/shazow/urllib3.git then python setup.py install: same issue (I think it installs urllib3 into python 2.7).
I have no idea of what I'm doing

-
- Posts: 147
- Joined: Thursday 13 August 2015 13:36
- Target OS: NAS (Synology & others)
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: Python Plugin Beta for Synology
Hopefully not a stupid question, but what could be the benefit for me to switch over from my normal beta to this python beta?
Will it solve the problems with running python 3 scripts on a Synology where we very often have a Python 2.7 and a Python 3,x installed?
In that case this could really benefit me.
If I'm going to switch over to this version of the domoticz software what type of issues I might expect? This to know if it is worth to switch
Hope someone can answer these (stupid) questions since I would like to have them answered before I make such a switch
Will it solve the problems with running python 3 scripts on a Synology where we very often have a Python 2.7 and a Python 3,x installed?
In that case this could really benefit me.
If I'm going to switch over to this version of the domoticz software what type of issues I might expect? This to know if it is worth to switch

Hope someone can answer these (stupid) questions since I would like to have them answered before I make such a switch

Best regards Bert
Synology DS1517+ - DSM 6.2
Raspberry PI2-B, Raspberry Nano - Raspberry PI3 - model B
Xiaomi Gateway - Philips HUE Lights - Zwave - RFXCom(E) with KaKu and other 433MHz devices - Yeelight Lights - Toon
Synology DS1517+ - DSM 6.2
Raspberry PI2-B, Raspberry Nano - Raspberry PI3 - model B
Xiaomi Gateway - Philips HUE Lights - Zwave - RFXCom(E) with KaKu and other 433MHz devices - Yeelight Lights - Toon
-
- Posts: 265
- Joined: Monday 05 February 2018 8:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12467
- Location: Netherlands, near Haarlem
- Contact:
Re: Python Plugin Beta for Synology
Hello,
I have installed domoticz_88f6281-6.1_3.0.8841-7.spk. This is domoticz for dsm 6.1 including python support.
I installed: py3k-armv5-3.5.1-0105.spk from the synology website. This is the version for my DSM111.
community python has been removed before install of this one.
In the package center there is another package: Python modules. It is based on python 2.
Domoticz log show: PluginSystem: Started, Python version '3.5.1'.
But now I installed Buienradar plugin. But as soon as I add the hardware, domoticz crashes. I'm not able to restart it.
I removed the plugin from /usr/local/domoticz/var/plugins and after that I could restart domoticz. I removed the buienradar hardware after that.
I receive a message:
Multiple errors received in the last 5 minutes:
2018-02-09 11:35:16.191 Error: (Buienradar) failed to load 'plugin.py', Python Path used was ':/volume1/@appstore/py3k/usr/local/lib/python35.zip:/volume1/@appstore/py3k/usr/local/lib/python3.5/:/volume1/@appstore/py3k/usr/local/lib/python3.5/plat-linux:/volume1/@appstore/py3k/usr/local/lib/python3.5/lib-dynload'.
2018-02-09 11:35:16.192 Error: (Buienradar) Module Import failed, exception: 'ImportError'
2018-02-09 11:35:16.192 Error: (Buienradar) Module Import failed: ' Name: plugin'
2018-02-09 11:35:16.192 Error: (Buienradar) Error Line details not available.
and:
2018-02-09 11:36:30.340 Error: Buienradar hardware (11) thread seems to have ended unexpectedly
But I'm not sure if these messages are written after I removed the plugin.
Do you know what the problem is here?
edit: I tried to install another python plugin. sonos. After adding the hardware, domoticz crashes. not able to launch domoticz again (browser cache refresh failed - offline), till I remove the plugins from the /plugins folder. So I assume it is a python related problem in my synology.
Edit: Problem solved. When I install:
http://www.jadahl.com/domoticz_beta_6.1 ... 8875-7.spk
python plugins are okay and function normally. Till now
I have installed domoticz_88f6281-6.1_3.0.8841-7.spk. This is domoticz for dsm 6.1 including python support.
I installed: py3k-armv5-3.5.1-0105.spk from the synology website. This is the version for my DSM111.
community python has been removed before install of this one.
In the package center there is another package: Python modules. It is based on python 2.
Domoticz log show: PluginSystem: Started, Python version '3.5.1'.
But now I installed Buienradar plugin. But as soon as I add the hardware, domoticz crashes. I'm not able to restart it.
I removed the plugin from /usr/local/domoticz/var/plugins and after that I could restart domoticz. I removed the buienradar hardware after that.
I receive a message:
Multiple errors received in the last 5 minutes:
2018-02-09 11:35:16.191 Error: (Buienradar) failed to load 'plugin.py', Python Path used was ':/volume1/@appstore/py3k/usr/local/lib/python35.zip:/volume1/@appstore/py3k/usr/local/lib/python3.5/:/volume1/@appstore/py3k/usr/local/lib/python3.5/plat-linux:/volume1/@appstore/py3k/usr/local/lib/python3.5/lib-dynload'.
2018-02-09 11:35:16.192 Error: (Buienradar) Module Import failed, exception: 'ImportError'
2018-02-09 11:35:16.192 Error: (Buienradar) Module Import failed: ' Name: plugin'
2018-02-09 11:35:16.192 Error: (Buienradar) Error Line details not available.
and:
2018-02-09 11:36:30.340 Error: Buienradar hardware (11) thread seems to have ended unexpectedly
But I'm not sure if these messages are written after I removed the plugin.
Do you know what the problem is here?
edit: I tried to install another python plugin. sonos. After adding the hardware, domoticz crashes. not able to launch domoticz again (browser cache refresh failed - offline), till I remove the plugins from the /plugins folder. So I assume it is a python related problem in my synology.
Edit: Problem solved. When I install:
http://www.jadahl.com/domoticz_beta_6.1 ... 8875-7.spk
python plugins are okay and function normally. Till now

Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.
-
- Posts: 59
- Joined: Sunday 28 July 2019 22:59
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python Plugin Beta for Synology
Were you ever able to make the broadlink plugin work on a domoticz-synology install? i'm facing the same issues as you did and I was wondering if you could point me in the right direction in order to get it working? Thanks in advance!Gl0ox wrote: ↑Monday 01 May 2017 12:29 Hi guys,
I have Domoticz installed on my Synology DS3615xs with DSM 6.0.2-8451 from http://www.jadahl.com/domoticz_beta/
I am trying to install my Broadlink RM pro following http://www.domoticz.com/wiki/Plugins/BroadlinkRM2.html
I have installed python following Jumbotroll guidelines, however when I type python --version I get "Python 2.7.13".
After opkg install python3-pip, I run "pip3 install broadlink" (as per wiki) but I get:I tried to cp -R urllib3 from python2.7/site-packages into /volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages (where the SPK from Synology is installed I suppose) and also into Python3.6 and to use pip3.6 but I always have the same error.Traceback (most recent call last):
File "/__init__.py", line 27, in <module>
File "/__init__.py", line 8, in <module>
File "/connectionpool.py", line 33, in <module>
ImportError: cannot import name 'CertificateError'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/bin/pip3", line 7, in <module>
from pip import main
File "/__init__.py", line 21, in <module>
File "/__init__.py", line 62, in <module>
File "/__init__.py", line 29, in <module>
ModuleNotFoundError: No module named 'urllib3'
So I tried pip install urllib3, went OK but issue remain, so I tried git clone git://github.com/shazow/urllib3.git then python setup.py install: same issue (I think it installs urllib3 into python 2.7).
I have no idea of what I'm doing... please help !
Who is online
Users browsing this forum: No registered users and 1 guest