Comments (11)
Hi @gorzan14,
I think this is the problem:
7d14f4a
You a familiar?
Chris
from openhab-syno-spk.
Hi Chris
In DSM 6 the file tzname is not there.
And as far I remember the DSM5 Version of tzlist has changed. In line 23 the city of timezone in my case „Amsterdam“ is saved to SYNO_TZ. In line 24 tzlist was searched for Amsterdam to get the correct java compatible timezone „Europe/Amsterdam“. But this info isn’t any more in tzlist. There ist just the word Amsterdam.
Can you have a look to your DSM 5.. Is there the correct Timezone „Europe/Amsterdam“ in tzlist? If so. This is the problem.
The full Timezone names are now in synotztable.json. But in an other Structure. Could send you the file. But I am not abel to change the sed command to copy the full timezonestring.
Konrad
Am 02.06.2016 um 22:57 schrieb Christian Häussler [email protected]:
Hi @gorzan14 https://github.com/gorzan14,
I think this is the problem:
7d14f4a 7d14f4a
You a familiar?Chris
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub #25 (comment), or mute the thread https://github.com/notifications/unsubscribe/AQH76Y5m3D8B3KcZBfAEHMT3_VU52TZrks5qH0O8gaJpZM4IqCuN.
from openhab-syno-spk.
Hi Chris,
If really the missing „Europe“ ist the problem we ca solve it for „all continents“ with this command line command:
cat /usr/share/zoneinfo/Timezone/synotztable.json | jq -r '.Amsterdam.nameInTZDB‘
in the scrip line 24 it should look something like:
SYNO_TZ='cat /usr/share/zoneinfo/Timezone/synotztable.json | jq -r ".${SYNO_TZ}.nameInTZDB“'
But I need to see the old tzlist file.
I can’t find the start-stop-status.sh again. Can you tell me where I can find it to test?
Konrad
Am 02.06.2016 um 22:57 schrieb Christian Häussler [email protected]:
Hi @gorzan14 https://github.com/gorzan14,
I think this is the problem:
7d14f4a 7d14f4a
You a familiar?Chris
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub #25 (comment), or mute the thread https://github.com/notifications/unsubscribe/AQH76Y5m3D8B3KcZBfAEHMT3_VU52TZrks5qH0O8gaJpZM4IqCuN.
from openhab-syno-spk.
Hi Konrad,
You can find the start-stop-status.sh
script in /volume1/@appstore/OpenHAB
on your DiskStation.
I think the timezone problem is depends on the DSM Version, or?
In DSM 4/5 and DSM 6 is a different way to get the correct timezone.
Her is a post from @Veance, I think this is the right way:
https://community.openhab.org/t/synology-diskstation/1446/77?u=cniweb
What do you mean?
Chris
from openhab-syno-spk.
Yes definitly!
He takes the same string out of the same file as I discovered. See my post above.
Take the line from his sctipt.
fix for DST time in DSM 5.2 thanks to MinimServer Syno package author
[ -e /usr/share/zoneinfo/Timezone/synotztable.json ] \
&& SYNO_TZ=jq ".${SYNO_TZ} | .nameInTZDB" /usr/share/zoneinfo/Timezone/synotztable.json | sed -e "s/\"//g"\
|| SYNO_TZ=grep "^${SYNO_TZ}" /usr/share/zoneinfo/Timezone/tzname | sed -e "s/^.*= //"
Seems it is tested with the start-stop script. I tested my command just partialy on command line.
Thanks and greets Konrad
from openhab-syno-spk.
OK, but on DSM 4.x no synotztable.json File exist!
from openhab-syno-spk.
Maybe. WE are Talking about the DSM 6.0 Branch of Syno-Spk! Don,t change it for version 5.2 or less the old Script worked Fine on 5.2.
Von meinem iPhone gesendet
Am 05.06.2016 um 21:13 schrieb Christian Häussler [email protected]:
OK, but on DSM 4.x no synotztable.json File exist!
—
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.
Hi @gorzan14,
I draft a new release: https://github.com/openhab/openhab-syno-spk/releases/tag/1.8.3-DSM6
Try it, please!
Thanks,
Chris
from openhab-syno-spk.
Thank you!!!
Install without Problems. Timezone now korrekt on DSM 6.0.
Von meinem iPhone gesendet
Am 06.06.2016 um 22:12 schrieb Christian Häussler [email protected]:
Hi @gorzan14,
I draft a new release: https://github.com/openhab/openhab-syno-spk/releases/tag/1.8.3-DSM6
Try it, please!Thanks,
Chris—
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.
Great, can I close this Issue?
from openhab-syno-spk.
Yes!
Thanks!
Christian Häussler [email protected] hat am 8. Juni 2016 um 20:11 geschrieben:
Great, can I close this Issue? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openhab/openhab-syno-spk/issues/25#issuecomment-224679213 , or mute the thread https://github.com/notifications/unsubscribe/AQH76RN6G0OUIr-tQiVpm6YXhPSF5B_lks5qJwW0gaJpZM4IqCuN .
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.