# Time-based rules not working on 5.0.1

**URL:** <https://community.openhab.org/t/time-based-rules-not-working-on-5-0-1/166409>\
**Category:** Beginners\
**Tags:** rules, openhab-5\
**Created:** [September 22, 2025, 6:19pm UTC](https://community.openhab.org/t/time-based-rules-not-working-on-5-0-1/166409 "2025-09-22T18:19:50Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [June 22, 2026, 11:51pm UTC](https://community.openhab.org/t/time-based-rules-not-working-on-5-0-1/166409/18 "2026-06-22T23:51:11Z")

</div>

```
sudo nano /etc/default/openhab

```

Replace “nano” with your preferred text editor.

Since this was posted I think we found the culprit. If you did not edit /boot/openhabian.conf before the first time you booted as the instructions describe, you didn’t set the timezones for openHABian. Consequently the default timezones was used. And that file gets copied to /etc/openhabian.conf. Every time openhabian-config runs it resets everything based on /etc/openhabian.conf.

To prevent/etc/default/openHAB from being changed in the future, set the timezone in /etc/openhabian.conf too.

---

_[View the full topic](https://community.openhab.org/t/time-based-rules-not-working-on-5-0-1/166409)._
