nathanmarlor / foxess_em

FoxESS - Energy Management
MIT License
54 stars 2 forks source link

Multiple Solcast sites #24

Closed nathanmarlor closed 1 year ago

nathanmarlor commented 1 year ago

Discussed in https://github.com/nathanmarlor/foxess_em/discussions/20

Originally posted by **DanL78** October 19, 2022 Is it possible to add more than one site from solcast? Due to the way solcast records a site you can only enter one side of a pitched roof per site, so having solar panels on both side of your roof (ie, west facing side of the roof and east facing side roof) have to be entered as seperate sites to get accurate data. Unfortunately this means we can only record half the projected solar generation, ideally we'd need to add two sites and add the generation together to create one forecast. - if possible. Thanks in advance
Captain0Kangaroo commented 1 year ago

Its possible using this code in your configuration.ymal

Solcast configuration to join two arrays:

Just replace the sensors for whatever yours are called.

Then add this to your dashboard to check its working:

Add to Dashboard

type: sensor entity: sensor.solcast_forecast_total graph: line