[APP][Pro] PV Forecast: solar forecast that measures your roof and learns from your panels

[APP][Pro] PV Forecast: solar forecast that measures your roof and learns from your panels

:sun: PV Forecast tells you what your solar panels will produce today and tomorrow, every 15 minutes and for every roof plane apart, and day by day up to a week ahead. It measures your roof from public height data, reads your inverter, and keeps comparing its forecast with what your panels really do and with the sunlight a satellite saw on your roof. The longer it runs, the closer it gets.

Then it helps you use that sun: a day plan for the home battery, up to three cars charged on the sun before you leave, the dishwasher and the washing machine planned together, the boiler heated with what is left, the expected use of the house and the heat pump, and the quarter-hour peak of the Flemish capacity tariff kept in check. It keeps every day for years and scores itself next to other forecast apps.

Free, no account, no API key, no cloud of its own: everything runs on your Homey.

:mobile_phone_with_arrow: App Store: https://homey.app/a/be.pvforecast/
:test_tube: Test version (new versions before they reach the store): https://homey.app/a/be.pvforecast/test/

My other apps

  • :robot: MCP AI Bridge: control Homey with any AI assistant (Claude, ChatGPT, Gemini, Copilot, Cursor or Mistral)
  • :recycling_symbol: Recycle België: Belgian waste collection calendar with Flow cards, iCal export and quiet hours
  • :automobile: MG iSMART: battery, range, charging and climate of your MG in Homey
  • :pill: Medication Reminder: reminders that keep coming until the medication is taken
  • :wind_face: DREO (Community): DREO fans, heaters, air purifiers, humidifiers and air conditioners in Homey
  • :package: Parcel Tracker: every parcel from 132 carriers, without carrier accounts

:compass: What do you want to do?

I want to… Function Where
Know what my panels will make always on the device, widgets, Flow cards
See what they made over the years History (on) Overview tab, History
Know if this forecast beats Forecast.Solar or Solcast Compare (on) Overview tab, Compared with other forecasts
Use my electricity prices Electricity prices (on) Measurement tab, Electricity prices
Know what the house and the heat pump will use House load (on), Heat pump forecast (off) Measurement tab, House consumption and Heat pump
Let the home battery follow a day plan Home battery day plan (off) Measurement tab, Home battery
Charge one or more cars on the sun before I leave Plan car charging (off) Measurement tab, Car
Count my car charger without planning Count the car charger (off) Measurement tab, Count the car charger
Run the dishwasher or washing machine on the sun Appliances and queue (off) Measurement tab, Appliances
Heat the boiler with the sun Heat buffer (off) Measurement tab, Heat buffer
Run a boiler or airco on the sun left right now Devices on surplus (off) Measurement tab, Devices on surplus
Stay under the capacity tariff (Flanders) Capacity tariff (off) Measurement tab, Capacity tariff
Send nothing to the grid at a negative price Inverter limit at a negative price (off) Flow cards, with Electricity prices
Get a message without making a Flow Messages without a Flow (off) Overview tab

Functions: app settings, tab Measurement, the card Functions at the top: a switch for every part you may not need. A function that is off stops at once and takes no memory; its Flow cards say it is off. What it learned and its settings are kept. The switches count per installation. A new installation opens with a start screen: tick what you want to do and the right switches go on. Updating? Everything you already used stays on.

How each function works, what it needs and an example Flow: see The functions, one by one below.


Why I built it

My roof has an east plane and a west plane, one string each. The forecast app I used treated it as one roof facing one way, and I had to guess the tilt and direction myself. On sunny days it was off by a third, every day, and it never noticed. A forecast you can’t trust is useless for charging the car, the dishwasher or the home battery. So PV Forecast starts from the roof itself, and keeps checking itself against what your panels actually produce.


:sparkles: What it does

:world_map: Measures your roof

  • Tilt and direction of every roof plane from public LiDAR height data, with the trees and buildings around the roof that block the low sun:
    • Belgium: Flanders and Brussels (Digitaal Vlaanderen, UrbIS for the buildings in Brussels)
    • the Netherlands (PDOK: AHN and BAG)
    • Germany: North Rhine-Westphalia, Hesse, Saxony-Anhalt, Mecklenburg-Western Pomerania and Brandenburg
    • France, where IGN’s LiDAR HD is ready
    • Austria: Tyrol and Styria, with the buildings of the Styrian solar map
    • Norway (Kartverket), Czechia (ČÚZK, with the RÚIAN buildings) and England (Environment Agency)
  • The building outline comes from the official register where there is one. Without one, the app finds the building in the height map itself, and only then asks OpenStreetMap. A second try within the hour reuses the first answer, so the busy public map server gets fewer requests.
  • Everywhere else the direction comes from the building outline in OpenStreetMap and you fill in the tilt. Not sure? Tap one of the example roofs (10°, 20°, 35° or 45°), and after a week the app works it out from your own production.
  • Finds your address in your own country, or by coordinates or a Google Maps link. Up to eight roof planes per installation, and as many installations as you have.

