I just did a check via the UI and set checkmark for Sunday to be Weekend only.
In a rule I check todays date for weekend. Afterwards I changed Weekend to be on Saturday, Sunday.
The result is:
2021-03-27 10:56:50.777 [WARN ] [org.openhab.core.model.script.Rules ] - false
2021-03-27 10:57:00.787 [WARN ] [org.openhab.core.model.script.Rules ] - true
Thanks for your good ideas. There are always different ways to do something, but the existing problem is not solved.
There is an ephemeris action that does not work properly in OH3 (In my opinion)
The presets in the Main UI are deleted/changed after a restart, and the ephermeris.cfg does not work.
Do you see any log entry when starting the system referring to ephemeris?
Did you file an isssue report on github in order to make your observation known to the maintainers?
There is no log entry. I changed to log:set TRACE org.openhab.core.ephemeris and there is still no log entry.
Before reboot /var/lib/openhab/config/org/openhab/ephemeris.config is looking like this:
:org.apache.felix.configadmin.revision:=L"28"
country=“de”
dayset-school=(
“MONDAY”,
“TUESDAY”,
“WEDNESDAY”,
“THURSDAY”,
“FRIDAY”,
)
dayset-weekend=(
“SUNDAY”,
)
dayset-workday=“Monday,Tuesday,Wednesday,Thursday,Friday,Saturday”
region=“nw”
service.pid=“org.openhab.ephemeris”
After reboot there is no entry for Weekend Days in the Main UI and ephemeris.config changed to:
:org.apache.felix.configadmin.revision:=L"30"
country=“de”
dayset-school=(
“MONDAY”,
“TUESDAY”,
“WEDNESDAY”,
“THURSDAY”,
“FRIDAY”,
)
dayset-weekend=“Sunday”
dayset-workday=“Monday,Tuesday,Wednesday,Thursday,Friday,Saturday”
region=“nw”
service.pid=“org.openhab.ephemeris”
The dayset-weekend part changed.
File /etc/openhab/services/ephemeris.cfg is not changing
country=de
dayset-workday=Monday,Tuesday,Wednesday,Thursday,Friday,Saturday
dayset-weekend=Sunday