- Platform information: OpenHab 2.5.6 on RPi 4
The following rule completely halts the loading & execution of all the other rules. I read couple comments about double parsing but even after 20 minutes, this rule is still hanging the whole openhab. Any suggestions?
/** https://weather.gc.ca/windchill/wind_chill_e.html https://rdrr.io/cran/frost/src/R/dewPoint.R **/ rule "Humidex Calculation" when Item DewPoint changed then var temp = (GardenTemperature.state as Number).doubleValue var dewPoint = (DewPoint.state as Number).doubleValue var humidex = temp + 0.5555 * (6.11 * Math.exp((5417.753 * ((1/273.16) - (1/(273.15 + dewPoint))))) - 10) logInfo("humidex", "Current Temp:" + temp + " Dew:" + dewPoint + " Humidex:" + humidex) Humidex.postUpdate(humidex) end