I have a rule that monitors the energy consumption of my dryer, and notifies me when the device is done.
This has worked perfectly for over a year, but is now giving errors:
I'm not sure if anything has change but I think it's a good time to rewrite your rule to simplify it.
Required Expression:
Private Boolean is true
Trigger Events:
Power level of Droger reports >= 10.0 and stays that way for: 0:01:00
Actions to Run:
Set PB to false
Speak on ... 'Droger is gestart'
Wait for event: Power level of Droger reports <= 3.0 and stays that way for: 0:03:00
Speak on ... 'Droger is klaar'
Set PB to true
Feels like we could sit here and speculate on which part of your RM rule is producing the error, but @bravenel or one of the other dev's could likely tell us at least what is being called on line 9464, which could help narrow down the search for what you need to look at.
Turn on Action logging, and capture the log from the app with a screenshot. It could be a driver issue, but not enough information to go on. What driver is in use for "Droger"?
Hmm, again the errors came back, but this time a reboot did not solve the issue.
I tried the rule like @pseudonym stated, but that turns on the notification, and never ends the routine.
I wasn't thinking so much about it not reporting, more if there was a pattern of events that somehow meant the rule would cancel the wait, or something similar.
Would need to see these interleaved with the rule logs to be sure...
To debug this rule I would create a Virtual Omni sensor to simulate the power of your dryer. Turn on logging for it, add it as a trigger, and replace it for the Droger in the Wait for event. You can then set different power levels and see how the rule responds.
I'll note that you didn't add the suggested Required Expression. You have a local variable Droger loopt but I don't believe a local variable will work in a RE. Either make it a Hub variable or use the rule's Private Boolean instead.
The result is that the rule never gets triggered.
The socket is using power now (dryer is running) but the rule is not getting triggered because of the required condition is false.
With the dryer running you could also use Run Actions of the rule but don't hit Update Rule or Done. Go to something like the Logs page. The rule will run and the PB will get set correctly.