Compare commits
No commits in common. "86a1aabd55f9fe878f2ea8a3abd40b7ae83ea198" and "b874d2b16401e1e4b60c3f31b4910ecaec7a22f1" have entirely different histories.
86a1aabd55
...
b874d2b164
10
README.md
10
README.md
@ -81,13 +81,3 @@ 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:"payload" json:"payload"`
|
Payload []interface{} `yaml:"default_payload" json:"default_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