Skip to content
PiSky docs ← Back to pisky.space
Docs · 2 min read

Weather

Open-Meteo out of the box, or a local WeeWX-connected station, with a guided setup for either.

Open-Meteo is active by default and uses the coordinates already configured for the camera. WeeWX is optional and created with a simulator baseline that stays disabled, so simulated values can never appear as real weather.

Guided station setup (Ecowitt example)

  1. Open PiSky Setup → Connect your weather station.
  2. Choose Ecowitt / Fine Offset custom server.
  3. Leave port 8000 unless it conflicts with another local service.
  4. Keep Start WeeWX now and at boot selected.
  5. Select Use this station for PiSky's live weather conditions and save.
  6. In WS View Plus or the Ecowitt app, open the device's custom weather service settings, select the Ecowitt protocol, enter the Pi's local IP or hostname, the same port, path /, and an upload interval of about 16 seconds.
  7. Return to PiSky and select Check for live weather data.

The Weather Underground client and ObserverIP presets use the same guided workflow. Arbitrary extension URLs aren't accepted — unsupported or specialist drivers remain an advanced/manual task.

Configuration file

Installation creates config/pisky-weather.json without overwriting an existing file:

{
  "enabled": true,
  "provider": "open-meteo",
  "display_units": "metric",
  "open_meteo": {
    "latitude": "",
    "longitude": "",
    "timezone": "auto",
    "cache_seconds": 300
  },
  "weewx": {
    "file": "/var/lib/pisky/weather/current.json",
    "url": "",
    "cache_seconds": 10
  }
}

Set provider to weewx to use a local station. PiSky accepts both its normalized keys and common WeeWX field names, and converts units before serving the same values to both the visitor and admin interfaces.