Skip to content

Commit

Permalink
added some docs and made actions.ini to be just a sample file
Browse files Browse the repository at this point in the history
  • Loading branch information
eurich committed Mar 7, 2020
1 parent 42bcfd2 commit 5ffe8d1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
15 changes: 14 additions & 1 deletion README.md
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
10 changes: 6 additions & 4 deletions actions.ini
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

0 comments on commit 5ffe8d1

Please sign in to comment.