:sun_behind_rain_cloud: Forecasts for your panels

  • Every 15 minutes from Open-Meteo, on the tilt and direction of each roof plane, from several weather models at once: the ones closest for your roof, per weather type, get more weight.
  • Panel temperature, the inverter limit, snow, and the trees and buildings around your roof are part of the forecast.
  • Three values for tomorrow: expected, cautious (reached 9 days out of 10) and optimistic. The cautious one also learns from your own past days.
  • Seven days ahead, with a range that widens the further ahead it looks, and how sunny a day will be as a share of a clear day (40 % is grey in every season, so one Flow works all year).
  • Works with other energy apps: Homey EMS and other apps that read meter_power.today and meter_power.tomorrow can use it as their forecast source.

:chart_increasing: Learns from your own production

  • Reads your inverter directly: the power of each string (PV1, PV2…) or voltage and current. Huawei, SolarEdge, Growatt, SMA, Fronius, Enphase, Deye via SolarAssistant and any other inverter that shows its values in Homey. Several inverters are added up. No inverter in Homey? It reads Homey Energy, or you send it with a Flow card.
  • Corrects itself per position of the sun, not per hour of the day: a tree that shades your roof at 3 pm in March shades it at 4 pm in June. And per weather type (clear, broken clouds, grey).
  • Checks itself against the satellite: the sunlight that reached your roof, every 10 minutes, shows whether a miss came from the weather or the panels. Nowcast: the last hour steers the next hours.
  • Checks your settings: it suggests the peak power, the tilt and direction, spots the limit of your inverter, and tells you when PV1 and PV2 look swapped.
  • No AI involved: plain statistics, and every number can be checked in the Log.

:bullseye: How accurate is it?

Two values on the device: the accuracy of the forecast of the evening before and of that morning, each over the last seven days; the app settings show it per day, month and season. Grey winter days are harder than summer days, so each season has its own aim: :sun: summer 85 to 95 %, :seedling: spring 80 to 90 %, :fallen_leaf: autumn 70 to 85 %, :snowflake: winter 60 to 80 %. Guide values, not a promise: judge it on a week, and give it two or three weeks to learn.

:magnifying_glass_tilted_right: Keeps an eye on your panels

  • A string drops out or one roof plane makes much less than the others: an alarm and a trigger with its name.
  • Clearly less than expected today, or a day below normal in the sunlight that actually reached your roof: a trigger. Bad weather never sets these off.
  • Slow loss of yield over weeks of fine weather: time to clean the panels. A linked meter that is not your panels (a grid meter, a value in kW): the checklist tells you.
  • Self check: one line per function on the Measurement tab says whether it gets what it needs.

:high_voltage: Surplus, home battery and use

Link your P1 meter (or the one in Homey Energy) and your home battery:

  • Expected surplus now and for the rest of today, and the expected use of the house for today, tomorrow and the days after, with the share your own sun covers.
  • Battery plan: will the battery be full today, at what time, how many kWh it still misses by tomorrow evening; also on the cautious forecast, for when a wrong guess costs money.
  • A lowest charge per battery, such as the 10 % many inverters keep. Several batteries count as one, also ones that report charging and discharging apart (Huawei).

:euro_banknote: Prices and money

  • Negative prices: a trigger before a stretch with a negative price while a surplus is expected, and Flow cards that limit the inverter so nothing goes to the grid. Hours with the panels held back don’t teach the learning anything wrong.
  • What the panels brought: per day, month and year, in kWh and in money, with how much you used yourself.

:sunglasses: The sun on your house

  • When the sun shines on a roof plane, when it goes behind the trees or buildings around your roof, and when direct sunlight falls on a window or wall of your choice (made for sunscreens), with minutes on every card so a passing cloud does not move the sunscreen up and down.

:hammer_and_wrench: Easy to fix afterwards

  • Repair: device, gear icon, Maintenance, Repair: the setup opens again with everything filled in, and what the app learned is kept.
  • Restore previous: one button puts the previous roof, location and inverter limit back, with what the app had learned then.

:puzzle_piece: The functions, one by one

Every function has a switch under Functions (app settings, tab Measurement). The Help tab in the app has the same steps with the exact card names.

📚 History and what the panels brought (on)

What: one line per day for at least ten years: what the panels made, what was expected and what it was worth. Per month this year next to last year, and per year. A History widget.
What you need: nothing. For the value in money, a grid or house meter and a price.
Example Flow: on the first of the month, Get the production of a period (last month), then a push message with the kWh and the value.

🏁 Compare with other forecasts (on)

What: scores this forecast next to up to four other forecast apps (Forecast.Solar, Solcast…), each on what it said the evening before. The first figure after three days. Homey Energy is left out: Homey does not let apps read its forecast.
What you need: pick their devices on the Overview tab, under Compared with other forecasts.

💶 Electricity prices, also by time of day (on)

