- Platform information:
- Hardware: ARM/1GB
- OS: Raspbian GNU/Linux 11 (bullseye)
- Java Runtime openjdk 11.0.16 2022-07-19
- 3.4.0.M3
First of all: There are many ephermeris specific topic (most of them are for OpenHab 2.x) - i read them all but nothings works. Maybe i’m to supid.
What i what to do is quite simple: I want to create some holiday specific rules.
So i configured OpenHab like this:
This configuration is written in /var/lib/openhab/config/org/openhab/ephemeris.config and looks like this:
:org.apache.felix.configadmin.revision:=L"7"
country="de"
dayset-school="\"\"\"\"\"\"(\ \"MONDAY\",\ \"TUESDAY\",\ \"WEDNESDAY\",\ \"THURSDAY\",\ \"FRIDAY\",\ )\"\"\"\"\"\""
dayset-trash=( \
"MONDAY", \
)
dayset-weekend=( \
"SATURDAY", \
"SUNDAY", \
)
dayset-workday=( \
"MONDAY", \
"TUESDAY", \
"WEDNESDAY", \
"THURSDAY", \
"FRIDAY", \
)
felix.fileinstall.filename="file:/var/lib/openhab/etc/org.openhab.ephemeris.cfg"
region="sn"
service.bundleLocation="?"
service.pid="org.openhab.ephemeris"
My test rule is also quite simple:
This works for October 3, 2022 - Day of German unity:
==> /var/log/openhab/openhab.log <==
2022-10-31 11:00:07.899 [ERROR] [org.openhab.rule.6e2fb0dab0 ] - UNIFICATION_GERMANY
Today is October 31. 2022 - Reformation Day in some regions in germany - and it doesn’t work for this day.
So the first question is: Do i need to store a specific file for my region? If so: Why the October 3 is recognised?
I’ve read this ephemeris-help
The second question is: What are the correct files or file location where i have to configure ephemeris? What is the differents between /var/lib/openhab/config/org/openhab/ephemeris.config and /etc/openhab/services/ephemeris.config.
Sorry for this stupid questions but i’m at my wit’s end.