Weird bug

So i have this sprinkle rule and today it failed to turn off "backyard 2" because , somehow, the delay was set much higher it was supposed to.
So my timeshort variable its adjusted based on percentage from timenew, you can see from the logs that it worked ok for front yard(35mins), then something weird happen

|Set timeshort to (percentage2nd(85) / 100.0)||
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
||Set timeshort to (timeshort(7650000) * timenew(3000))|

At the line above of the rule when trying to get 85% of the timenew but it went to a crazy high number when the math should have been 0.85 * 3000

I have this rule working with no issues for months, I don't understand why the delay today was set to 7650000 sec (2125 hours) with the same math as always

It seems to me like a hubitat bug where it failed to properly do 85/100 calculation.



This is the log from 2 days ago when it worked like normal

Action: Wait for event: Aspersoare backyard 2 (S2)(off) turns off --> timeout: timeshort(0:42:30)
Action: Off: Aspersoare backyard 2 (S2) --> delayed: timeshort(0:42:30)(cancelable)
Here the delay was set correctly to 42 mins instead of 2125 hours like it did today using the same rule.

It appears as though the variable value became corrupted, although there is no evidence that the rule did it. Seems likely to be a one-time glitch (things like this can happen randomly for reasons that will probably never be known).

When I was at Intel in the '70s, alpha particles were known to impact semiconductors.

The helium nuclei that form 10–12% of cosmic rays are also usually of much higher energy than those produced by nuclear decay processes, and thus may be highly penetrating and able to traverse the human body and also many metres of dense solid shielding, depending on their energy.

That same article says this:

In computer technology, dynamic random access memory (DRAM) "soft errors" were linked to alpha particles in 1978 in Intel's DRAM chips. The discovery led to strict control of radioactive elements in the packaging of semiconductor materials, and the problem is largely considered to be solved.

All I can say is "largely considered to be solved" doesn't offer a lot of certainty.

3 Likes

Sounds like The Outer Limits, or Twilight Zone is happening here!!!
Two of my favorite Sci-Fi shows!!!!