Skip to content

Commit

Permalink
s/pm-station-usb/pm-home-station/ + screenshots back in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pskowronek committed Dec 20, 2017
1 parent f51841d commit 14e17d9
Show file tree
Hide file tree
Showing 18 changed files with 54 additions and 42 deletions.
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
_Language versions:_\
[![EN](https://github.com/rjaros87/pm-station-usb/raw/master/www/flags/lang-US.png)](https://github.com/rjaros87/pm-station-usb)
[![PL](https://github.com/rjaros87/pm-station-usb/raw/master/www/flags/lang-PL.png)](https://translate.googleusercontent.com/translate_c?sl=en&tl=pl&u=https://github.com/rjaros87/pm-station-usb)
[![DE](https://github.com/rjaros87/pm-station-usb/raw/master/www/flags/lang-DE.png)](https://translate.googleusercontent.com/translate_c?sl=en&tl=de&u=https://github.com/rjaros87/pm-station-usb)
[![EN](https://github.com/rjaros87/pm-home-station/raw/master/www/flags/lang-US.png)](https://github.com/rjaros87/pm-home-station)
[![PL](https://github.com/rjaros87/pm-home-station/raw/master/www/flags/lang-PL.png)](https://translate.googleusercontent.com/translate_c?sl=en&tl=pl&u=https://github.com/rjaros87/pm-home-station)
[![DE](https://github.com/rjaros87/pm-home-station/raw/master/www/flags/lang-DE.png)](https://translate.googleusercontent.com/translate_c?sl=en&tl=de&u=https://github.com/rjaros87/pm-home-station)


# Home use particulate matter sensor on USB
Expand Down Expand Up @@ -71,6 +71,18 @@ Suggested printing parameters:

> Caution! Make sure the soldered ends of the USB-UART pins (at the bottom of the adapter) are properly insulated from the sensor's metal case! Some adapters have them so long that they become too close to the sensor and may short-circuit the adapter. It's best to sand them off and use insulation tape.
## Assembly photos

The photo gallery of assembly can be found [here](https://rjaros87.github.io/pm-home-station-project/assembly/index.html "Assembly of pm-station-usb") and [here](https://rjaros87.github.io/pm-home-station-project/assembly-bt/index.html "Assembly of pm-station-usb over Bluetooth") for Bluetooth version.

## Enclosure photos

The photo gallery of assembled device in 3d printed enclosure can be found [here](https://rjaros87.github.io/pm-home-station-project/enclosure/index.html "3d printed enclosure of pm-station-usb").

## App Screenshots

The app screenshots gallery can be found [here](https://rjaros87.github.io/pm-home-station-project/screenshots/index.html "App screenshots of pm-station-usb apps").

## Tested platforms

- Android APK
Expand Down Expand Up @@ -123,7 +135,7 @@ Suggested printing parameters:

## TODOs

- [Release 1.0.0](https://github.com/rjaros87/pm-station-usb/projects/1)
- [Release 1.0.0](https://github.com/rjaros87/pm-home-station/projects/1)

## Disclaimer

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/
package pmstation.core.plantower;
Expand Down
6 changes: 3 additions & 3 deletions desktop/src/main/java/pmstation/Start.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/

Expand Down Expand Up @@ -39,7 +39,7 @@ public static void main(String[] args) {
} else if (line.hasOption("version")) {
System.out.println("version: " + Constants.VERSION);
} else {
logger.info("Starting pm-station-usb ({} v.{})...", Constants.PROJECT_URL, Constants.VERSION);
logger.info("Starting pm-home-station ({} v.{})...", Constants.PROJECT_URL, Constants.VERSION);
setLookAndFeel();
PlanTowerSensor planTowerSensor = new PlanTowerSensor();
Station station = new Station(planTowerSensor);
Expand Down
4 changes: 2 additions & 2 deletions desktop/src/main/java/pmstation/Station.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/

Expand Down
4 changes: 2 additions & 2 deletions desktop/src/main/java/pmstation/configuration/Config.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/
package pmstation.configuration;
Expand Down
8 changes: 4 additions & 4 deletions desktop/src/main/java/pmstation/configuration/Constants.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/

Expand All @@ -12,9 +12,9 @@

public class Constants {

public static final String PROJECT_NAME = "pm-station-usb";
public static final String PROJECT_NAME = "pm-home-station";
public static final String VERSION = "1.0.0";
public static final String PROJECT_URL = "https://github.com/rjaros87/pm-station-usb";
public static final String PROJECT_URL = "https://github.com/rjaros87/pm-home-station";
public static final Locale DEFAULT_LOCALE = Locale.getDefault();
public static final String DEFAULT_ICON = "app-icon.png";

Expand Down
4 changes: 2 additions & 2 deletions desktop/src/main/java/pmstation/dialogs/AboutDlg.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/
package pmstation.dialogs;
Expand Down
4 changes: 2 additions & 2 deletions desktop/src/main/java/pmstation/dialogs/ConfigurationDlg.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/
package pmstation.dialogs;
Expand Down
4 changes: 2 additions & 2 deletions desktop/src/main/java/pmstation/helpers/MacOSIntegration.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/
package pmstation.helpers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/
package pmstation.helpers;
Expand Down Expand Up @@ -76,7 +76,7 @@ public void integrate() {
try {
SystemTray tray = SystemTray.getSystemTray();

TrayIcon menuBarIcon = new TrayIcon(defaultIcon, "pm-station-usb", menu);
TrayIcon menuBarIcon = new TrayIcon(defaultIcon, "pm-home-station", menu);

station.addObserver(new IPlanTowerObserver() {
@Override
Expand Down
4 changes: 2 additions & 2 deletions desktop/src/main/java/pmstation/helpers/ResourceHelper.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/
package pmstation.helpers;
Expand Down
6 changes: 3 additions & 3 deletions desktop/src/main/java/pmstation/observers/AQIColor.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/
package pmstation.observers;

import java.awt.Color;

// taken from Android version of pm-station-usb and slightly modified - kept levels the same though
// taken from Android version of pm-home-station and slightly modified - kept levels the same though
public enum AQIColor {
VERY_GOOD(Color.decode("#00ccff"), "Very good", 0),
GOOD(Color.decode("#00e400"), "Good", 1),
Expand Down
4 changes: 2 additions & 2 deletions desktop/src/main/java/pmstation/observers/ChartObserver.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/
package pmstation.observers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/
package pmstation.observers;
Expand Down
6 changes: 3 additions & 3 deletions desktop/src/main/java/pmstation/observers/LabelObserver.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/
package pmstation.observers;
Expand Down Expand Up @@ -122,4 +122,4 @@ private void loadIcons() {
}
}

}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* pm-station-usb
* 2017 (C) Copyright - https://github.com/rjaros87/pm-station-usb
* pm-home-station
* 2017 (C) Copyright - https://github.com/rjaros87/pm-home-station
* License: GPL 3.0
*/
package pmstation.plantower;
Expand Down
2 changes: 1 addition & 1 deletion desktop/src/main/resources/pmstation/html/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<center>
<img src="{resource}/app-icon-animated.gif" width="128" height="128"/>
<h1>Particulate Matter Sensor</h1>
<h1><a href="https://github.com/rjaros87/pm-station-usb">{project-name}</a> v.{version}</h1>
<h1><a href="https://github.com/rjaros87/pm-home-station">{project-name}</a> v.{version}</h1>
</center>

<h2>Authors</h2>
Expand Down
2 changes: 1 addition & 1 deletion desktop/src/main/resources/pmstation/license.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ Free for commercial use (http://bogdanrosu.com/)

app-icon.png (copy of ic_launcher-web.png):

https://github.com/rjaros87/pm-station-usb
https://github.com/rjaros87/pm-home-station


0 comments on commit 14e17d9

Please sign in to comment.