summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2026-03-26 21:35:43 +0100
committerxengineering <me@xengineering.eu>2026-03-26 21:35:43 +0100
commit0fb9d297871e57372c469c6e8ca2b43813ed1f52 (patch)
treeffe261f4141c823bb6d345e6e22e12ec630b8ae5 /main.go
parenta965777d436f3bd68686e3b33066459c7ed5a01c (diff)
parent0ec5e0034891075ca0c70c6d29e20442c8ddb46e (diff)
downloadsia-server-0fb9d297871e57372c469c6e8ca2b43813ed1f52.tar
sia-server-0fb9d297871e57372c469c6e8ca2b43813ed1f52.tar.zst
sia-server-0fb9d297871e57372c469c6e8ca2b43813ed1f52.zip
Merge branch 'discovery'
This allows the client to discover the existence of Shelly and TP-Link devices.
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 3194359..ef59574 100644
--- a/main.go
+++ b/main.go
@@ -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)
}