Share My Creation Weather Underground data in Gauges

Hi,

request Weather Information from Weather Underground and display selective weather information in Gauges.
To be able to place requests, a Weather Underground API Key is required (free for Plan Stratus Developer).

B4J Desktop Version
The weather information is displayed in Gauges with the jGauges library.
The standard gauges are used - leaves room to explore other skin types.
The additional Libraries: cssutils, jgauges, json, jhttputils2, javaobject, jrldialogs8
The documented source code is attached.
upload_2016-9-15_17-7-58.png


B4J Server Version (WebApp)
The weather information is displayed in a Browser Window with Google Chart Gauges. This non-ui application places requests to Weather Underground via the non-ui classes HTTPJob & HTTPUtils2Services.
The html index file uses w3.css responsive design.
The additional libraries: jserver,json,jnetwork,jhttp,jstringutils
The documented source code is attached.
upload_2016-10-7_15-26-13.png


Notes
The basic versions leave room open to included additional functionality, like a timer to request in interval weather information, additional gauges, thresholds to notify via email.

Change Log
20161007: B4J Server Version (see post #2)
 

Attachments

  • B4JHowToWeatherUnderground.zip
    60.1 KB · Views: 479
  • B4JHowToWebAppWeatherUnderground.zip
    12.9 KB · Views: 534
Last edited:

rwblinn

Well-Known Member
Licensed User
Longtime User
Update #1 20161007 (see post #1)
In addition to the B4J desktop version, created a B4J server version showing 4 Gauges in the Browser using w3.css responsive design (tests conducted using Firefox browser on Windows, Raspberry Pi browser & Android Smartphone.
 

swChef

Active Member
Licensed User
Longtime User
Hi,

request Weather Information from Weather Underground and display selective weather information in Gauges.
To be able to place requests, a Weather Underground API Key is required (free for Plan Stratus Developer).

Per Wunderground, "You must own a Personal Weather Station in order to generate an API key."
Thought this might avoid others creating an account just to learn this.
 
Top