eclipse-archived / smarthome

Eclipse SmartHome™ project
https://www.eclipse.org/smarthome/
Eclipse Public License 2.0
861 stars 787 forks source link

[Astro] Events missing because of docker update by watchtower #6901

Open tosate opened 5 years ago

tosate commented 5 years ago

Hi there,

I have some astro items defined for opening and closing my rollershutters. Everything works perfectly except for opening the rollershutters on Wednesday morning.

My openhab 2 instance runs in a docker container which is updated by watchtower every Tuesday afternoon at 2pm. After the docker container has been updated, everything continues to work. Even the events on Tuesday evening are triggered to close the rollershutters. However, every Wednesday morning, the event to open up the rollershutters does not trigger.

I think this has something to do with the way how and when the astro binding is scheduling the events. I have already found a similar post where someone suggests to touch the astro item file with a cronjob to force the astro binding to reschedule the events.

I will certainly try this suggestion, but I am looking for a way that does not depend on another external cronjob. If I have to reinstall my setup, I am pretty sure that I would forget setting up this cronjob.

Cheers, tosate