A xbar plugin to show nordpool energy prices.
- Clone the repo
yarn
in the project root- Make sure the
nordpool.30m.js
file is executable (chmod + x nordpool.30m.js
) - Symlink it:
// MacOS
ln -s /path/to/repo/nordpool.30m.js ~/Library/Application Support/xbar/plugins/nordpool.30m.js
- If you want to run it more or less often just change the
30m
to1d
for example in the symlink to run it once a day.
THRESHOLD
The value under which the energy price is considered affordable. (Default: 8c/kWh)COUNTRY
The country code for the market. (Default: FI)