domoticz in synology as package! Available now.

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: domoticz in synology as package! Available now.

Post by jumbotroll »

@Egregius
That's great, but DSM 6.1 on DS1513+ (arch-cedarview) has updated kernel to 3.10.102 I Think, and I am not sure all USB drivers are kompatible.
Do you use Z-stick RFLink or RFXCOM?
You can also log in to your NAS with Telnet or SSH and type: dmesg
and check if you have some USB driver errors, if not, No worries :-)
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
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: domoticz in synology as package! Available now.

Post by Egregius »

You could be right, altough my Z-stick Gen 5 works, haven't used rfxcom yet.

Code: Select all

[  154.169516] cp210x: version magic '3.10.77 SMP mod_unload ' should be '3.10.102 SMP mod_unload '
[  154.218879] pl2303: version magic '3.10.77 SMP mod_unload ' should be '3.10.102 SMP mod_unload '
[  154.239050] ch341: version magic '3.10.77 SMP mod_unload ' should be '3.10.102 SMP mod_unload '
[  154.275013] ti_usb_3410_5052: version magic '3.10.77 SMP mod_unload ' should be '3.10.102 SMP mod_unload '
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: domoticz in synology as package! Available now.

Post by jumbotroll »

Gen 5 uses native cdc-acm driver, so that should work.
If you update to my DSM 6.1 beta package, all the the drivers should be ok.
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
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: domoticz in synology as package! Available now.

Post by Egregius »

No good:

Code: Select all

2017-02-23 15:17:29.743  Domoticz V3.6730 (c)2012-2017 GizMoCuz
2017-02-23 15:17:29.743  Build Hash: 6ea9b5d-modified, Date: 2017-02-17 06:39:03
2017-02-23 15:17:29.744  Startup Path: /usr/local/domoticz/
2017-02-23 15:17:29.772  Sunrise: 06:44:00 SunSet:17:16:00
2017-02-23 15:17:29.772  EventSystem: reset all events...
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Let's see if my backup is any good...


Edit: nevermind, installed the python3 package and it runs now. It didn't find the python2.7 package that was already installed.
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: domoticz in synology as package! Available now.

Post by jumbotroll »

@Egregius
You have to install Python 3.5.1 from synology.
DSM 6.1 version include Python Plugin.
py3k-x86_64-3.5.1-0105.spk
You can also manually download here: http://download.synology.com/download/P ... .5.1-0105/
Last edited by jumbotroll on Thursday 23 February 2017 15:30, 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
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: domoticz in synology as package! Available now.

Post by Egregius »

It runs now, just a bit stupid to be forced to install a additionnall package that I won't use for anything.
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: domoticz in synology as package! Available now.

Post by jumbotroll »

@Egregius
In the future I think all domoticz users want this Python Plugin, but if you want, I can build a domoticz beta version for you without Python Plugin?
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
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: domoticz in synology as package! Available now.

Post by Egregius »

That was one of the reason I stopped going on beta's and stayed on latest stable. I don't need python, I'm not gonna use it.
But if domoticz is continuing the integration of that it's not up to you to keep hundreds of different versions online.
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: domoticz in synology as package! Available now.

Post by jumbotroll »

Ha ha ..
It's getting a lot to deal with yes :-)
I receive many requests for different versions:
DSM 5.2 DSM 6.0 DSM 6.1 with or without Python plugin, but if I have time, I gladly build some special variants for you guys :-)
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
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: domoticz in synology as package! Available now.

Post by Egregius »

If you think of it further, this could be treaded as a bug in Domoticz.
I don't have any python plugins, ...
Wait a minute, there is a plugin in the plugins folder: AwoxSMP. Let's quickly move it away.

Anyway, I would have sayed: why require python if no plugins are detected?
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: domoticz in synology as package! Available now.

Post by Egregius »

Oh, I do have another request :P

Is there a way to store the variables chosen during installation of the package so they are used upon update?
I always disable https by putting a 0 in front of it.
It would also be cool to be able to alter the log folder, as I store it in tmpfs (/tmp/domoticz.log).
If that could be kept after updates, that would be great in my case :)
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: domoticz in synology as package! Available now.

Post by jumbotroll »

Why require python if no plugins are detected? I agree, It should be a autodetect in the code for this.
domoticz_cedarview-6.1_3.0.6775-7.spk without Python Plugin!
http://jadahl.com/synospk/domoticz_ceda ... 6775-7.spk
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
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: domoticz in synology as package! Available now.

Post by Egregius »

That works indeed, thank you!
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by waaren »

@Jumbotroll

I made mistake by installing the latest beta 3.6765 on my Synology 916+ DSM 6.1 and therewith lost the Python plugin part. Downgrading to your version 6730 is not possible :-(
Would it be possible for you to compile a new version with Python plugin ?

Thx in advance.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: domoticz in synology as package! Available now.

Post by jumbotroll »

@waaren
to be 100% sure.. You want latest domoticz beta for DSM 6.1 DS916+ with Python Plugin?
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
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by waaren »

@Jumbotroll

Yes (pretty) please
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: domoticz in synology as package! Available now.

Post by jumbotroll »

@waaren
Ok I will upload the new domoticz packages with python plugin for DSM 6.1 here: http://www.jadahl.com/domoticz_beta_6.1/
Remember to remove the DSM 6.0 URL from package center if you have added this URL.
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
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by waaren »

@jumbotroll

Thx. Downloaded and installed. Python plugin working again
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
bertbigb
Posts: 147
Joined: Thursday 13 August 2015 13:36
Target OS: NAS (Synology & others)
Domoticz version: beta
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by bertbigb »

Hi Jumbotroll,

I'm getting a bit confused and I hope you can help with clearing it out:

If I'm running Synology 6.1 on my DS1515 I need to have the Domoticz package from http://www.jadahl.com/domoticz_beta_6.1/ right?

If I'm running Synology 6.0 on my DS1511 I need to have the Domoticz package from http://www.jadahl.com/domoticz_beta_6.0/ right?

And what about the Python plugin, do I need that yes or no? Or is the Python plugin always a part of the Domoticz package?

Hope you can find some time to answer my stupid questions.

best regards,
Bert
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
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: domoticz in synology as package! Available now.

Post by jumbotroll »

@bertbigb
Yes domoticz for DSM 6.1 use this url: http://www.jadahl.com/domoticz_beta_6.1/
and DSM 6.0 use this url: http://www.jadahl.com/domoticz_beta_6.0/
I have only build domoticz with Python Plugin for DSM 6.1 and you have to install Python 3.5.1 package from Synology.
If you don't want domoticz with Python Plugin, I can build a special version for you without, but I think in the future the developers will add more and more hardware plugins for Python.
I don't think I have the time to update beta packages for all the Synology versions with and without Python Plugin, so for now the domoticz beta packages for DSM 6.1 will be with Python Plugin. When a new Stable version is available I can build both versions.
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest