Hi - same issue here:
All rules, which are triggered by events, such as “Item hanged” run fine, thoose which are triggered by Cron have sometimes issues and stop working. A fix is in my case a reboot of the system (which is for sure not a solution).
- My platform is a RaspberryPi with the latest version of Openhabian on it
The rules, which are stopping are super simple, as this one:
import java.util.Locale
rule "Delegate Temp - Sensor_Lowerdeck_Livingroom_Temp"
when
Item Sensor_Lowerdeck_Livingroom_Temp changed or Time cron "0 0/1 * * * ? *"
then
var Number temp = ((Sensor_Lowerdeck_Livingroom_Temp.state) as DecimalType).floatValue
var Number vCount = (Controme_Write_Counter.state as Number)+1
executeCommandLine("curl -X GET http://192.168.10.233/set/28_FF_11_12_03_E2_66_16/"+String.format(Locale.ROOT,"%.2f/", temp))
postUpdate(Controme_Write_Counter, vCount)
logInfo ("Controme Sensor_Lowerdeck_Livingroom", "Controme Sensor updated Sensor_Lowerdeck_Livingroom_Temp "+String.format(Locale.ROOT,"%.2f/", temp)+"Count"+vCount)
end
(I included now a counter in the rule in order to see, when it stopped…)
Overall a mystery - the log files do not show anything suspicious and other rules keep on working…
There have been others, which had similar issues cron-triggers-for-rules-not-working or Rules stop processing and a general discussion about a Cron Scheduler Replacement seems to be going on. Looking back on my recent experiences - a change would be good.