conkywx help


USAGE ^ 

NAME ^ 

SYNOPSIS ^ 

DESCRIPTION ^ 

Conkywx shows following beside other details

GETTING STARTED ^ 

To get Help

What is Required

Stand Alone Version

You will need to make changes to the conky rc files for *own_window_type* depending on your Desktop Environment and/or the Window Manager. There 2 files which can assist you in making these changes - rpm_own_window_Fix.sh and deb_own_window_Fix.sh. You may use these files to make further changes by editing them as required. In the Installation Version this is already done.

To use conkywx - use the script run-conkywx.sh - this is an example script.

The config files conkywx.conf and conkywx-02.conf are located in the conkywx examples directory. See the conkywx --help -> Troubleshooting -> Files - to see which templates are using which config file.

Installation Version

Lets get started

Following to be done in a terminal window.

Notes:

1. ^ This number 190409 is the conkywx version number and will be different for the version you finally install.

OPTIONS ^ 

-h

--help

-v, --version

-c, --config

-t, --template [ 1 ]

-d, --data [ 3 ]

Notes:

1. ^ To get template based weather output from conkywx we need three files. The rc file - passed to conky program with -c option. The config file - passed to conkywx program in the rc file above. The template file - passed to conkywx program in the rc file above.
For example conkywx -c config file -t template file

2. ^ Square brackets "[ ]" are only required in templates - where -d option is used no square brackets to be used.

3. ^ Using single -d or --data elements could be relatively slow.

4. ^ For a list of data elements see below WEATHER DATA ELEMENTS.

CONKYWX ASSISTANT ^ 

CONFIG FILE ^ 

system.conf

ConkyStartScript

language_for_msgs

conkywx.conf or config file used with -c option

link_tmp_folder ^ 

Requirement:

Solution:

LOCATION ^ 

default_wx ^ 

Website Variable Symbol used Current condition Forecast
wunderground.com [ 1 ] [ 2 ] Location w Yes Yes
METAR [ 3 ] icao_id m Yes No
weather.com weatherdotcom_id 2 Yes Yes
msn.com [ 2 ] 3 Yes Yes
accuweather.com [ 2 ] a Yes Yes
darksky.net [ 2 ] d Yes Yes
yahoo.com yahooURL y Yes Yes
timeanddate.com timeDateURL t Yes Yes
wunderground.com [ 1 ] w w:2 w:3 w:a w:d w:y w:t
METAR [ 2 ] - m:2 m:3 m:a m:d m:y m:t
weather.com [ 1 ] 2 --- 2:3 2:a 2:d 2:y 2:t
msn.com [ 1 ] 3 3:2 --- 3:a 3:d 3:y 3:t
accuweather.com [ 1 ] a a:2 a:3 --- a:d a:y a:t
darksky.net [ 1 ] d d:2 d:3 d:a --- d:y d:t
yahoo.com y y:2 y:3 y:a y:d --- y:t
timeanddate.com [ 1 ] t t:2 t:3 t:a t:d t:y ---

1. ^ Uses your latitude and longitude as defined in your conkywx configuration file.

2. ^ Refer to ICAO Station list with ICAO ID - the stations.txt file - for a METAR reporting airport near your location.
Not all stations report - even though they have qualified to be on the list.

darkSkyLoc ^ 

darkSkyLoc='Your city location name'

icao_id ^ 

icao_id=WSSS

yahooURL ^ 

yahooURL='https://www.yahoo.com/news/weather/singapore/singapore/singapore-1062617'

xml_ID ^ 

xml_ID=( IWESTERN144 IWESTERN145 IWESTERN154 IWESTERN544 IWESTERN146 )
xml_ID=( IWESTERN144 )

POSITION N TIME ^ 

User Position and elevation ^ 

Latitude=23.45      for North location.
Longitude=-123.45   for West location.
elevation=7200      in Feet

Notes:

1. ^ Visit this site for getting your Latitude, Longitude and elevation. Using zip or pin code will still get you a general location - use the map and click exactly where you are.

2. ^ If Latitude and/or Longitude values are not filled here - they will be picked from the main data downloaded except as mentioned above. This will normally be a general position in 1 decimal place of the weather station.

t_zone_pick ^ 

In decimal format   t_zone_pick=10.5
	OR
