mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-20 22:05:13 +00:00
additional mqtt configuration
This commit is contained in:
parent
a5129ec1ed
commit
bcdcaf6e9e
3 changed files with 54 additions and 3 deletions
|
|
@ -3,6 +3,7 @@ from owrx.form.section import Section
|
|||
from owrx.form.input.converter import OptionalConverter
|
||||
from owrx.form.input.aprs import AprsBeaconSymbols, AprsAntennaDirections
|
||||
from owrx.form.input import TextInput, CheckboxInput, DropdownInput, NumberInput
|
||||
from owrx.form.input.validator import AddressAndOptionalPortValidator
|
||||
from owrx.breadcrumb import Breadcrumb, BreadcrumbItem
|
||||
|
||||
|
||||
|
|
@ -98,7 +99,15 @@ class ReportingController(SettingsFormController):
|
|||
),
|
||||
TextInput(
|
||||
"mqtt_host",
|
||||
"MQTT Host",
|
||||
"MQTT Broker address",
|
||||
infotext="Addresss of the MQTT broker to send decodes to (address[:port])",
|
||||
validator=AddressAndOptionalPortValidator(),
|
||||
),
|
||||
TextInput(
|
||||
"mqtt_topic",
|
||||
"MQTT topic",
|
||||
infotext="MQTT topic to publish decodes to (default: openwebrx/decodes)",
|
||||
converter=OptionalConverter(),
|
||||
),
|
||||
)
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue