Comments (26)
https://community.openhab.org/t/synology-diskstation/1446/24
You can edit the start_runtime.sh to fix this.
from openhab-syno-spk.
Thank you very much, Mark! Did work well.
Is it a Bug at the installscript or at the synology System?
Von meinem iPad gesendet
Am 26.01.2016 um 23:39 schrieb Mark Lavercombe [email protected]:
https://community.openhab.org/t/synology-diskstation/1446/24
You can edit the start_runtime.sh to fix this.
—
Reply to this email directly or view it on GitHub.
from openhab-syno-spk.
@gorzan14
Hi, I'm glad it helped.
I truly don't understand why the timezone preference in synology isn't replicated in openhab, as I don't understand linux servers all that well.
I just did lots of googling and eventually found something that helped me :)
from openhab-syno-spk.
Should I make this adjustment in start_runtime.sh script?
from openhab-syno-spk.
it would be a good idea to have it automatically set right after the install
process.
I could test it.
p.s. other issue: do you think it could be an option to put the logs subfolder
to the public folder when it exists like configurations? So when working remote
on the configfiles one could see the openhab.stdout without ssh? maybe with tail
-F public/logs/openhab.stdout?
Christian Häussler [email protected] hat am 28. Januar 2016 um 09:11
geschrieben:Should I make this adjustment in start_runtime.sh script? — Reply to this email directly or view it on GitHub
from openhab-syno-spk.
Maybe the Bug is in the openhab-syno-spk
https://github.com/cniweb/openhab-syno-spk /scripts
https://github.com/cniweb/openhab-syno-spk/tree/master/scripts
/start-stop-status.sh line 24
grep "^${SYNO_TZ}" /usr/share/zoneinfo/Timezone/tzname
/usr/share/zoneinfo/Timezone/tzname does not exist!
there exists a File /usr/share/zoneinfo/Timezone/tzlist
Maybe they changed it in the new DSM?
Christian Häussler [email protected] hat am 28. Januar 2016 um 09:11
geschrieben:Should I make this adjustment in start_runtime.sh script? — Reply to this email directly or view it on GitHub
from openhab-syno-spk.
@gorzan14 can you test it and send me your patched start-stop-status.sh?
Thanks
from openhab-syno-spk.
@cniweb
Im not that familiar with shell scripts. But i could try to change this file name.
Where is this script located. I can't find it
from openhab-syno-spk.
found it and testing
from openhab-syno-spk.
@cniweb
It works after changing tzname to tzlist at the start-stop-status.sh
on my system: DS213j with DSM 5.2-5644 Update 3
I tested it two times. With changing back to the wrong filename i got the wrong time in OpenHAB
from openhab-syno-spk.
Thanks!
I update in line 24 on the file https://github.com/cniweb/openhab-syno-spk/blob/master/scripts/start-stop-status.sh#L24
OK?
from openhab-syno-spk.
@cniweb
Yes. This is the right line.
Do you think on other DS types or DSM versions there could be the other file name? So some one else gets a problem?
from openhab-syno-spk.
I can test it on a DS101j (DSM 2.0), DS209 (DSM 4.2) and DS214play (DSM 5.2)!
from openhab-syno-spk.
Should be enough! :-)
from openhab-syno-spk.
I have add a new prerelease:
https://github.com/cniweb/openhab-syno-spk/releases/tag/1.8.0.002
Please try, but do not test with DSM 6.0!
from openhab-syno-spk.
@gorzan14 Could you try the package already?
from openhab-syno-spk.
@cniweb
today I could try it. It works fine with right timezone.
thanks.
from openhab-syno-spk.
OK, I am aware it for the 1.8.1 release.
Can I close this Issue?
from openhab-syno-spk.
Yes, close it.
Von meinem iPhone gesendet
Am 05.02.2016 um 14:05 schrieb Christian Häussler [email protected]:
OK, I am aware it for the 1.8.1 release.
Can I close this Issue?—
Reply to this email directly or view it on GitHub.
from openhab-syno-spk.
Hi guys, thx for all the good work.
In line with what I think to read in this discussion, I added the parameter -Duser.timezone=Europe/Amsterdam to the java line in the file /start_runtime.sh and restarted, unfortunately the time in OpenHAB log still lags 1 hour. The time in the SSH terminal is OK. Any suggestions on what could be the case?
I'm using a Synology with DSM 5.2-5967 Update 1, Java 1.8.0-91 headless and Openhab vs 1.8.2 with zwave.
Thanks
from openhab-syno-spk.
Please post your /start_runtime.sh
Did you stop and start with the Button at the Package Management gui of your DSM? I discovered once Problems restarting in Command line using the sh Script.
Von meinem iPhone gesendet
Am 30.05.2016 um 13:42 schrieb LeoVe [email protected]:
Hi guys, thx for all the good work.
In line with what I think to read in this discussion, I added the parameter -Duser.timezone=Europe/Amsterdam to the java line in the file /start_runtime.sh and restarted, unfortunately the time in OpenHAB log still lags 1 hour. The time in the SSH terminal is OK. Any suggestions on what could be the case?
I'm using a Synology with DSM 5.2-5967 Update 1, Java 1.8.0-91 headless and Openhab vs 1.8.2 with zwave.
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
from openhab-syno-spk.
Thx gorzan14.
I always use the DSM package manager for starting and stopping.
The sh file as it is now (it includes a few statement for the usb zwave stick) is in the next comment.
from openhab-syno-spk.
Well it seems a bit deformed, maybe this is better:
start_runtime.sh.txt
I think you set me on the right track gorzan, I think I did add the parameter a too far to the end of the line...
from openhab-syno-spk.
Wow, done gorzan14 :-) !
Moved the -D parameter a bit to the left in the commandline and the time is OK, thx !
from openhab-syno-spk.
Ok. Fine. It works!
But up to now i don't unterstand why After the Patch above the automatic Finding of Timezone dös not Work with the Package from here?
Von meinem iPhone gesendet
Am 30.05.2016 um 19:18 schrieb LeoVe [email protected]:
Wow, done gorzan14 :-) !
Moved the -D parameter a bit to the left in the commandline and the time is OK, thx !—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
from openhab-syno-spk.
Prob because it's an installation from March ?
Met vriendelijke groet,
Leo Verkaik
Verkaik Advies
Hindeloopenstraat 2
6835 KZ Arnhem
Web www.VerkaikAdvies.nl http://www.verkaikadvies.nl
Tel. 026 3274264
Mob. 0618 882560
Fax 026 3274781
Op 30 mei 2016 om 20:58 heeft gorzan14 <[email protected] mailto:[email protected] > het volgende geschreven:
Ok. Fine. It works!
But up to now i don't unterstand why After the Patch above the automatic Finding of Timezone dös not Work with the Package from here?
Von meinem iPhone gesendet
Am 30.05.2016 um 19:18 schrieb LeoVe <[email protected] mailto:[email protected] >:
Wow, done gorzan14 :-) !
Moved the -D parameter a bit to the left in the commandline and the time is OK, thx !—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
from openhab-syno-spk.
Related Issues (20)
- Error when install package HOT 7
- Enable usage of multiple network interfaces
- Local Computer Systeminfo error
- Clear cache
- 2.5.2.000 installed but won't start after upgrade from 2.4.0.002 HOT 1
- DSM 7: Clean up packaging files and make it conform with Synology guidelines HOT 19
- Installation suceeds, package service can't be started - 3.0 Snapshot HOT 5
- SPK package for 3.00 HOT 14
- adding to https://synocommunity.com/packages
- openhab3 for older Synology NAS HOT 5
- Linked jdk is not arm32
- Bintray isn't available anymore HOT 5
- Move out the API URL into separate configuration file HOT 1
- What Java package on DSM7 for OpenHAB SPK?
- DSM 7 does not accept .spk
- Frustration about the openHAB installation on Synology NAS HOT 5
- 3.0 missing sdk HOT 2
- There was a problem downloading openhab-2.5.2.zip from the download link HOT 1
- There was a problem downloading openhab-.zip from the download link (3.0.0) HOT 4
- DepShield Deprecation Notice
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhab-syno-spk.