-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from TomerFi/Touch-ups
Touch ups
- Loading branch information
Showing
15 changed files
with
278 additions
and
160 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
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
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.git | ||
.tox* | ||
.coverage | ||
.coveragerc | ||
.dockerignore | ||
.env_vars | ||
.gitignore | ||
.prettierignore | ||
Dockerfile | ||
Makefile | ||
pylintrc | ||
VERSION | ||
*.txt | ||
*.ini | ||
*.py | ||
*.sh | ||
*cache | ||
*pycache* | ||
src | ||
include | ||
bin | ||
lib | ||
log | ||
share |
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,7 @@ | ||
endOfLine: "lf" | ||
overrides: | ||
- files: "*.md" | ||
parser: "markdown" | ||
- files: "*.yml" | ||
parser: "yaml" | ||
single-quote: false |
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 |
---|---|---|
|
@@ -7,29 +7,31 @@ ARG VERSION | |
ARG TIMEZONE="Asia/Jerusalem" | ||
|
||
LABEL org.label-schema.build-date=$BUILD_DATE \ | ||
org.label-schema.name="tomerfi/switcher_webapi" \ | ||
org.label-schema.description="Unofficial WebAPI integration with the switcher water heater." \ | ||
org.label-schema.url="https://hub.docker.com/r/tomerfi/switcher_webapi" \ | ||
org.label-schema.vcs-url="https://github.com/TomerFi/switcher_webapi" \ | ||
org.label-schema.vcs-ref=$VCS_REF \ | ||
org.label-schema.version=$VERSION \ | ||
org.label-schema.schema-version="1.0" \ | ||
org.label-schema.docker.cmd="docker run -d -p 8000:8000 \ | ||
-e CONF_DEVICE_IP_ADDR=192.168.100.157 \ | ||
-e CONF_PHONE_ID=1234 \ | ||
-e CONF_DEVICE_ID=ab1c2d \ | ||
-e CONF_DEVICE_PASSWORD=12345678 \ | ||
-e CONF_THROTTLE=5.0 \ | ||
--name switcher_webapi tomerfi/switcher_webapi:latest" \ | ||
org.label-schema.docker.params="CONF_DEVICE_IP_ADDR=string static ip address of the device \ | ||
CONF_PHONE_ID=string phone id from your device \ | ||
CONF_DEVICE_ID=string device's id \ | ||
CONF_DEVICE_PASSWORD=string device's password \ | ||
CONF_THROTTLE=float throttle time between consecutive requests - default is 5.0" \ | ||
license="MIT" \ | ||
maintainer="[email protected]" \ | ||
manufacturer-url="https://switcher.co.il/" \ | ||
community-url="https://www.dockeril.net/" | ||
org.label-schema.name="tomerfi/switcher_webapi" \ | ||
org.label-schema.description="Unofficial WebAPI integration with the switcher water heater." \ | ||
org.label-schema.url="https://hub.docker.com/r/tomerfi/switcher_webapi" \ | ||
org.label-schema.vcs-url="https://github.com/TomerFi/switcher_webapi" \ | ||
org.label-schema.vcs-ref=$VCS_REF \ | ||
org.label-schema.version=$VERSION \ | ||
org.label-schema.schema-version="1.0" \ | ||
org.label-schema.docker.cmd="\ | ||
docker run -d -p 8000:8000 \ | ||
-e CONF_DEVICE_IP_ADDR=192.168.100.157 \ | ||
-e CONF_PHONE_ID=1234 \ | ||
-e CONF_DEVICE_ID=ab1c2d \ | ||
-e CONF_DEVICE_PASSWORD=12345678 \ | ||
-e CONF_THROTTLE=5.0 \ | ||
--name switcher_webapi tomerfi/switcher_webapi:latest" \ | ||
org.label-schema.docker.params="\ | ||
CONF_DEVICE_IP_ADDR=string static ip address of the device \ | ||
CONF_PHONE_ID=string phone id from your device \ | ||
CONF_DEVICE_ID=string device's id \ | ||
CONF_DEVICE_PASSWORD=string device's password \ | ||
CONF_THROTTLE=float throttle time between consecutive requests - default is 5.0" \ | ||
license="MIT" \ | ||
maintainer="Tomer Figenblat <[email protected]>" \ | ||
manufacturer-url="https://switcher.co.il/" \ | ||
community-url="https://www.dockeril.net/" | ||
|
||
RUN ln -fs /usr/share/zoneinfo/$TIMEZONE /etc/localtime | ||
|
||
|
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
Oops, something went wrong.