diff options
| author | xengineering <me@xengineering.eu> | 2026-03-26 21:02:20 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-03-26 21:34:16 +0100 |
| commit | 0ec5e0034891075ca0c70c6d29e20442c8ddb46e (patch) | |
| tree | ffe261f4141c823bb6d345e6e22e12ec630b8ae5 /main.go | |
| parent | 443ba52ab3f49a28e8874ebcb5476e36c3defb4c (diff) | |
| download | sia-server-0ec5e0034891075ca0c70c6d29e20442c8ddb46e.tar sia-server-0ec5e0034891075ca0c70c6d29e20442c8ddb46e.tar.zst sia-server-0ec5e0034891075ca0c70c6d29e20442c8ddb46e.zip | |
Add Shelly / TP-Link device discovery
This announces Shelly and TP-Link devices with an empty MQTT message.
This makes it possible that a client can display the available devices.
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,8 +24,8 @@ func main() { go MQTTRun(config.MQTT, tx, coverMovement, plugAction) go HomematicRun(config.Homematic, tx) - go ShellyRun(config.Shelly, coverMovement) - go TPLinkRun(config.TPLink, plugAction) + go ShellyRun(config.Shelly, tx, coverMovement) + go TPLinkRun(config.TPLink, tx, plugAction) Await(syscall.SIGTERM, syscall.SIGINT) } |
