Is there a plugin available that will work to allow me to trigger a rule based on the weather forecast?
I am trying to pre-cool my home on hot days to reduce AC usage during peak electricity rates, but only want it to fire off if the temp is forecasted to be 85F+ during that time period. What is the best way to accomplish that?
Take a look at Community Drivers: Advanced options like the OpenWeatherMap-Alerts-Weather-Driver by MathewScott or the OpenWeatherMap Multi-API Weather Driver offer deeper data, extended forecasts, and custom HTML/attributes. Many users install and manage these via Hubitat Package Manager (HPM)
Uses the following Variables used in the Rule TstatHoldCoolTemp - The "hold" temperature I want set on the thermostat when it is hot outside TstatHoldHeatTemp - The "hold" temperature I want set on the Thermostat when it is too cold outside ForecastHighTstatLimit - The temperature limit for determining it is host enough to trigger the hold ForecastLowTstatLimit - (mispelled when I created the variable though) The temperature limit for determing is it cold enough to trigger the hold
Not Variables - but wanted to see them on the dashboard
Forecast High and Forecast Low - I get them from Open Weather, but you can also get them from Wunderground if you have an API.
funny this came up - I was just working for @morpheus on forcasting precipitation on a minute basis. There is hourly data available from OpenWeatherMaps but I currently do not implement it. I can easily see how that would be very useful for you but I'm not sure about implementing it while I'm still forked on the precipitation issue (@morpheus hasn't signed off on the final dev version so I can't merge my two branches and I'm loathe to run a 3 branch cuz I'm a human...insert star trek quote here). Maybe you might consider using my driver and forking it? (I made the multi-api driver mentioned above).
its stupid - my attribute names already are so long I had to do something! Its is Today, Tom for Tomorrow, and TDA for The Day After - for the 3 day forecast. TDA is TheDayAfter Tommorrow.
FYI - 'Now' is referred to in the attributes as 'current'.
In case you're interested - I recently worked a bit to add minute by minute precipitation. This covers forecast for the next hour. It's not in the main build of this driver at this time but it may possibly well be. Let me know if that is something that affects your rule building or needs. This are the values that are currently in a dev build that is being looked at by others: