I have a time-based Holiday rule that worked last year (as far as I remember)
rule "Patio Lights on" when Time cron "0 18 19 * DEC,JAN ?" then logError("Holiday.rules", "time for lights on!") sendCommand(PatioLights, ON) sendCommand(PostLightHoliday, ON) sendCommand(SidewalkHoliday, ON) sendCommand(GarageHolidayLights, ON) end
When I edit the .rules file, I get a message in openhab.log that suggest the update is recoginized:
2017-11-26 19:16:56.172 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Holiday.rules' 2017-11-26 19:16:56.196 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'Holiday.rules'
but I never get any suggestion that the rule actually fires. I added logError (and have been adjusting the time as I test), but I’m stuck where to look next. I don’t remember when I upgrade from OH 1 to 2, it may have been after last season.
Other rules, based on commands and item updates, work as expected.
Openhab 2.0.0 build #679 (via Docker) on Fedora 24 on Intel hardware (CPU0: Intel® Core™ i7-6500U CPU @ 2.50GHz)