What: the dynamic prices of Homey Energy, one fixed price, or your own prices by time of day. The cheapest moments count your own sun as almost free.
Turn it on: it is on. Set the source on the Measurement tab, under Electricity prices.
Example Flow: when Now is among the cheapest hours, counting the sun, switch on the pool pump.

🏠 House load and expected use (on), heat pump forecast (off)

What: learns what your house uses per type of day and by outdoor temperature, so the surplus and the plans are right on a cold Sunday too. It gives the expected use for today, tomorrow and the days after, with the share of tomorrow your own sun covers. Link the heat pump too, and it learns and forecasts the heat pump on its own against the outdoor temperature, inside the house load.
What you need: a P1 or house meter. For the heat pump: a smart plug, a sub-meter or its own app that shows its power or, better, its energy meter.
Turn it on: the expected use comes with House load with the temperature. For the heat pump, turn on Heat pump forecast and pick the device under Heat pump on the Measurement tab; its forecast follows after three days.
Example Flow: at 21:00, when The heat pump will use more than 25 kWh tomorrow, charge the home battery tonight at the cheap rate. Or Get the expected use of a day in a push message.

🔋 Home battery day plan (off)

What: every 15 minutes a plan for the coming day, from the cautious forecast, the learned house load and the prices: charge from the sun, from the grid in cheap hours, or hold the charge for a dearer hour, only when it earns your minimum profit per kWh after the losses.
What you need: the battery level, usable capacity and charge power, a house consumption meter and prices.
Example Flow: when The battery plan changed mode, set the battery with the cards of its own app.

🚗 Plan car charging, up to three cars (off)

What: plans charging from the departures you give per weekday, on the sun the home battery leaves and the cheapest hours; warns when the car is not plugged in, pauses during a holiday. Up to three cars, each with its own devices, charger and departures; they share the sun in a fixed order (a car set to go first, then the car that leaves first), so nothing is counted twice.
What you need: the state of charge from your car app; if you have them, the plugged-in value and the charger power. A charger you can set from a Flow.
Turn it on: Measurement tab, Car: pick the values and departures; “Add a car” for the next one, and tick “This car goes first” on the one that must be ready first.
Example Flow: every minute, Charging power for the car now (pick the car), then set the charger to the tag Charging current (A), or off at 0. A card without a car picked stays on the first car, so your Flows keep working.

🔌 Count the car charger (off)

What: takes what your charger measures off the learned house load and counts it in the surplus, the capacity tariff, the devices on surplus and the inverter limit. Nothing is planned or switched: your own charging Flows keep working. Up to three chargers; with Plan car charging on the same charger it counts once.
What you need: a charger with a power value in Homey; its energy meter helps.
Turn it on: Measurement tab, Count the car charger: pick the charger and its power.

🧺 Appliances and queue (off)

What: learns the power curve of an appliance from every run and plans the start so it is done before your time, on the sun and the cheapest hours. Appliances on one day share a queue.
What you need: a smart plug that measures power, or the appliance’s own app when it shows whether it runs.
Example Flow: after loading, Plan an appliance to finish before a time with 18:00. A second Flow: when It is time to start an appliance, switch on the plug.

🔥 Heat buffer (off)

What: stores sun or cheap grid power as heat, in a boiler or in the house through a heat pump, with what the battery, the cars and the appliances leave.
What you need: a boiler or heat pump you can switch or set from a Flow, its power and temperatures.
Example Flow: when The heat buffer may start heating, raise the thermostat. The heat buffer may stop heating sets it back.

☀️ Devices on surplus (off)

What: up to eight devices with an on and off, such as a heat-pump boiler or an airco, in the order they get the sun. Every minute the app takes the export plus what they take now; a device may turn on once its power plus a margin fitted for 5 minutes, and turn off after 5 minutes of importing more than you allow, with a minimum on and off time, a time window and a most per day. One change a minute, so they do not flap. A car on the sun and the planners come first; a lower device gives way to one above it. Switch one by hand and it is left alone for an hour.
What you need: a grid meter, and a plug or the device itself in Homey.
Example Flow: when A device may turn on on surplus with the boiler, turn on its plug; when A device may turn off, turn it off.

⚡ Capacity tariff, Flanders (off)

What: follows your quarter-hour and monthly peak, warns before a quarter goes over, and keeps the battery, the cars, the appliances and the heat buffer under the level.
What you need: a P1 meter.
Example Flow: when The quarter-hour peak is about to exceed 4 kW, pause the charger.

🔆 Inverter limit at a negative price (off)

What: while the feed-in price is negative, gives the power the inverter may make: what the house takes now, plus what the home battery can still take and the cars, appliances and heat buffer the app runs now, a little less for safety. The sun is used at home and nothing goes to the grid; at 0 or more the inverter gets its full maximum again. Those hours stay out of the learning.
What you need: an inverter whose power limit you can set from a Flow, a feed-in price that can go below 0 (with a dynamic contract: Feed-in price, “The dynamic price times a factor, plus an amount”) and preferably a house or grid meter.
Turn it on: turn on Inverter limit at a negative price and Electricity prices.
Example Flow: when The inverter limit changed, set the power limit of your inverter to the tag Limit (W).

