-
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.
- Added GitHub action for build tests - Added GitHub action for auto-release when pushing to master - Generate Version.txt which can be used when invoking GitHub hub release - Fixed README - Use standard GitHub .gitignore file
- Loading branch information
1 parent
ff1c3b1
commit a4d29c1
Showing
7 changed files
with
158 additions
and
31 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Build & Publish Debug APK | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Make Gradle executable | ||
run: chmod +x ./gradlew | ||
- name: Fix Gradle | ||
run: gradle wrapper --stacktrace | ||
- name: Build with Gradle | ||
run: ./gradlew build --stacktrace | ||
- name: Build Debug APK | ||
run: ./gradlew assembleDebug --stacktrace | ||
- name: Generate version.txt for Hub release | ||
run: ./gradlew generateVersionTxt | ||
- name: Releasing using Hub | ||
uses: valley-fordham/action-release-debugapk@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.TOKEN }} | ||
APP_FOLDER: mobile | ||
RELEASE_TITLE: Carport Door Manager |
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,21 @@ | ||
name: Build | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Make Gradle executable | ||
run: chmod +x ./gradlew | ||
- name: Fix Gradle | ||
run: gradle wrapper --stacktrace | ||
- name: Build with Gradle | ||
run: ./gradlew build --stacktrace |
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
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,8 +1,23 @@ | ||
Carport Door Manager for Android | ||
|
||
Features: | ||
- big shiny button for opening/closing your carport door | ||
- door status displayed on screen | ||
- automatic background service checks the status of your door and displays a toast notification if open, will display an error if unavailable | ||
- environment configurable - point to your home server and provide URL parameters which suit your environment | ||
- app-side polling configurable - modify the interval of door status checks for both the main screen and background service | ||
# Carport Door Manager for Android | ||
|
||
Simple carport door controller, designed to interface with a home web server which can open/close/stop and return the status of your carport door. | ||
|
||
### Features: | ||
- Big shiny button for opening/closing/stopping your carport door | ||
- Door status displayed on screen | ||
- Automatic background service checks the status of your door and displays a toast notification if open, will display an error if unavailable | ||
- Environment configurable - point to your home server and provide URL parameters which suit your environment | ||
- App-side polling configurable - modify the interval of door status checks for both the main screen and background service | ||
|
||
## Install | ||
1. Setup a home web server that can listen for your web-hooks and operate the door/return its status | ||
2. Download and install the latest [APK](https://github.com/valley-fordham/carportdoormanager/releases) | ||
|
||
## Usage | ||
1. Open the 'Door Manager' app, and click the 'Settings' spanner | ||
2. Set the Host details and the URL parameters to suit your web server. (optional: modification of the default polling intervals is optional but not required) | ||
3. Press the big button to open/close/stop your carport door (this may depend on how you've interfaced your web server with your carport door) | ||
4. A message will report success or failure of the button trigger | ||
|
||
## License | ||
[![Creative Commons Licence](https://i.creativecommons.org/l/by-nc/4.0/88x31.png)](http://creativecommons.org/licenses/by-nc/4.0/) |
Binary file not shown.
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,6 @@ | ||
#Sat Jun 20 19:49:05 ACST 2020 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip |
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