jasonacox / Powerwall-Dashboard

Grafana Monitoring Dashboard for Tesla Solar and Powerwall Systems
MIT License
302 stars 66 forks source link

Currency in $ and £ #397

Open jasonacox opened 11 months ago

jasonacox commented 11 months ago

Requested from user, Grant Massie:

Is there a way I can change the currency from $ to £?

Need to investigate options in Grafana.

youzer-name commented 11 months ago

You can change this in the individual panels by changing the unit:

image

It doesn't appear to be possible to set this using a variable. Maybe during the setup script the user could be prompted to pick a currency unit from a list and then a find/replace operation could be run on the dashboard.json to change the currency unit?

For £: "unit": "currencyUSD"

would need to be changed to:

      "unit": "currencyGBP"

and you might want an option for:

      "unit": "currencyEUR"