Compare commits
No commits in common. "b874d2b16401e1e4b60c3f31b4910ecaec7a22f1" and "86a1aabd55f9fe878f2ea8a3abd40b7ae83ea198" have entirely different histories.
b874d2b164
...
86a1aabd55
10
README.md
10
README.md
@ -81,3 +81,13 @@ Payload: `["1"]`
|
|||||||
**Behringer Wing get info**<br/>
|
**Behringer Wing get info**<br/>
|
||||||
Topic: osc/behringer_wing/send/?<br/>
|
Topic: osc/behringer_wing/send/?<br/>
|
||||||
Payload:
|
Payload:
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
```bash
|
||||||
|
go build
|
||||||
|
```
|
||||||
|
|
||||||
|
## Config file location
|
||||||
|
|
||||||
|
Same directory as the binary, in your home directory at `~/.config/mqtt-osc-bridge/config.yaml`, or under etc at `/etc/mqtt-osc-bridge/config.yaml`.
|
||||||
|
2
relay.go
2
relay.go
@ -52,7 +52,7 @@ type RelayOscSubscription struct {
|
|||||||
// Command: The command to send every interval.
|
// Command: The command to send every interval.
|
||||||
Command string `yaml:"command" json:"command"`
|
Command string `yaml:"command" json:"command"`
|
||||||
// Payload: Payload to send.
|
// Payload: Payload to send.
|
||||||
Payload []interface{} `yaml:"default_payload" json:"default_payload"`
|
Payload []interface{} `yaml:"payload" json:"payload"`
|
||||||
// Interval: How often to call the command.
|
// Interval: How often to call the command.
|
||||||
Interval time.Duration `yaml:"interval" json:"interval"`
|
Interval time.Duration `yaml:"interval" json:"interval"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user