Skip to content

swa72/ha-solcast-solar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solcast Solar

Home Assistant(https://www.home-assistant.io/) Component

hacs_badge

This custom component integrates the Solcast API into Home Assistant.

Modified from the great works of

  • dannerph/homeassistant-solcast
  • cjtapper/solcast-py
  • home-assistant-libs/forecast_solar

Basic Installation/Configuration Instructions:

Add a new HA Integration selecting 'Solcast PV Solar'.

If the integration is not listed in HACS, click on the three dots at the top right and select custom repositories. Enter https://github.com/oziee/ha-solcast-solar and pick Integration as category.

Once downloaded, you can add the integration using Configuration | Devices & Services | Add Integration.

Setup the Recorder to record data.. something like

recorder:
  purge_keep_days: 31
  include:
    entity_globs:
      - sensor.solcast*

Screen Shot 2022-02-03 at 12 46 02 pm

ONLY SET THE OFFSET to anything other than zero ONLY if your energy graph does not display properly. Leave it as zero for default and then only if there is a problem change it. see issue 21

If you have more than one Solcast rooftop site, repeat the above sets for each site (2 sites).. to edit them.. click the item to edit then the configure button will appear

img6

HA Energy Tab

Go to the HA>Configuration>Energy settings page Click the edit for the solar production item you have created.

img4

Click the Forecast option button and select all the sites you have.. Click SAVE.. HA will do all the rest for you

img5

Getting a Solcast API Key:

Sign up for an API key (https://solcast.com/)

Solcast may take up to 24hrs to apply the 50 API counter from the default 10.. give it time to work:)

Create a Rooftop entity on the Solcast website. This will generate a rooftop_id (resource id) Copy the id and api for this integration to work.

img1 img2 img3

About

Solcast Integration for Home Assistant

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%