OpenHAB.
If the directory /volume1/public/OpenHAB/configurations exists, this directory will be used for all OpenHAB configuration files. This should make it easier to work with the OpenHAB designer installed on your PC.
If the directory /volume1/public/OpenHAB/addons exists, this directory will be used for all OpenHAB addons (bindings) files.
The UI is on port 8081, the console (via telnet) is on port 5555
Have fun!
--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/groups/opt_out.
<OpenHAB-1.3.1-syno-noarch-0.001.spk>
but I get the same errors there that I get on my RaspberryPi - when loading the items file, it says "Couldn't find ItemFactory for item …".
/var/packages/OpenHAB/target/
with the snapshot files. Is this the right way?Done - the information is now in the wiki at https://github.com/openhab/openhab/wiki/Hardware-FAQ#synology-diskstation
/var/packages/OpenHAB/target/
with the snapshot files should do the trick.I just updated my Synology 214play to DSM 5.0 beta.
Problem accessing /openhab.app. Reason:
Sitemap 'demo' could not be found
org.openhab.ui.webapp.render.RenderException: Sitemap 'demo' could not be found at org.openhab.ui.webapp.internal.servlet.WebAppServlet.service(WebAppServlet.java:134) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) at org.eclipse.jetty.server.Server.handle(Server.java:350) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538) at java.lang.Thread.run(Thread.java:744)
Do you have any idea to help me?
Michael
"OpenHAB is installed at/var/packages/OpenHAB/target/
(which is linked to/volume1/@appstore/OpenHAB
)"
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/lrzcZDYI3Ug/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
--
--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/lrzcZDYI3Ug/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
OpenHAB.
If the directory /volume1/public/OpenHAB/configurations exists, this directory will be used for all OpenHAB configuration files. This should make it easier to work with the OpenHAB designer installed on your PC.
If the directory /volume1/public/OpenHAB/addons exists, this directory will be used for all OpenHAB addons (bindings) files.
The UI is on port 8081, the console (via telnet) is on port 5555
After starting the package give your Synology Diskstation some time before you expect the UI to respond (one minute on a ds213+).
Have fun!
--
org.openhab.ui.webapp.render.RenderException: Sitemap 'demo' could not be found at org.openhab.ui.webapp.internal.servlet.WebAppServlet.service(WebAppServlet.java:114) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) at org.eclipse.jetty.server.Server.handle(Server.java:346) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538) at java.lang.Thread.run(Thread.java:744)
--
Hello
When I am trying to use the demo sitemap on my DS213 i get an error.
Can anyone give me a hint on what I have done wrong?
Error message:
HTTP ERROR 500
Problem accessing /openhab.app. Reason:
Sitemap 'demo' could not be found
Caused by:
org.openhab.ui.webapp.render.RenderException: Sitemap 'demo' could not be found
at org.openhab.ui.webapp.internal.servlet.WebAppServlet.service(WebAppServlet.java:134)
As far as i know I have installed the demo files into the correct folder(?)
BusyBox v1.16.1 (2014-01-20 02:29:16 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
DiskStation> cd /volume1/@appstore/OpenHAB
DiskStation> dir
drwxr-xr-x 9 openhab root 4096 Mar 11 23:28 .
drwxrwxrwx 21 root root 4096 Mar 11 23:29 ..
-rw-rw-r-- 1 openhab root 35147 Aug 31 2013 LICENSE.TXT
-rw-rw-r-- 1 openhab root 626 Aug 31 2013 README.TXT
lrwxrwxrwx 1 root root 30 Mar 11 23:25 addons -> /volume1/public/OpenHAB/addons
lrwxrwxrwx 1 root root 38 Mar 11 23:25 configurations -> /volume1/public/OpenHAB/configurations
drwxrwxr-x 2 openhab root 4096 Aug 31 2013 contexts
drwxrwxr-x 2 openhab root 4096 Aug 31 2013 etc
drwxr-xr-x 2 openhab users 4096 Mar 12 01:00 logs
drwxrwxrwx 6 openhab root 4096 Mar 11 23:25 server
drwxrwxr-x 2 openhab root 4096 Aug 31 2013 sounds
-rw-rw-r-- 1 openhab root 958 Aug 31 2013 start.bat
-rwxr-xr-x 1 openhab root 880 Aug 31 2013 start.sh
-rw-rw-r-- 1 openhab root 1107 Aug 31 2013 start_debug.bat
-rwxr-xr-x 1 openhab root 1043 Aug 31 2013 start_debug.sh
-rwxr-xr-x 1 openhab 65534 1132 Nov 17 15:09 start_debug_runtime.sh
-rwxr-xr-x 1 openhab 65534 930 Nov 17 16:19 start_runtime.sh
-rwxr-xr-x 1 openhab 65534 65 Nov 17 16:13 stop_runtime.sh
drwxrwxr-x 4 openhab root 4096 Mar 11 23:26 webapps
drwxr-xr-x 3 openhab users 4096 Mar 11 23:28 workspace
DiskStation> cd configurations
DiskStation> dir
drwxr-xr-x 7 openhab root 4096 Mar 11 22:05 .
drwxr-xr-x 4 1049 users 4096 Mar 11 22:01 ..
drwxr-xr-x 2 1049 users 4096 Mar 11 23:29 items
drwxr-xr-x 2 1049 users 4096 Mar 11 22:05 persistence
drwxr-xr-x 2 1049 users 4096 Mar 11 23:29 rules
drwxr-xr-x 2 1049 users 4096 Mar 11 23:29 scripts
drwxr-xr-x 2 1049 users 4096 Mar 11 23:29 sitemaps
DiskStation> pwd
/volume1/@appstore/OpenHAB/configurations
DiskStation> cd sitemaps
DiskStation> dir
drwxr-xr-x 2 1049 users 4096 Mar 11 23:29 .
drwxr-xr-x 7 openhab root 4096 Mar 11 22:05 ..
-rw-r--r-- 1 root root 1897 Mar 11 23:29 demo.sitemap
DiskStation>
Best regards
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/lrzcZDYI3Ug/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/d/optout.
On April 18 (2014) I installed the OpenHAB package on my Synology NAS213 as described on the website https://github.com/openhab/openhab/wiki/Hardware-FAQ. All went well.
On April 27 I updated the Synology DSM to version DSM 5.0-4482. As expected Java (Java SE Embedded 7) needed to be reinstalled. I deleted both Java and OpenHAB packages to be sure. Then I reinstalled Java; that was simply done. But the site “https://www.hofrichter.at/sspks/” as package source was deleted and could be added again. I got a message that the location was invalid. I try to find the package myself and found “OpenHAB-1.4.0-syno-noarch-0.002.tar”. After changing the file extension to ‘spk’ I could install OpenHAB. OpenHAB works again, but not exactly as it does on my PC (Windows 8.1). There are minor errors, e.g. a lot of “WARN o.a.cprDefaultBroadcaster[:500] – This message Entry{ …”
I ‘m not very experienced with OpenHAB or NAS packages. Maybe I did something wrong. First I would like to know why the hofrichter-site is marked illegal? Knowing the cause may solve the other problems.
Attached is an installable package of OpenHAB 1.3.1 for Synology NAS.
I have only tested it on DS213+ with java 7 from http://pcloadletter.co.uk/2011/08/23/java-package-for-synology/
In the Synology package manager you can
- install
- start
- stop
- uninstall
OpenHAB.
If the directory /volume1/public/OpenHAB/configurations exists, this directory will be used for all OpenHAB configuration files. This should make it easier to work with the OpenHAB designer installed on your PC.
If the directory /volume1/public/OpenHAB/addons exists, this directory will be used for all OpenHAB addons (bindings) files.
The UI is on port 8081, the console (via telnet) is on port 5555
Have fun!
Dear Dieter,
Thank you for the very quick responce.
I know now why I could not get the file as a package.
I already did just the things you suggested. As I said, it works, but not exactly the same as on the pc. I 'm not in a hurry. I wait until you solve the DSM problem and try it again. If there are still differences between pc snd nas I will tell you.
Anton Wedemeier
thank you for the bug report.
The "Synology package server" software at hofrichter.at does not support DSM 5.0-4482 at the moment. I'l try to find a solution for that.You can download the file(s) via https://www.hofrichter.at/sspks/index.php?fulllist=true too or download the file that is attached in one of my last posts here ;-)Have fun!
--
Hi All.
2014-05-19 22:29:20.069 DEBUG o.o.b.z.i.ZWaveActivator[:36]- Z-Wave binding has been started.
2014-05-19 22:29:20.097 INFO o.o.b.z.i.ZWaveActiveBinding[:198]- Update config, port = /dev/ttyUSB0
2014-05-19 22:29:20.100 DEBUG o.o.b.z.i.ZWaveActiveBinding[:84]- Zwave Network isn't ready yet!
2014-05-19 22:29:20.150 INFO o.o.b.z.i.p.ZWaveController[:109]- Starting Z-Wave controller
2014-05-19 22:29:20.151 INFO o.o.b.z.i.p.ZWaveController[:765]- Connecting to serial port /dev/ttyUSB0
2014-05-19 22:29:20.293 ERROR o.o.b.z.i.p.ZWaveController[:780]- Port /dev/ttyUSB0 does not exist
Thanks and Regards Allen.
.....dmsg says cp210x converter now attached to ttyUSB0 but OpenHAB says /dev/ttyUSB0 doesn't exist. Any ideas please?
Thanks and Regards Allen.
--
I hope it helpsecho Launching the openHAB runtime...PROGRAM="java -Dosgi.clean=true -DlibNRJavaSerial.userlib=/lib/libNRJavaSerialv5.so -Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB0 -Declipse.ignoreApp=true -Dosgi.noShutdown=true -Djetty.port=${HTTP_PORT} -Djetty.port.ssl=${HTTPS_PORT} -Djetty.home=. -Dlogback.configurationFile=configurations/logback.xml -Dfelix.fileinstall.dir=addons -Djava.library.path=lib -Djava.security.auth.login.config=./etc/login.conf -Dorg.quartz.properties=./etc/quartz.properties -Djava.awt.headless=true -jar $cp $* -console ${TELNET_PORT}"$PROGRAM > logs/openhab.stdout &
Thankyou for the suggestion.
Where do I find the start_runtime.sh file? I am assuming it is in the linux folder structure somewhere and not in the volume1\public\OpenHAB folder structure with my configuration files.
Regards Allen
--
Hi Tim.
I restored the original start_runtime.sh and ran it from a putty ssh session. It ran and the Z-wave works. I was able to switch a device on and off. I believe it is now using the native RXTX and not the java one as Pierre required for his ARM model?
When I tried the ps |grep “java” I got a list of many items with different IDs so I didn’t know which one(s) to kill.
Instead I exited the ssh session and restarted the NAS. When I tried to run OpenHAB from the package centre it starts and after a few seconds it stops again. I have had to uninstall and reinstall it.
Now it doesn’t seem to be logging to the location I have set in volume1\public\OpenHAB\configurations\logback.xml Not sure why.
I certainly looks like running OpenHAB as root got the Zwave working. I have previously tried changing the group owner of \dev\ttyUSB0 and adding OpenHAB to that group and also tried changing permissions for \dev\ttyUSB0 to 777 but it didn’t help.
Obviously it is not a good idea to manually run OpenHAB as root. Do you have any idea what I need to do to give OpenHAB permissions to \dev\ttyUSB0 and the serial driver (probably the native rx/tx driver)?
Regards Allen.
From: der.ti...@gmail.com [mailto:der.ti...@gmail.com]
Sent: Friday, 30 May 2014 1:28 a.m.
To: ope...@googlegroups.com
Cc: weiyo...@gmail.com; allen...@gmail.com
Subject: Re: OpenHAB package for Synology Diskstations
Hello Allen, could you trace it down to the Java lib already or could it still be a permission issue?
Awesome Tim. I’ll try it tomorrow. It’s getting late now.
What is the harm in leaving the user ID unchanged and always running OpenHAB as root? What syntax would I need and where/what are the best files to run the start_runtime.sh and stop_runtime.sh when the NAS boots and shuts down?
I have previously created the groups dialout and uucp and added OpenHAB user to the groups. I changed the ownership but at the time it didn’t help. Also found as you have said the ownership change didn’t survive a reboot.
I haven’t tried changing the OpenHAB user ID.
What do you mean by the last paragraph “After doing that I rendered the start stop function useless…..”?
Do you mean that changing the user ID broke the ability to start and stop OpenHAB with the Package manager? How do you start and stop OpenHAB when the Synology boots and shutsdown?
I’m afraid I’m not very familiar with Linux.
I’ll let you know how I get on.
Many thanks,
Allen.
From: der.ti...@gmail.com [mailto:der.ti...@gmail.com]
Sent: Friday, 30 May 2014 10:26 p.m.
To: ope...@googlegroups.com
Cc: weiyo...@gmail.com; allen...@gmail.com; der.ti...@gmail.com; allen...@gmail.com
Subject: Re: OpenHAB package for Synology Diskstations
Hi Allen
Hi.
I made the chmod additions to the s99modules.sh and also changed the openhab user ID to 130 and dialout and uucp group IDs to 800 & 801.
After rebooting I can no longer log in with ssh or telnet using putty.
After entering the admin password (as usual) I get a message “:No such file or directory” then the session closes.
I am still able to log in to the NAS DSM page with my admin password. and the normal NAS functions seem to be working still.
The only entries I changed in the passwd and group files were openhab, dialout and uucp.
I see at the top of the group file there is a reference to 65537 which was the ID for the uucp group. Have I broken something by changing the uucp group ID?
How can I put the original files back if I can’t get a session established?
passwd
------------------------------------
root:x:0:0:root:/root:/bin/ash
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
ftp:x:21:21:Anonymous FTP User:/nonexist:/sbin/nologin
anonymous:x:21:21:Anonymous FTP User:/nonexist:/sbin/nologin
smmsp:x:25:25:Sendmail Submission User:/var/spool/clientmqueue:/sbin/nologin
postfix:x:125:125:Postfix User:/nonexist:/sbin/nologin
dovecot:x:143:143:Dovecot User:/nonexist:/sbin/nologin
spamfilter:x:783:1023:Spamassassin User:/var/spool/postfix:/sbin/nologin
nobody:x:1023:1023:nobody:/home:/sbin/nologin
admin:x:1024:100:System default user:/var/services/homes/admin:/bin/sh
guest:x:1025:100:Guest:/var/services/homes/guest:/bin/sh
Webuser:x:1028:100::/var/services/homes/Webuser:/sbin/nologin
NASadmin:x:1029:100::/var/services/homes/NASadmin:/sbin/nologin
Surveillance:x:1030:100:Surveillance only:/var/services/homes/Surveillance:/sbin/nologin
openremote:x:1042:100:OpenRemote daemon user:/var/services/homes/openremote:/bin/csh
openhab:x:130:100:OpenHAB daemon user:/var/services/homes/openhab:/bin/csh
updated group file
----------------------------
#$_@GID__INDEX@_$65537$
root:x:0:
lp:x:7:lp
ftp:x:21:ftp
smmsp:x:25:admin,smmsp
users:x:100:
administrators:x:101:NASadmin,admin
postfix:x:125:postfix
maildrop:x:126:
dovecot:x:143:dovecot
nobody:x:1023:
dialout:x:800:openhab,NASadmin,admin
uucp:x:801:openhab,NASadmin,admin
original group file
-------------------
#$_@GID__INDEX@_$65537$
root:x:0:
lp:x:7:lp
ftp:x:21:ftp
smmsp:x:25:admin,smmsp
users:x:100:
administrators:x:101:NASadmin,admin
postfix:x:125:postfix
maildrop:x:126:
dovecot:x:143:dovecot
nobody:x:1023:
dialout:x:65536:openhab,NASadmin,admin
uucp:x:65537:openhab,NASadmin,admin
Any ideas?
Regards Allen.
I found a package online called config file editer. Here http://www.mertymade.com/syno/#all
After adding the file locations for the passwd and group files I was able to edit them and restore them to their original state. I can now login to via ssh with root again. Phew!
I’m not sure what I did wrong in changing the IDs. I suspect it has to do with the “#$_@GID__INDEX@_$65537$” in the group file. The original group file had 65537 as the uucp ID
Original group file
--------------------------------
#$_@GID__INDEX@_$65537$
root:x:0:
lp:x:7:lp
ftp:x:21:ftp
smmsp:x:25:admin,smmsp
users:x:100:
administrators:x:101:NASadmin,admin
postfix:x:125:postfix
maildrop:x:126:
dovecot:x:143:dovecot
nobody:x:1023:
dialout:x:65536:openhab,NASadmin,admin
uucp:x:65537:openhab,NASadmin,admin
Where to from here?
I’ll try changing only the openhab user and see what happens.
Sent: Saturday, 31 May 2014 12:41 a.m.
To: ope...@googlegroups.com
Cc: der.ti...@gmail.com; weiyo...@gmail.com; allen...@gmail.com; allen....@gmail.com
Hi again Tim,
I’ve tried again to change the openhab user ID on it’s own and also the group IDs again. I previously had an admin level account as a member of the two groups as well as openhab. After doing this and rebooting I can still get root access via ssh
I still can’t get it to work.
I notice that the ownership changes I am making to /dev/ttyUSB0 and /var/lock in the S99Modules aren’t working. I have tried it from the shell but openHAB is still not seeing the USB.
I have edited /usr/syno/etc/rc.d/S99Modules.sh Is this the correct location? I believe user scripts are supposed to be in /usr/local/etc/rc.d but there are no script files in here. Should I create one?
When you get back to your NAS I would appreciate the S99Modules.sh you are using and the location.
Another thing I’m not sure if I’ve got right is changing ownership of the openhab package after I have changed the user ID.
Your previously said “The downside on changing the id is you have to change ownership (chown -R :openhab *) again for the whole package installation in /var/packages/openhab/target/….
The path is /var/packages/OpenHAB/target. Your example “chown –R :openhab *” is trying to change the group. I assume you meant “chown –R openhab *”?
I have changed directory and executed this from /var/packages/OpenHAB/target. Should I be running it from the OpenHAB level rather than target?
Anyway, after doing all this OpenHAB still starts and stops from the package manager but still can’t operate a zwave device and doesn’t produce any logs to my volume1/public/logs folder so I’m still missing something or doing something wrong.
Sorry to be a pain but this should work.
I’m wondering if Dieter Hofrichter who created the Synology package can make modifications to the package installer so that these sorts of tweeks are not required.
This is very frustrating as I seem to be very close.
Regards Allen.
Sent: Saturday, 31 May 2014 12:41 a.m.
To: ope...@googlegroups.com
Cc: der.ti...@gmail.com; weiyo...@gmail.com; allen...@gmail.com; allen....@gmail.com
Rather than clogging up this thread and more, I’ll take the conversation with Tim offline if that’s OK Tim?
I can post the solution when we get there.
Attached and on the synology package server https://www.hofrichter.at/sspks is an installable package of OpenHAB 1.5.0 and of the OpenHAB demo setup for Synology NAS
--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/d/optout.
<OpenHAB-1.5.0-syno-noarch-0.001.spk><OpenHAB-demo-configurations-1.5.0-syno-noauth-0.001.spk>
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/lrzcZDYI3Ug/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
Hello Joe,it seems like the opposite is the case. The user and group created visibly in the users and groups Synology interface didn't work. After changing the user id in etc/passwd to a number below 1024 ( i tried 130 for the user and 800-801 for the groups) it started working. A nice side effect is, that there are no technical users/groups in the Synology User Management UI.Maybe Synology changed something in their rights-management, but I can't tell, it's just my best guess. Regardless of that I reused the user created by the installation-script within the package. So if you want to dig for the reason, this might be a starting point.Anyways, thank's a lot for the work and time you invested in the instructions you wrote, couldn't have done it without it.cheers,Tim
Am Sonntag, 9. März 2014 04:45:33 UTC+1 schrieb joe...@gmail.com:I authored the OpenRemote/ZWave instructions. The "group" part does work. When you create a service account for OpenHAB, you must put the user within the group USING THE SYNOLOGY USER INTERFACE. When you create the groups (dialup and uucp) within the Synology group management UI, and add the user openhab to these groups within the UI, it will work.Regards,Joe
On Sunday, February 23, 2014 6:50:32 PM UTC-5, der.ti...@gmail.com wrote:Hi Dieter, Hi folks,thanks a lot for your package! I felt free and updated the package to the current version 1.4.0. Well more or less the quick and dirty way.The automatic download is not working anymore. I guess it's because of the redirection github does, when clicking the download link. (Actually the binaries are saved somewhere in amazons cloud)Anyway, if you put the binaries in your Disk Stations public folder everything works fine. I'd be happy to provide the new package to anyone if Dieter is fine with it. @Dieter: Just let me know ;)Also I'd like to share some drivers (cp210x.ko=ZStick, pl2303.ko=just in case) necessary to use the ZWave add on with your DS. They are for DSM 4.3 (Kernel 3.2.40) DS 214+ Armada XP (http://ge.tt/6pYM8qK1/v/0?c). Just put them in /lib/modules/ and follow these instructions http://www.openremote.org/display/docs/OpenRemote+2.0+How+To+-+Synology+with+Z-Wave to load them.But you can skip the "group" part - it's not working. Putting the "openhab"-user into the admin group is working neither.Maybe someone got a hint on how to run OpenHAB with the newly created openhab user AND have access to /dev/ttyUSB0 ?If you start OpenHAB with root rights (manually from terminal) everything works fine, if you start it from package manager it starts up but can't see /dev/ttyUSB0. I don't want to run it with so many rights just for that.
Attached is an installable package of OpenHAB 1.3.1 for Synology NAS.
I have only tested it on DS213+ with java 7 from http://pcloadletter.co.uk/2011/08/23/java-package-for-synology/
In the Synology package manager you can
- install
- start
- stop
- uninstall
OpenHAB.
If the directory /volume1/public/OpenHAB/configurations exists, this directory will be used for all OpenHAB configuration files. This should make it easier to work with the OpenHAB designer installed on your PC.
If the directory /volume1/public/OpenHAB/addons exists, this directory will be used for all OpenHAB addons (bindings) files.
The UI is on port 8081, the console (via telnet) is on port 5555
Have fun!