Automates sending historical Fronius generation power data to Solcast's "Measurements - Rooftop Site" API to perform tuning for a site to improve forecasts and observations over time.
See Solcast API docs: https://docs.solcast.com.au/#measurements-rooftop-site
- Install NPM packages
npm install
- Run with NodeJS
$ node dist/index.js \
--resourceId=[SOLCAST_SITE_RESOURCE_ID] \
--apiKey=[SOLCAST_API_KEY] \
--inverterIp=[INVERTER_IP]
resourceId
- your Solcast site's Resource IDapiKey
- find your Solcast API Key here https://toolkit.solcast.com.au/accountinverterIp
- the IP address of your Fronius inverter (e.g.192.168.1.100
)date
(optional) - the date of measurements you want to upload inYYYY-MM-DD
format (e.g.2020-09-14
), otherwise defaults to current dayupdateInterval
(optional) - continuously update Solcast with the current day's measurements, frequency in seconds (e.g. 1800 = every 30 minutes)
- Compile with TypeScript
tsc