🔔 Messages without a Flow (off)

What: an evening message with tomorrow’s forecast and the best hours, a morning message, and one when the panels did worse than normal. On 1 January a year overview (with History on): what the panels made last year and what it was worth, against the year before (also the trigger Year report).
Turn it on: pick which ones and when on the Overview tab.

🗓️ Plan of today (widget)

What: the next 24 hours on one line, in quarter hours: the sun, the price, and what the home battery, the cars, the appliances and the heat buffer are planned to do, with a marker for now. Only functions that are on and set up get a row. Also on the Overview tab.
Turn it on: add the widget Plan of today to your dashboard and pick the installation. It only shows the plans: no Flow needed.

🩺 Self check and start screen

Self check: on the Measurement tab under Functions, one line per function that is on, the measurement and the forecast first: OK, a warning or a problem, and why. It only reads. The same lines, without device names, are in “Copy diagnostics”.
Start screen: a new installation opens with a short list of goals, from the history to the car charger and the messages. Tick what you want, the right functions switch on, and a list of next steps follows, each with a button to its section. An installation you already had keeps its functions; “Open the start screen again” is under Functions.

Who gets the sun first? The house. Then the home battery, the cars, the appliances, the heat buffer, so no two count on the same sun. Tick Heat buffer before the car to move the boiler up. Devices on surplus come last, on the sun left right now, or before the battery if ticked.

Two switches that make the forecast better: Keep curtailed hours out of the learning and Cautious estimate from your own days. Leave them on.


:house: Installing it, step by step

  1. Install the app from the App Store. Open Devices, tap +, choose PV Forecast, Solar installation.
  2. Where are your panels? The app looks up the roof at your Homey’s location. Elsewhere? Type the address, paste coordinates or a Google Maps link, or tap I’ll fill it in myself.
  3. Your panels. Each roof plane gets a card with tilt, direction and name. Enter the peak power per plane (10 panels of 440 Wp make 4.4 kWp); leave a plane without panels empty.
  4. Your inverter (optional). The app finds it and proposes which string (PV1, PV2) belongs to which roof plane. Check it, and enter its maximum power if you know it. Name it and save.
  5. Open the app settings (Apps, PV Forecast, Settings). The start screen asks what you want to do, the checklist on the Overview tab shows what is still open, and the Measurement tab links the P1 meter and home battery.
  6. Put a widget on your dashboard and make your first Flow. The Help tab has examples with the exact card names. Rather no Flows? Turn on Messages without a Flow.

Good to know: one device per inverter (an east and a west roof on one inverter are two roof planes of one installation). All installations is only for two or more installations: it adds them up. Without any measurement the forecast works, it just doesn’t learn.


:high_voltage: Flow cards

130 cards in all. The cards of a function that is off say so when a Flow runs them. Those of a Solar installation work per roof, those of All installations on the sum.

Solar installation: When (33)
  • The forecast was updated, tomorrow’s forecast changed
  • Expected power goes above or below a level, expected surplus goes above a level
  • Today’s best window starts, one of today’s sunniest hours starts
  • What is still to come today drops below a level
  • Measured power stays above or below a level for some minutes, today’s production reaches a level
  • The panels start or stop producing
  • The sun starts or stops shining on a roof plane, goes behind or comes out from behind an obstacle
  • Direct sunlight starts or stops on a window or wall
  • A roof plane makes much less than the others, the panels produce clearly less than expected, did worse than normal today, may need cleaning
  • Snow on the panels is expected, or they are clear again
  • Daily report, with a ready sentence and what the panels brought; Year report on 1 January
  • The price turns negative while a surplus is expected, the inverter limit changed
  • The car charging plan changed, the car needs charging but is not plugged in
  • The quarter-hour peak is about to exceed a level, a new monthly peak was set
  • The battery plan changed mode
  • It is time to start an appliance, an appliance finished
  • The heat buffer may start or stop heating
  • A device may turn on on surplus, a device may turn off
Solar installation: And (34)
  • Tomorrow’s production is above a level (expected, cautious or optimistic), tomorrow morning or afternoon
  • A day reaches a share of a clear day; a day up to six days ahead is above a level
  • What is still to come today, production between two times or expected power now is above a level
  • Measured power is above or below a level for some minutes, more than a level was measured today
  • It is within today’s best window, the current hour is one of today’s sunniest
  • Expected surplus stays above a level for a while, the home battery will be full today
  • The sun shines on a roof plane, is behind an obstacle, falls on a window or wall
  • A roof plane makes much less than the others, the panels produce less than expected, snow is expected
  • Now is among the cheapest hours counting the sun, the price is below a level or negative
  • Now is a planned hour to charge the battery from the grid, the battery plan says this mode now
  • The car is planned to charge now, the car is plugged in
  • The quarter-hour power is above a level
  • This month’s production is above a level
  • An appliance is planned to start now, the heat buffer may heat now, a device may run on surplus now
  • Tomorrow’s expected use is above a level, the heat pump will use more than a level tomorrow
  • Production is limited now
