-
Notifications
You must be signed in to change notification settings - Fork 1
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
13 changed files
with
308 additions
and
24 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,6 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
pip install -r requirements.txt | ||
|
||
echo Python Version ${TRAVIS_PYTHON_VERSION} | ||
|
||
if [ "${TRAVIS_PYTHON_VERSION}" != '3.5' ]; then | ||
pip install -e .[fritz] | ||
fi | ||
|
||
if [ "${TRAVIS_EVENT_TYPE:-none}" == 'cron' ]; then | ||
pip install -e .[faceR] | ||
fi |
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
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,10 @@ | ||
- name: fritzbox_tracker | ||
pull: | ||
plugin: pnp.plugins.pull.presence.FritzBoxTracker | ||
args: | ||
host: 169.254.1.1 # IP of your Fritz!Box. Default is 169.254.1.1 | ||
user: '' # User name. Default is admin | ||
password: admin # Password. Default is an empty string | ||
instant_run: true # ... and run as soon as pnp starts | ||
push: | ||
- plugin: pnp.plugins.push.simple.Echo |
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,41 @@ | ||
# pnp.plugins.pull.net.PortProbe | ||
|
||
Periodically asks a Fritz!Box router for the devices that were connected in the past or right now. | ||
|
||
Requires extra `fritz` (`pip install pnp[fritz]`) , which is only compatible with python 3.6 or newer. | ||
|
||
__Arguments__ | ||
|
||
- **host (str, optional)**: The IP address of your Fritz!Box. Default is 169.254.1.1</br> | ||
- **user (str, optional)**: The user to use. Default is admin.<br/> | ||
- **password (str, optional)**: The password to use. Default is an empty string. | ||
|
||
Hint: By using the default values you should be able to connect to your Fritz!Box, because the necessary operation | ||
can be performed anonymously. | ||
|
||
__Result__ | ||
|
||
```yaml | ||
{ | ||
"ip": "192.168.178.2", | ||
"mac": "00:0a:95:9d:68:16", | ||
"status": "active", | ||
"name": "pc1" | ||
} | ||
``` | ||
|
||
__Examples__ | ||
|
||
```yaml | ||
- name: fritzbox_tracker | ||
pull: | ||
plugin: pnp.plugins.pull.presence.FritzBoxTracker | ||
args: | ||
host: 169.254.1.1 # IP of your Fritz!Box. Default is 169.254.1.1 | ||
user: '' # User name. Default is admin | ||
password: admin # Password. Default is an empty string | ||
instant_run: true # ... and run as soon as pnp starts | ||
push: | ||
- plugin: pnp.plugins.push.simple.Echo | ||
|
||
``` |
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,29 @@ | ||
# pnp.plugins.pull.net.PortProbe | ||
|
||
Periodically asks a Fritz!Box router for the devices that were connected in the past or right now. | ||
|
||
Requires extra `fritz` (`pip install pnp[fritz]`) , which is only compatible with python 3.6 or newer. | ||
|
||
__Arguments__ | ||
|
||
- **host (str, optional)**: The IP address of your Fritz!Box. Default is 169.254.1.1</br> | ||
- **user (str, optional)**: The user to use. Default is admin.<br/> | ||
- **password (str, optional)**: The password to use. Default is an empty string. | ||
|
||
Hint: By using the default values you should be able to connect to your Fritz!Box, because the necessary operation | ||
can be performed anonymously. | ||
|
||
__Result__ | ||
|
||
```yaml | ||
{ | ||
"ip": "192.168.178.2", | ||
"mac": "00:0a:95:9d:68:16", | ||
"status": "active", | ||
"name": "pc1" | ||
} | ||
``` | ||
|
||
__Examples__ | ||
|
||
!INCLUDECODE "docs/plugins/pull/presence.FritzBoxTracker/example.yaml" (yaml) |
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.