This commit is contained in:
parent
1e839fd766
commit
7fba9080b4
1 changed files with 13 additions and 0 deletions
|
@ -38,6 +38,19 @@ defmodule WeewxProxy.Mqtt do
|
|||
password: Application.fetch_env!(:weewx_proxy, :mqtt_weewx_password),
|
||||
handler: {Tortoise311.Handler.Logger, []}
|
||||
]},
|
||||
{Tortoise311.Connection,
|
||||
[
|
||||
name: WeewxProxy.Mqtt.SdrIngest,
|
||||
client_id: Application.fetch_env!(:weewx_proxy, :mqtt_sdr_client_id),
|
||||
server:
|
||||
{Tortoise311.Transport.Tcp,
|
||||
host: Application.fetch_env!(:weewx_proxy, :mqtt_sdr_host),
|
||||
port: Application.fetch_env!(:weewx_proxy, :mqtt_sdr_port)},
|
||||
user_name: Application.fetch_env!(:weewx_proxy, :mqtt_sdr_user),
|
||||
password: Application.fetch_env!(:weewx_proxy, :mqtt_sdr_password),
|
||||
subscriptions: ["rtl433"],
|
||||
handler: {WeewxProxy.Sdr.Ecowitt, []}
|
||||
]},
|
||||
{Tortoise311.Connection,
|
||||
[
|
||||
name: WeewxProxy.Mqtt.ModbusIngest,
|
||||
|
|
Loading…
Reference in a new issue