mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-06 08:24:27 +01:00
mqtt: config required fields
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
|
||||
<div class="pure-control-group">
|
||||
<label>Root Topic</label>
|
||||
<input name="mqttTopic" type="text">
|
||||
<input name="mqttTopic" type="text" required >
|
||||
<span class="pure-form-message-inline">
|
||||
This is the root topic for this device. The following placeholders can be used: {hostname} and {mac} to dynamically set the value to the device hostname and MAC address respectively. Subscribe to <samp><root>/#</samp> to see all published topics.
|
||||
</span>
|
||||
@@ -121,7 +121,7 @@
|
||||
|
||||
<div class="pure-control-group">
|
||||
<label>Topic name</label>
|
||||
<input type="text" name="mqttJson">
|
||||
<input type="text" name="mqttJson" required >
|
||||
<span class="pure-form-message">
|
||||
JSON message will be sent to <strong><root>/<name></strong> topic (<strong>data</strong> by default).
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user