In hours format	    t_zone_pick=+1030
In decimal format   t_zone_pick=-6
	OR
In hours format     t_zone_pick=-0600

Notes:

1. ^ There are places which use Daylight Saving Time.
You can refer to this blog which refers to the topic of updating daylight saving time on linux.
Arch Linux wiki on Time is a good guide
Basically set your hardware clock to UTC.

2. ^ Custom entry will be required if you are tracking weather for other locations not in your time zone.
Other wise you will see the Astronomical data relative to your time for that location.
For instance you have a Sun Rise for a location at 3 pm - that is the sun rise time for that location time zone - which may be 7 am.

use_short_date ^ 

use_short_date=3

Time_format ^ 

Time_format='%_I:%M %p'

moon_time ^ 

today_date_format ^ 

minimum_fetch_time ^ 

SURFACE IMAGES ^ 

cimss_surface_image ^ 

1 indian :l lower :lz lower zoom :u upper :uz upper zoom
2 east pacific :l lower :lz lower zoom :u upper :uz upper zoom
3 west pacific :l lower :lz lower zoom :u upper :uz upper zoom
4 south east pacific :l lower :lz lower zoom :u upper :uz upper zoom
5 north atlantic :l lower :lz lower zoom :u upper :uz upper zoom
6 east atlantic :l lower :u upper `
7 east australia :l lower :lz lower zoom :u upper :uz upper zoom
8 west australia :l lower :lz lower zoom :u upper :uz upper zoom
9 combo atlantic + pacific :l lower :u upper

Notes:

1. ^ There is no conkywx element for this image. It is stored directly in the conkywx temp folder with the name gsi_image.gif.
Use normal conky image placement eg: ${image ${template3} -p 0, 0 -s 800x600}.
Refer to conkywx-surface-image.sh in examples folder.

2. ^ To understand wind barbs see the image on the right.

3. ^ Storm Zoom - if there is a storm in any of the listed areas - the image focus zooms over the storm in that area.
This magic is automatic from CIMSS - provided you use the zoom option.

cimss_watervapour ^ 

water vapour image from CIMSS

options:

Notes:

wund_surface_image ^ 

location
1 europe 17 Afganistan
2 UK 18 Japan
3 Sweden 19 Australia
4 Germany 20 Canada
5 Spain 21 Alaska
6 France 22 US
7 Poland 23 US North East
8 Romania 24 US South East
9 Turkey 25 US North West
10 Greece 26 US South West
11 Italy 27 US Mid West
12 Africa 28 US South Central
13 North Asia 29 Central America
14 South Asia 30 South America
15 India 31 Antarctica
16 Indonesia
Type of image
1 Temperature 5 Humidity
2 Heat Index 6 Dew Point
3 Wind Chill 7 Visibility
4 Wind Speed

Notes:

1. ^ There is no conkywx element for this image. It is stored directly in the conkywx temp folder with the name gwsi_image.gif.
Use normal conky image placement eg: ${image ${template3} -p 0, 0 -s 800x600}.
Refer to conkywx-surface-imagerc in examples folder.

noaa_cyclone_image ^ 

intel_surface_image ^ 

Notes:

1. ^ There is no conkywx element for this image. It is stored directly in the conkywx temp folder with the name gisi_image.jpg.
Use normal conky image placement eg: ${image ${template3} -p 0, 0 -s 800x600}.
Refer to conkywx-surface-image.sh in examples folder.

world_wx_image ^ 

OUTPUT FORMAT ^ 

language_to_use ^ 

Notes:

1. ^ English and deutsch languages are actively supported for the time being. Kindly volunteer if you would like this program in your language

Units_to_Use ^ 

Units_to_Use=SI

Units_show ^ 

Units_show=1

show_degsym_fc_temp ^ 

Arrows to show forecast trends ^ 

risingtrend='c'
fallingtrend='d'
steadytrend='RQ'

pc_what_case ^ 

How do you want to capitalize the present conditon

NOTIFICATIONS N ALERTS ^ 

Real-time Air Quality ^ 

RSS reader ^ 

Height of Tide ^ 

1. ^ How to get the url
On the home page of this site you have 2 drop down lists country and port.
If you do not find your port click on "Tides by country" link and then drill down to your port - your port may not be listed so look for the one nearest to your port or see if it is there with another name.
Case in example Florida - does not work for me - so I clicked on "Tides by country"
I was looking for Indian Harbour Beach, FL - no way - aha but found Patrick Air Force Base - same location.
We use similar approach as wxalert - we write a file tides in conkywx temp folder and use that - so place a template7 or something with full path to file named tides.
conkywx lua SCROLLER has been updated to handle such tabular data.

2. ^ conkywx does word matching for the start Not the end.
so if you put date as '5 june' you get 5 june data as it exists
but if you put '2 june' - you get no data - if it does not exist.
single '2' will get all dates starting with 2.
The month is not case sensitive.

Earth Quakes / Seismic Activity ^ 

get_seismic=1
seismic_time_format='%d-%H:%M'
# seismic_time_format='%d-%I:%M %p'
# seismic_time_format='%d-%I:%M %P'
num_of_events=70
minimum_magnitude=5
alarm_magnitude=5.5
alarm_flash=6
loc_width=36
loc_watch='thai:malay:indo:paki:afgh:japan:nepal:india:saudi'
# box_char="╴"
box_char='.'
# box_char='1:1'
# box_char='┄:|:╬:╩:╦:╠:╣:╔:╗:╚:╝'

show_notification ^ 

show_notification=1

show_wx_alerts ^ 

show_wx_Tropical_alerts

enable_new_version_check ^ 

ICON SETS N FONTS ^ 

moon_outline ^ 

Dynamic_Moon ^ 

wx_iconset ^ 

Notes:

1. ^ You can also use conkywx-lua to show the same image - refer to the Condition - example in conkywx-lua documentation SHOWCOND

wx_fcast_iconset ^ 

Notes:

1. ^ Same options as wx_iconset - but I found that using set 5 for Present weather condition is great but for forecast weather - it looks better when other sets are used.

2. ^ You can also use conkywx-lua to show the same image - refer to SHOWCOND conditon example.

wx_wind_iconset ^ 

wx_wind_iconset='/home/username/path to icons set folder name'

wx_wind_fontset ^ 

Trend Graphs

TEMPLATE FIX ^ 

pcondition_blacklist ^ 

pcondition_blacklist=(
	"light:lt"
	"heavy:hvy"
	"Severe:svr"
	"Widespread:ws"
	pellets
	# pellet			items commented out
	Freezing
	# "with:+"			items commented out
	"and:+"
	'Thunder.*m:t-storm'
	"Patches of"
	"Low Drifting"
	Small
	Precipitation
	)
pcondition_blacklist=( "light:lt" "heavy:hvy" "Severe:svr" "Widespread:ws" pellets pellet Freezing "with:+" "and:+" 'Thunder.*m:t-storm' "Patches of" "Low Drifting" Small Precipitation )

template_cleanup ^ 

template_cleanup=(
		'Regen:Schüttung'
		'teilweise bewölkt:teilweise wolkig'
		)

SCROLLER TEMPLATE ONLY ^ 

do_not_output_to_conky ^ 

DATA ELEMENTS ^ 

WORLD AIR QUALITY INDEX ELEMENTS ^ 

Element Description
ALOC WAQI Station used
PM25 Particulate Matter 2.5 microns
PM10 Particulate Matter 10 microns
NO2 Nitrogen Dioxide
SO2 Sulfur Dioxide
O3 Ozone
CO Carbon Monoxide

WEATHER DATA ELEMENTS ^ 

Element Description Element Description
BR Barometer Reading / Atm Pressure SD Snow Depth always in Inches
PIF wx Condition Font character LN Location Name
PIC wx Condition image SN Station Name [ 8 ]
ID Station ID [ 9 ]
PT Present Temp TD Today date
CT Present Conditions Text VI Visibility
FL Feels Like Temp WS Wind Speed
DP Dew Point temp WG Wind Gusts
HM Humidity WD Wind Direction
LF Last Fetch time LU Last Update time
BF Bearing Font character BI Wind Direction Image
METAR METAR information [ 1 ] CLD Use element CLC1 instead
RF Rain Fall UU Units in use - required in lua widgets
CLC1 Cloud Condition level 1 CLH1 Cloud Height level 1
ALERTS Weather Alerts [ 7 ] UV UV Index includes UV Text
PLN Pollen includes warning text UVM Clear sky maximum UV index for the day at sea level
Moon
MIF Moon font character NM New Moon time
MIC Moon image MFQ Moon First Quarter time
MP Moon Phase FM Full moon time [ 2 ]
MP1 Moon phase first part MLQ Moon Last Quarter time
MP2 Moon phase second part MA Moon Age
MP3 Abbreviated Moon Phase MV Moon Percent Illuminated
MR Moon Rise time [ 5 ] MROC Moon % rate of change [ 3 ]
MS Moon Set time [ 5 ] MMT Moon Meridian Transit [ 4 ]
Sun
LOD Length of Day CTR Civil Twilight rise [ 6 ]
LODN Difference today and tomorrow XXm YYs CTS Civil Twilight set [ 6 ]
LODNM Text shorter / longer / steady NTR Nautical Twilight rise [ 6 ]
LODNT Trend arrow NTS Nautical Twilight set [ 6 ]
LOV Length of visible light ATR Astronomical Twilight rise [ 6 ]
SR Sun Rise time [ 5 ] ATS Astronomical Twilight set [ 6 ]
SS Sun Set time [ 5 ] SMT Sun Meridian Transit [ 4 ]
TMP conkywx temporary folder location

Notes:

1. ^ METAR information can be shown and word folded in conkywx or your templates.
Both work equally well and both are part of GNU coreutils.
Refer to the EXAMPLES below for possible METAR data formatting in conky.

2. ^ This is one particular situation in the moon phases that moon never actually reaches a 100% mathematically - since the calculation are in decimals. To get this information we round the 99.5 . Actual Full Moon phase time is the tipping point from waxing to waning of the moon - therefore the shown illumination of 100% is about 18 hours of this Full Moon time.

3. ^ Interesting element - takes the illumination for today and the next day and the difference is your change per day. This will vary sometimes like any real time element. Percent illumination for change may have taken place for today but not yet for next day same time - so you will see a drop in change but overall it gives you an interesting check at the speed at which our Moon moves.

4. ^ For these transit elements you may see N.M.T. - which means No Meridian Transit.
The body will not pass overhead on your Longitude during the present 24 hour period.

5. ^ We refer to the Sun and the Moon here. At times you will see A.A.H. or A.B.H..
A.A.H. - means the relevant Body is Always Above Horizon - the Body will not set within the present day 24 hour period, or for a duration if you are in the Polar regions.
A.B.H. - means the relevant Body is Always Below Horizon - the Body will not rise within the present day 24 hour period, or for a duration if you are in the Polar regions.

6. ^ These events normally occur above the polar circles affecting the twilight times.
No Sun Rise = The day light is never Bright enough for this twilight to occur.
No Sun Set = The day light is never Dark enough for this twilight to occur.

7. ^ If there is an Alert generated by wunderground - the Present Condition text will get ! character before the text. For example ! Clear.
If there are more than one alerts then a number after ! will indicate the number of alerts at wunderground. For example !2 Overcast.
Refer to EXAMPLES and conkywx lua widget SCROLLER for conkywx weather alerts / warnings examples.

8. ^ Station Name can be different with different sites.
- pws station name [pws used by wunderground main or pws xml user specified],
- ICAO Station name ,
- city name minus country .

9. ^ Station ID can be different with different sites.
- pws station ID [pws used by wunderground main or pws xml user specified],
- ICAO code ,
- weatherdotcom_ID ,
- "MSNWX" .

FORECAST TREND GRAPH ELEMENTS ^ 

GT Trend Graph for Temperature [ 1 ] GP Trend Graph for Pressure [ 1 ]
GH Trend Graph for Humidity [ 1 ] GW Trend Graph for Wind Speed [ 1 ]
GD Trend Graph for Dew Point [ 1 ] GG Trend Graph for Wind Gust [ 1 ]
GS Trend Graph for Solar Radiation [ 1 ] GV Trend Graph for Visibility [ 1 ]
GU Trend Graph for UV Index [ 1 ] GR Trend Graph for Chance of Rain [ 1 ]
GA Trend Graph for Feel Like Temperature [ 1 ]

1. ^ Refer to WXGRAPH in conkywx lua help file for usage.

FORECAST ELEMENTS ^ 

Element Description
D1D to D8D day 1 to day 8 date.
D1 information may be for the present day till about 8 pm for some sites,
when it switches to the next day
D1T to D8T day 1 to day 8 temperature
D1C to D8C day 1 to day 8 condition
D1F to D8F day 1 to day 8 condition font character
D1I to D8I day 1 to day 8 condition image
D1P to D8P day 1 to day 8 chance of rain
Some websites show a percent value - others as yes or no
D1H to D8H day 1 to day 8 humidity
MSN, Accuweather and Darksky do not have humidity in their forecast
D1PH to D8PH day 1 to day 8 chance of rain / humidity %
this element gracefully handles the '%' placement as required
if humidity is not available then this element will act as chance of rain

FORECAST TREND ELEMENTS ^ 

Element Description Element Description
FCTP pressure trend FCTPF pressure trend font
FCTT temperature trend FCTTF temperature trend font
FCTW wind trend FCTWF windspeed trend font
FCTH humidity trend FCTHF Humidity trend font
FCTU UV trend FCTUF UV trend font
FCTD dewpoint trend FCTDF dewpoint trend font
FCTV visibility trend FCTVF visibility trend font
FCTS solar radiation trend FCTSF solar radiation trend font
FCTMI percent moon illuminated trend FCTMIF percent moon illuminated trend font
FCTSR sunrise trend FCTSRF sunrise trend font
FCTSS sunset trend FCTSSF sunset trend font
FCTMR moonrise trend FCTMRF moonrise trend font
FCTMS moonset trend FCTMSF moonset trend font
FCTLL length of visible light trend FCTLLF length of visible light trend font
FCTLD length of day trend FCTLDF length of day trend font
FCTTY Yesterday temp compare FCTTYF Yesterday temp compare trend font
FCTTYM Yesterday temp compare full Message FCTTYS Yesterday temp compare Short message

Notes:

TROUBLESHOOTING ^ 

FILES ^ 

Set of conky config and templates files in the *examples* directory

Notes:

Files and their associated templateN assignments

For conky versions 1.10.x

For conky versions 1.9.x

Weather Condition icon sets

Icon set 1 Original 12 by bharathp666, while complete new set of 24 icons done by me
Icon set 2 origin not known
Icon set 3 tick weather icons by xiao4
Icon set 4 Sticker Weather Icons by Kortoik

Fonts installed in the system fonts directory

Arrows.otf JLH Fonts
ConkyWeather.otf By Stanko Metodiev 2008
ConkyWindNESW.otf By Nite 2008
MoonPhases.ttf By Curtis Clark 1995

The program location The program location is /usr/share/conkywx directory. There are two directories below this - examples, images. The images directory has bgrounds, wxicons and moonicons directories. See details below.

conky-restart.sh This file is in the program directory and is usable as is and will show system details on the right of the screen and on the left default location weather. By default the system conkyrc is commented out - to use uncomment the line.

Set of Background png images in the *images/bgrounds* directory The name of the image gives you the hint with which template it is associated.

EXAMPLES ^ 

-d --data option examples

Delhi: ${execpi conkywx -d CT -c path/delhi.conf}
Cape Town: ${execpi conkywx -d CT -c path/capetown.conf}
Svalbard: ${execpi conkywx -d CT -c path/svalbard.conf}

-t --template option examples

${execpi 900 conkywx -c "path/conkywx.conf" -t "path/wx-wu-font-template"}

METAR examples

${exec echo "[METAR]" | exec fmt -u -w 55}
 OR
${exec echo "[METAR]" | exec fold -s -w 55}

Weather Alerts examples

template9 /tmp/conckywx tmp folder name/wxalert
${if_existing ${template9}}#
${color8}Alert:${lua main -n scroller -f 14 -l 70 -s 15 -p 60,966 -o ${template9}}#
${else}${color4}${hr}${color8}${endif}

How to use custom fonts for showing wind direction

'\[', '\\', '\]', '\#', '\(', '\)'
wx_wind_font_set='Y,Z,'\[','\\','\]',^,_,`,Q,R,S,T,U,V,W,X,'%','\#','-''

TROUBLESHOOTING ^ 

ABOUT ^ 

EXTERNAL LINKS ^ 

BUGS ^ 

They get ironed out as and if they popup - feedback is required.

AUTHOR ^ 

Paramvir Likhari email :: plikhari -> g mail

updated: 2020-Feb-27 10:13, conkywx 200227 help files © 2020 Paramvir Likhari