diff options
| author | xengineering <me@xengineering.eu> | 2026-03-26 17:46:54 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-03-26 17:46:54 +0100 |
| commit | 5c7284640a6f0ddc0aa80178d5a3b91a5123b6c8 (patch) | |
| tree | 958f4e62fa3489b7f306e243fbf78d0776a8b48d /main.go | |
| parent | aecc47c3f558dc3f0548d4c8e69f20ed893f5196 (diff) | |
| download | sia-server-5c7284640a6f0ddc0aa80178d5a3b91a5123b6c8.tar sia-server-5c7284640a6f0ddc0aa80178d5a3b91a5123b6c8.tar.zst sia-server-5c7284640a6f0ddc0aa80178d5a3b91a5123b6c8.zip | |
Add TP-Link HS100 support
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -20,10 +20,12 @@ func main() { tx := make(chan MQTTMessage) coverMovement := NewRoute("cover/+/movement", QoS2) + plugAction := NewRoute("plug/+/action", QoS2) - go MQTTRun(config.MQTT, tx, coverMovement) + go MQTTRun(config.MQTT, tx, coverMovement, plugAction) go HomematicRun(config.Homematic, tx) go ShellyRun(config.Shelly, coverMovement) + go TPLinkRun(config.TPLink, plugAction) Await(syscall.SIGTERM, syscall.SIGINT) } |
