-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added some docs and made actions.ini to be just a sample file
- Loading branch information
Showing
2 changed files
with
20 additions
and
5 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,2 +1,15 @@ | ||
# ShellyActionRouter | ||
Simple tool written in Golang to allow multiple Actions.. | ||
ShellyActionRouter is a tiny action proxy written in Golang to allow multiple Actions per Shelly.. | ||
|
||
### Installation | ||
no installation needed, just extract the release files to a directory and execute the ShellyActionRouter binary. | ||
|
||
### Configuration | ||
add your actions to the actions.ini file.. see actions.ini for examples | ||
|
||
## configure the Shelly to trigger the action proxy | ||
``` | ||
http://<shelly-proxy:8888>/api/action/action1 | ||
``` | ||
where ```action1``` is the section name in the actions.ini file |
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,7 +1,9 @@ | ||
[action1] | ||
# [action1] | ||
# URL to the Shellys you want to control via the action | ||
url1 = http://192.168.178.212/relay/0?turn=toggle | ||
# url1 = http://192.168.178.212/relay/0?turn=toggle | ||
# url2 = http://192.168.178.212/relay/1?turn=toggle | ||
# ... | ||
|
||
[myaction2] | ||
url1 = http://192.168.178.212/relay/0?turn=off | ||
# [myaction2] | ||
# url1 = http://192.168.178.212/relay/0?turn=off | ||
|