Skip to content

RandomArray/wifiweather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wifiweather

Looks up current weather conditions and creates 7 wifi access points with the data.

This was built to run on an Onion Omega running OpenWRT in the United States.

Lookup the XML feed for your area here: http://w1.weather.gov/xml/current_obs/

Add a line to crontab to run the script automatically.

*/15 * * * * /root/ssidjumble >/dev/null 2>&1

Example Output:

SSID: >> KMYF Weather: Light Rain Fog
SSID: >> Temp: 58.0 F (14.4 C)
SSID: >> Dewpoint: 55.9 F (13.3 C)
SSID: >> Wind: South at 8.1 MPH
SSID: >> Wind Direction: South
SSID: >> Visibility: 2.00 MI
SSID: >> Relative Humidity: 93%

Requirements

You'll need php7-cli, bash, php7-mod-curl, php7-mod-simplexml, php7-mod-json to run ssidjumble. opkg can easily install these.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published