Skip to content

Nice looking weather fetcher written in Java ☁️ ⚡

License

Notifications You must be signed in to change notification settings

styczynski/weatherly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Made by Styczynsky Digital Systems

Logo Weatherly              ☁️ Download

  Nice looking weather fetcher written in Java

Installation/Usage

Download latest release from here.

Then unzip it. Move the application files somewhere and run weatherly.exe file.

You can also run java -jar weatherly.jar on X-nix machines.

Screenshots

Screenshot 2

Building

  1. Make sure you have jdk and maven installed.
  2. Then do mvn clean compile to compile sources.
  3. Then mvn exec:java to execute compiled sources.
  4. Execute mvn package to generate release files available in target/release folder.

Customization

Custom meters layout

Meters layout is defined in meters.xml file.

You can edit it to create custom layout of temperature/wind direction/wind speed etc. controls. 👍 🎉

The exampel file looks like this:

<?xml version="1.0" encoding="UTF-8"?>

<meters>
	<weatherly.meters.GeneralMeter type="weather"></weatherly.meters.GeneralMeter>
	<weatherly.meters.GeneralMeter type="temperature"></weatherly.meters.GeneralMeter>
	<weatherly.meters.GeneralMeter type="wind"></weatherly.meters.GeneralMeter>
	<weatherly.meters.GeneralMeter type="humidity"></weatherly.meters.GeneralMeter>
	<weatherly.meters.GeneralMeter type="pressure"></weatherly.meters.GeneralMeter>
	<weatherly.meters.GeneralMeter
		airQualityProperties="PM10,PM2.5" type="airQuality"></weatherly.meters.GeneralMeter>
	<weatherly.meters.GeneralMeter type="sunrise"></weatherly.meters.GeneralMeter>
	<weatherly.meters.GeneralMeter type="sunset"></weatherly.meters.GeneralMeter>
</meters>

Or displaying only sunrise, sunset and weather:

<?xml version="1.0" encoding="UTF-8"?>

<meters>
	<weatherly.meters.GeneralMeter type="weather"></weatherly.meters.GeneralMeter>
	<weatherly.meters.GeneralMeter type="sunrise"></weatherly.meters.GeneralMeter>
	<weatherly.meters.GeneralMeter type="sunset"></weatherly.meters.GeneralMeter>
</meters>

Available build-in meter types for GeneralMeter are:

  • weather (displays general weather type)
  • temperature (displays temperature)
  • wind (displays wind direction)
  • humidity (displays air humidity)
  • pressure (displays air pressure at ground or sea level)
  • sunrise/sunset (displays calendar sunrise/sunset time)
  • airQuality (displays gases and substances present in air)

Custom data sources

The data sources can be configured editing sources.xml file.

The example file looks like this:

<?xml version="1.0" encoding="UTF-8"?>

<sources interval="360">
	<source provider="weatherly.datasource.sources.PowietrzeGiosSource"></source>
	<source provider="weatherly.datasource.sources.OpenWeatherMapSource"></source>
	<source provider="weatherly.datasource.sources.MeteoWawSource"></source>
</sources>

Screenshot 1