Weather
Gleanvolt can record what the sky was doing at the start and the end of each charge: the temperature, the clouds, sunrise and sunset. You see it in each charge’s history, which helps explain a charge that took longer than expected.
It is optional, and changes nothing about how the car charges. It also needs your home’s location, which the setup wizard’s Site step asks for.
Choose where the weather comes from
Section titled “Choose where the weather comes from”Open Settings and find Weather (or the setup wizard’s Extras step). Under Source, choose:
- Not provided: no weather is recorded.
- External: a separate program sends the weather to Gleanvolt. The OpenWeather plugin, which comes with Gleanvolt, is the ready-made one: it reads the weather from OpenWeatherMap.
Press Save. There is no need to restart.
Record the weather with the OpenWeather plugin
Section titled “Record the weather with the OpenWeather plugin”Get an OpenWeatherMap key
Section titled “Get an OpenWeatherMap key”-
Go to openweathermap.org and create a free account.
-
Open your account’s API keys page and copy the key.
Connect the plugin
Section titled “Connect the plugin”-
Under Weather, choose External and press Save.
-
Start the plugin with the provider token from Settings → External providers: see Run the OpenWeather plugin below.
-
Once it connects, its own page appears under Weather. Enter the OpenWeatherMap key there and press Save and check.

Gleanvolt asks the plugin when a charge starts and when it ends, and the plugin asks OpenWeatherMap at most once every 10 minutes, well within the free plan. If the plugin isn’t running or doesn’t answer within 15 seconds, that charge is recorded without the weather. Nothing else is affected.
If you used OpenWeather in Gleanvolt before
Section titled “If you used OpenWeather in Gleanvolt before”Gleanvolt used to ask OpenWeatherMap itself, with the key entered under Weather. That is gone: the weather from OpenWeatherMap now comes only through the OpenWeather plugin. After the update, Gleanvolt chooses External for you and says so under Weather, until the plugin connects:

The key you saved in Gleanvolt is not kept. Start the plugin as below, and enter your key again on its page. Until then, charges are recorded without the weather.
Run the OpenWeather plugin
Section titled “Run the OpenWeather plugin”The OpenWeather plugin comes with each Gleanvolt release, as a container and as a download. Use the same version as your Gleanvolt. Each way starts with the token:
-
Open Settings → External providers and press Make a token. Copy the token, which starts with
gvp_. -
Start the plugin, as shown for your installation below.
-
Under Weather, choose External and press Save. The plugin’s page appears there once it connects.
Make the plugin’s folder, then start it next to Gleanvolt. Put your token in place of gvp_...:
sudo mkdir -p /opt/gleanvolt/plugins/openweathersudo chown 1654:1654 /opt/gleanvolt/plugins/openweathersudo chmod 700 /opt/gleanvolt/plugins/openweather
docker run -d --name gleanvolt-plugin-openweather --restart unless-stopped --init \ --network host \ -e Gleanvolt__Token=gvp_... \ -v /opt/gleanvolt/plugins/openweather:/data \ ghcr.io/mpospisil/gleanvolt-plugin-openweather:latestThe folder keeps the OpenWeatherMap key, and only the plugin can read it. If Gleanvolt isn’t on port
8090, add -e Gleanvolt__Endpoint=http://localhost:<its port>.
The file you pasted from NAS already has the plugin, switched off. In your NAS’s container app, edit the project’s file:
- Find
${GLEANVOLT_PROVIDER_TOKEN:-}and put your token after:-, so it reads${GLEANVOLT_PROVIDER_TOKEN:-gvp_...}. - Delete the line
profiles: ["openweather"]. - Save, and start the project again.
-
From the releases page, download
gleanvolt-plugin-openweather-<version>-win-x64.zipfor your Gleanvolt’s version, and unzip it. -
In a new terminal, go to the
gleanvolt-plugin-openweatherfolder and start it with your token:Terminal window .\Gleanvolt.Plugin.OpenWeather.exe --Gleanvolt:Token=gvp_...
Like Gleanvolt, it stops when its window closes. Its page opens only in a browser on this PC. To open it
from your phone too, add --Urls=http://0.0.0.0:8096 and allow it through the firewall on private
networks.
With the .deb, Docker is the simplest way: see the Docker tab. Or download
gleanvolt-plugin-openweather-<version>-linux-arm64.zip (linux-x64 on a PC), unzip it, and in its
folder:
./Gleanvolt.Plugin.OpenWeather --Gleanvolt:Token=gvp_... --Urls=http://0.0.0.0:8096It runs until you stop it, and doesn’t start with the computer.
The plugin’s page uses port 8096 on the same computer as Gleanvolt. Gleanvolt opens it under the same
name you opened Gleanvolt at, so gleanvolt.local and the address both work.
If you make a new token, the plugin disconnects until you start it with the new one.