Solar installation: Then (40)
  • Find the best window, the best start for an appliance, the cheapest start counting sun and prices (also with prices from a Flow)
  • Battery plan, also on the cautious forecast
  • Plan charging the home battery from the grid, and the charging power for now
  • Plan the home battery for the coming day, battery power now
  • Plan charging the car with kWh or to a percentage, charging power for the car now, charged so far, stop the plan, away until a date
  • Work out the power still free this quarter hour
  • The panels are limited or switched off, and produce normally again; inverter limit for now
  • Plan an appliance to finish before a time, cancel the plan
  • Plan the heat buffer for today, heat buffer setpoint now; get the surplus room now
  • Find the sunniest day of the coming days
  • Get the production of a period, the expected production for the coming hours or between two times, how sunny a day will be, the position of the sun, the forecast as JSON
  • Get the expected use of a day, of the heat pump for a day
  • Report measured solar power, a solar energy meter, the power or voltage and current of one roof plane
  • Refresh the forecast now, forget what was learned
All installations (23)

When: total expected power above or below a level, measured power stays above or below a level, today’s production reaches a level, what is still to come drops below a level, today’s best window starts, daily report of all installations.
And: tomorrow’s total, tomorrow morning or afternoon, a share of a clear day, what is still to come, expected power now, measured power, measured today, within today’s best window, an installation makes clearly less than expected, now among the cheapest hours, this month’s production.
Then: the best window, the best start for an appliance, the expected production for the next hours or between two times, the cheapest start counting sun and prices, the production of a period.

A few more ideas: lower the sunscreen when direct sunlight has fallen on the south-west window for 15 minutes; a push message when a roof plane lags behind, with its name; at 20:00 today’s result and tomorrow’s expectation.


:bar_chart: On the dashboard and on the device

Eight widgets:

  • Forecast: today and tomorrow per hour, stacked per roof plane, with the likely range and what was measured.
  • Today: one big number and what is still to come, with a countdown to the best window.
  • Roof planes: expected against measured per plane, red when one falls behind.
  • Week: seven days of expected against measured with the accuracy, or the next seven days.
  • Home battery: the expected charge until tomorrow evening, with a cautious line and the time it gets full.
  • Sun on the roof: when the sun stands on each roof plane today, and when it is behind trees or buildings.
  • History: per month, this year next to last year, or per year.
  • Plan of today: the next 24 hours on one line, with the sun, the price and the plans of the battery, the cars, the appliances and the heat buffer.

On the device: :chart_increasing: charts of today, tomorrow, yesterday, the last 7 days and the next 7 days, drawn by your Homey itself (All installations has them too, added up), and the expected use of the house and the heat pump.


:gear: App settings

  • Overview: the start screen, the checklist, the plan of today, the messages, the history and what the panels brought, the comparison with other forecasts, the accuracy per day, season and month, a monthly report with the satellite, hourly data to copy.
  • Measurement: the Functions switches with the self check, which inverter, meter and battery feed the app (with the live value of every option), the prices, the learned house load and expected use, the heat pump, the battery day plan, the cars, the appliances, the heat buffer and the capacity tariff.
  • Check roof: suggestions for tilt, direction, peak power and inverter limit, applied in one click. Address and roof: look up the roof again, restore the previous one. Log: what was fetched, learned or went wrong. Help: short answers and ready-made Flow examples.

If something looks off, copy the diagnostics into a reply here. Device names are left out and the location is rounded to about 1 km.


Good to know

  • Homey Pro (firmware 12.1 or newer). English, Dutch, German, French, Norwegian, Swedish, Danish, Spanish, Italian and Polish.
  • The app asks for access to your devices only to read the inverter, meters, home battery, cars, chargers, appliances, boiler, heat pump and forecast apps you choose, and Homey Energy. It never switches anything itself: the Flow cards give values, your Flows decide.
  • What leaves your Homey: the location, rounded to about 1 km, goes to Open-Meteo for the weather and the satellite data. Only when you look up a roof does the address or location go to the open height map and building register of your region and, where those have no outline, to OpenStreetMap (the Help tab lists them). Prices come from your own Homey Energy. No tracking, no statistics.
  • Weather data by Open-Meteo.com (CC BY 4.0), satellite data from EUMETSAT and DWD through Open-Meteo. Height and building data from Digitaal Vlaanderen (DHM Vlaanderen II, GRB), UrbIS © paradigm.brussels (CC0), PDOK (AHN, BAG), Geobasis NRW, HVBG Hessen, © GeoBasis-DE / LVermGeo LSA, © GeoBasis-DE/M-V, © GeoBasis-DE/LGB, IGN (LiDAR HD, BD TOPO), Land Tirol, Land Steiermark (Solardachkataster), © Kartverket, © ČÚZK (RÚIAN, CC BY 4.0) and the Environment Agency (contains Environment Agency data, © Crown copyright). Addresses and building outlines © OpenStreetMap contributors (ODbL).
  • Free and staying free. No account, no subscription.

