Coder Social home page Coder Social logo

Comments (11)

cniweb avatar cniweb commented on May 30, 2024

Hi @gorzan14,

I think this is the problem:
7d14f4a
You a familiar?

Chris

from openhab-syno-spk.

gorzan14 avatar gorzan14 commented on May 30, 2024

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.

gorzan14 avatar gorzan14 commented on May 30, 2024

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.

cniweb avatar cniweb commented on May 30, 2024

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.

gorzan14 avatar gorzan14 commented on May 30, 2024

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.

cniweb avatar cniweb commented on May 30, 2024

OK, but on DSM 4.x no synotztable.json File exist!

from openhab-syno-spk.

gorzan14 avatar gorzan14 commented on May 30, 2024

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.

cniweb avatar cniweb commented on May 30, 2024

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.

gorzan14 avatar gorzan14 commented on May 30, 2024

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.

cniweb avatar cniweb commented on May 30, 2024

Great, can I close this Issue?

from openhab-syno-spk.

gorzan14 avatar gorzan14 commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.