-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,37 @@ | ||
# Weather Station | ||
|
||
Simple weather station-esque program, written in Java with the Processing library. I was getting tired of my weather station constantly running out of batteries, and it running fast, so I made my own. | ||
|
||
Made for a 480x800 display, have not tested scaling in any way. | ||
|
||
## Install | ||
|
||
### Prerequisites | ||
|
||
- Java 8 ([Linux](https://openjdk.java.net/), [Windows](https://adoptopenjdk.net/?variant=openjdk8&jvmVariant=openj9)) | ||
|
||
You can get the latest release from the [releases](https://github.com/Ghoelian/WeatherStation/releases) page. | ||
|
||
Copy ``data/variables.json.example`` to ``data/variables.json`` and edit it to include your own details. I haven't implemented proper error handling yet, so invalid values will crash the application. | ||
|
||
### Windows | ||
|
||
Simply run the executable. | ||
|
||
### Linux | ||
|
||
Make the WeatherStation file executable: | ||
|
||
```sh | ||
chmod +x WeatherStation | ||
``` | ||
|
||
Then simply run the now executable file: | ||
|
||
```sh | ||
./WeatherStation | ||
``` | ||
|
||
## Build | ||
|
||
The easiest way to build the project is to use the Processing IDE. Simply load the project into the IDE, and click File->Export Application, then select your desired targets. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"apiKey": "OpenWeatherMap API Key", | ||
"email": "Email", | ||
"city": "Amsterdam" | ||
} |