Giter Club home page Giter Club logo

wifiweather's Introduction

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.

wifiweather's People

Contributors

randomarray avatar williamhatcher avatar

Stargazers

Joseph Reeves avatar Helio Machado avatar Merlin Beutlberger avatar  avatar Timothy Spann avatar Jan Sulaiman avatar Intrainos avatar Michael Curry avatar GyuYong Jung avatar Michael Smith avatar Dillon avatar ssiumha avatar Jeong Arm avatar Jonas Lorander avatar  avatar  avatar

Watchers

James Cloos avatar alexander - yo2ldk avatar Alex Kritikos avatar Jan Sulaiman avatar Helio Machado avatar

wifiweather's Issues

RSS outside USA

Hi, nice project !
It is possible to add (obtain) RSS data somehow, for a outside USA country?
Thank you in advance !

Nothing happens

Hey,

I wanted to test your ssid script but nothing happens. The OMEGA said it did his job but no wifi networks appear.
I removed the "readarray" line and replaced it with something like
lines=(WLAN1 WLAN2 WLAN3)

even when I remove the complete loop and give it static names it does not work. Any ideas why?

  • dunklesToast

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.