Coming from another forecast app? Add PV Forecast next to it: Compared with other forecasts scores both on the same days, and your Flows can switch over one card at a time.

:memo: Changelog

Show all versions

2.8.3

  • The accuracy also counts days the weather forecast got badly wrong.

2.8.2

  • Chargers Homey doesn’t list as a charger, like the Wattpilot, now show up.

2.8.1

  • Car charging is two functions: Plan car charging, and Count the car charger.

2.8.0

  • Devices on surplus, told when they may run on the sun left now.

2.7.x

  • Up to three cars, use and heat pump forecasts, the inverter limit, Plan of today, a self check, a start screen.

Earlier

  • 2.6: function switches, history, a battery day plan, appliances, a heat buffer, the roof by hand.
  • 2.5: prices, the capacity tariff, seven days; Spanish, Italian, Polish.
  • 2.0 to 2.4: several inverters and batteries, LiDAR horizon, eight roof planes, Repair, widgets, the App Store.
  • 1.0: a forecast per roof plane, the roof measured from your address.

Questions, ideas or a roof the measurement gets wrong? Post them here. A screenshot of the Check roof tab or a copy of the diagnostics helps a lot. :slightly_smiling_face:

Great and easy app - this is what I was looking for.
Request: could you please add a feature to manually add more direction/angle combinations instead of the default 4 options. I have panels facing 3 directions (which were determined right), but each have 2 different angles, so I would need 6 panel combi options… (some are located on the tilted roof (E, S,W), others on flat roof (E, S, W).
Thanks!

@Ollem

Thanks! Six roof planes is coming: version 2.0 raises the limit from 4 to 8 planes per installation, so the tilted and the flat roof can sit in one device. Until then: add two installations, one for the tilted roof and one for the flat roof, three planes each. Version 2.0 also has an “All installations” device that adds them up, with its own best window and Flow cards.

Hi @weide43 , interesting concept, testing in progress… sent you two diag. logs, thanks for already fixing one of the report :wink: However I wonder, if you have two inverters with dedicated solar panels, that’s unsupported, or ? I have my brother PV added into my Homey, who has no SmartHome, so I wonder how it woudl work…

@Sharkys

Thanks for testing and for the two logs, both are fixed in 2.2.1, which will be on the test channel shortly :slightly_smiling_face:

Out of bounds when saving: the peak power had been entered in Wp (something like 4400) instead of kWp (4.4). Homey then refuses every save of the settings, which is also why the forecast showed thousands of kWh. 2.2.1 refuses this while adding. On your existing device it converts the value to kWp by itself and tells you in the timeline. Learning starts over, because what it learned against a forecast a thousand times too high was of no use.

Solax Modbus not offered: that app names its strings measure_solar_dc_1 and measure_solar_dc_2, and PV Forecast didn’t recognise those names. It also mistook the on/off switch on the inverter for a sign of a plug. Both are fixed: your Modbus device now shows up with DC1 and DC2 per roof plane, both when adding and on the Measurement tab. The deprecation warnings in the log are gone too.

Two inverters with their own panels work fine. How you set it up depends on where the panels are.

Your brother’s PV, at another house: add it as a second Solar installation (Devices, +, PV Forecast, Solar installation) and type his address in the first step. Every installation has its own location, roof planes, weather forecast and learning, so his roof is measured and forecast on its own. In step 4 pick his inverter, or link it later on the Measurement tab of the app settings. He doesn’t need a smart home of his own, as long as his inverter shows up in your Homey.

Two inverters on your own house:

  • Each with its own roof: two Solar installations at the same address, one per inverter.
  • Both on the same roof planes: one installation, and on the Measurement tab you add the second inverter to the same roof plane or to the whole installation. The values are added up.

All installations is optional. It adds your installations together into one device with its own Flow cards: the measured total, what is still to come, the best window and a daily report for both. Use it when the sum means something to you, for example when both feed the same grid connection. For your brother’s house you’d probably want each one apart, so you can skip it.

@Sharkys
Update!

Thanks again for testing and for the logs! :slightly_smiling_face:

Both earlier reports are fixed in 2.2.1:

  • Out of bounds when saving: the peak power had been entered in Wp (4400) instead of kWp (4.4). 2.2.1 refuses that while adding, and corrects it by itself on an existing device. Your last log shows it worked: your forecast is back to 23.5 kWh for today.
  • Solax Modbus not offered: its strings (measure_solar_dc_1 and _2) are now recognised, and the on/off switch no longer hides it. It shows up with DC1 and DC2, both when adding and on the Measurement tab. The deprecation warnings in the log are gone too.

Names of the roof planes: adding an installation had no name field per roof plane. 2.2.2 adds one, while adding and with Repair (open the device, gear icon, Maintenance, Repair). Type “Main roof”, “Garage” or whatever you like, and it shows everywhere in the app. On your current devices you can also set it right away in the device settings, under each roof plane.

Your brother’s PV: add it as a second Solar installation with his address in the first step, and link his inverter there or on the Measurement tab. Every installation has its own location, forecast and learning. All installations is only needed if you want the sum of both.

The “overpass failed” line in your log was the OpenStreetMap service being busy, nothing on your side.

2.2.2 will be on the test channel shortly.

My test has started too… close enough to start with :slight_smile:

@Ollem
Great to see, thanks for sharing! :slightly_smiling_face: On the first day the app only has the weather models and the roof to go on. Once it has three days of measurements it starts correcting itself per position of the sun, and within the day it already steers the next hours by what your panels did in the last hour. You can see that in your graph: after the first hour the expected line follows the measured one closely. Let me know how it looks after a few days.

Great idea!
Two questions:

Will you open source the app? It needs full access, understandable, but we can’t see for ourselves what it’s doing.

What capability is used for the prediction? I have the [App][Pro] Homey EMS (HEMS): Smart EMS by @Kaoh installed and the Solar Forecast device is not selectable as a forecast source in that app.
This is what that app looks for:

Thanks!

@DaneedeKruyff

Thanks for the good questions! :slightly_smiling_face:

Why it asks for full access

Homey offers apps exactly one way to read devices that belong to other apps: the Web API permission (homey:manager:api). There is no read-only version of it, so Homey always shows it as full access, even when an app only reads. PV Forecast uses it for four things, all reading:

  • Your inverter: to find it while you add the installation, and to read its power, or the power of each string, every 30 seconds.
  • Your P1 meter and home battery: only the ones you pick on the Measurement tab, for the expected surplus and the battery plan.
  • Homey Energy: solar power and house consumption when nothing is linked, and the dynamic prices for the “cheapest start” card.
  • Zone names, to show where each device is in the lists.

It never switches, changes or deletes anything on other devices. When I tried to let it clean up its own old Insights, Homey refused that for apps, which says enough about how limited it is in practice.

What leaves your Homey: only the location of the installation, rounded to about 1 km, to Open-Meteo for the weather. The address goes to the map services only when you look up a roof yourself. No account, no tracking, no statistics.

Without this permission the app could not read your inverter at all. You would have to send every measurement with a Flow card, and surplus and battery planning would not work.

Homey EMS

Good catch. HEMS looks for devices with meter_power.today and meter_power.tomorrow, and PV Forecast had the same numbers under its own names. The next version (2.2.3) adds both to every solar installation and to All installations, so you can select PV Forecast as the forecast source in HEMS.

Hi Danny,

I’m aware of how the API operates and functionality, I’m maintaining and app using it myself. I also open sourced it so everyone can check what the code does and not have to just trust my blue eyes :wink:

Thanks for looking into the compatibility with the HEMS app!

https://homey.app/a/be.pvforecast/

I get a not found message

Because the app isn’t officially released yet. In the first post you need to use the link for the test version.

Update on the next version :slightly_smiling_face:

Version 2.3.0 is now with Athom for review. It includes everything from 2.2.3 as well, so that one is skipped. Until Athom approves it I won’t upload anything new, so the review doesn’t start over.

What’s in 2.3.0:

  • Repair works again: the setup screen opens with your installation filled in.
  • Homey EMS and other energy apps can use PV Forecast as their forecast source.
  • Learns more: per weather type and from the forecast of the evening before, and it checks itself against satellite measurements of the sunlight that actually reached your roof.
  • Accuracy: two values on the device (evening and morning forecast), plus a season overview and a month overview in the app settings, with an aim per season.
  • Battery: a lowest charge per battery, and a battery plan on the cautious forecast.
  • New widgets for the home battery and the sun on your roof.
  • New Flow card: “The panels did worse than normal today”.

I’ll post here as soon as it’s approved. Thanks for your patience, and keep the reports coming!

PV Forecast is now live in the Homey App Store :tada: PV Forecast | Homey

Version 2.4.1 is what you get, and it has everything from 2.3 and 2.4: learning per weather type, satellite checks, the battery and sun widgets, and the charts on the device itself. On top of that:

  • After the roof is measured, the setup screen now says it comes from height data of the building and not from your panels, and how to point it to another building. Thanks @Sharkys for the idea :slightly_smiling_face:
  • The optimistic estimate can no longer go higher than your panels can give under a clear sky.

If you were on the test version, you can switch to the store version or stay on test to keep getting new versions first. Thanks to everyone who tested, measured roofs and sent logs. It made a real difference :sun:

Really great App! I‘m just testing and it works well yet! It’s much more exactly than the other forecast apps I’m trying!

PV Forecast 2.5 is on its way to the App Store :rocket: It’s a big one: the app no longer only tells you what the sun will do, it helps you use it.

:euro_banknote: Prices by themselves. The app reads the electricity prices Homey Energy knows (or a fixed price you enter) and counts your own sun as almost free. New cards find the cheapest moment for an appliance counting sun and prices, tell you when the price is below a level or negative, and plan charging the home battery from the grid in the cheapest night hours, only when tomorrow’s cautious forecast needs it.

:automobile: Charge the car on the sun. Tell it how many kWh (or which %) the car needs before which time, and a Flow every minute gets the charging power. It follows the real sun and only tops up from the grid in the cheapest hours when the sun won’t make it in time.

:high_voltage: Capacity tariff (Flanders). It follows your quarter-hour and monthly peak, warns a few minutes before a quarter goes over your limit, and keeps the car and the battery under it.

:bell: Messages without a Flow. An evening message like “Tomorrow about 17 kWh (13 to 18), best between 11:15 and 14:15”, a morning one, and one when the panels did worse than normal. Just a switch in the device settings.

:date: Seven days ahead, in the week widget, on the device and in Flow cards (“find the sunniest day of the coming week”).

:money_bag: What the panels brought, per day, month and year, in kWh and in money.

:brain: Under the hood: hours with a negative price and panels you switched off no longer teach the learning anything wrong, the cautious estimate learns from your own past days, and “expected today” now counts what was really measured in the hours behind you.

:globe_showing_europe_africa: And it now speaks Spanish, Italian and Polish too, ten languages in all. If you speak one of the new ones and something reads oddly, tell me here.

Everything in the first post is updated, with the full list of 97 Flow cards. The new parts were tested hard, but nothing beats real homes: if a car charger, a battery or a meter behaves differently at your place, post it here with a copy of the diagnostics. :slightly_smiling_face:

PV Forecast 2.6 is on the test channel and waiting for Athom’s review :test_tube: Test version: https://homey.app/a/be.pvforecast/test/

The big change: you now pick what the app does for you. Open the app settings, tab Measurement, card Functions at the top: one switch per part, per installation. Turn on what you use, leave the rest off. A function that is off takes no memory and its Flow cards say it is off. Coming from 2.5? Everything you already used is switched on for you.

On from the start
:books: History: every day kept for years, per month this year next to last year, and per year. Overview tab, under History, and a new History widget.
:chequered_flag: Compared with other forecasts: this forecast scored next to Homey Energy and up to four other forecast apps (Forecast.Solar, Solcast…). Pick them on the Overview tab; the first figure shows after three days.
:euro_banknote: Prices by time of day: for a contract with a day and a night price (thanks to Thomas for asking). Measurement tab, under Electricity prices.
:house: House load with the temperature: the app learns what your house uses per type of day and by outdoor temperature, so a cold Sunday is planned right.

Off until you turn it on
:battery: Home battery day plan: charge from the sun, from the grid in cheap hours, or hold the charge for a dearer hour. A Flow on “The battery plan changed mode” passes it to your battery.
:automobile: Car charging: departures per weekday, a warning when the car is not plugged in, and a holiday pause. A Flow every minute sets the charger.
:basket: Appliances and queue: the dishwasher and the washing machine learn their own power curve, from a smart plug or from their own app, and get planned together so they don’t count on the same sun.
:fire: Heat buffer: a boiler or heat pump that stores the sun that is left as heat.
:high_voltage: Capacity tariff and :bell: Messages without a Flow now have their switch under Functions too.

The sun goes to the house first, then the battery, the car, the appliances and the heat buffer, in that order.

The first post has a “What do you want to do?” table and, per function, what it does, what you need, how to turn it on and an example Flow. The Help tab in the app has the same steps with the exact card names.

This is a lot of new code that reads chargers, batteries and appliances I don’t all have at home. If something behaves oddly at your place, post it here with a copy of the diagnostics. :slightly_smiling_face:

@Sharkys thanks for the log, that helped right away. Two things went wrong at once:

  1. The map service the app uses to find the building outline (Overpass, from OpenStreetMap) is overloaded today. It answered with errors and timeouts, also when I tried it myself.
  2. The message then says to choose “I’ll fill it in myself”, but that button only exists when you add or repair a device, not on the Address and roof tab of the app settings. That one is my mistake.

Until the fix is out, you can fill in the roof yourself in two ways:

  • Device settings: open the Solar installation, tap the gear icon, and change Tilt and Direction under Roof plane 1 (and the other planes). What the app learned is kept.
  • Repair: gear icon, Maintenance, Repair. The setup screen opens with your installation filled in, and you can change tilt and direction per plane there.

In the next version (2.6.1) the Address and roof tab gets its own “I’ll fill it in myself” when the map service does not answer, and the app tries a second Overpass server before it gives up. :slightly_smiling_face:

Ou, yes, I totally forgot it’s per device configurable :wink::rofl: Thank you

This image shows 6 different direction/angle measurements vs assumptions during the past 2 weeks, and the last one the combined one. Very, very close :ok_hand: