This name will identify this device in your network (this name will be used as DHCP hostname, thus the device will be accessible as http://<hostname>). Notice that this value may contain only the <strong>ASCII letters 'a' through 'z'</strong> (in a case-insensitive manner), <strong>digits '0' through '9'</strong>, and <strong>the hyphen ('-')</strong>. The hostname can neither start or end with a hyphen.<br>
For this setting to take effect only on initial connection to the network, make sure to <code>Reconnect</code> if the device is already connected.
Instead of the global hostname setting, use this string to identify the device
</span>
</div>
</fieldset>
<fieldset>
<legend>Heartbeat</legend>
<divclass="pure-control-group">
<label>Heartbeat messages</label>
<label>Mode</label>
<selectclass="pure-input-2-3"name="hbMode">
<optionvalue="no">Disabled</option>
<optionvalue="once">Once per connection</option>
@ -421,16 +435,16 @@
</div>
<divclass="pure-control-group">
<label>Heartbeat interval</label>
<label>Message interval</label>
<inputname="hbInterval"type="number"min="1">
<spanclass="pure-form-message-inline hint">
<spanclass="pure-form-message-inline">
How often the heartbeat messages should be sent (number of <strong>seconds</strong>).
</span>
</div>
<divclass="pure-control-group">
<label>Heartbeat report</label>
<selectmultiplename="hbReport">
<label>Message types</label>
<selectmultiplename="hbReport">
<optionvalue="1">Device status</option>
<optionvalue="2">SSID</option>
<optionvalue="21">BSSID</option>
@ -441,8 +455,10 @@
<optionvalue="7">Datetime</option>
<optionvalue="8">Free heap</option>
<optionvalue="9">VCC</option>
<optionvalue="10">Relays status</option>
<optionvalue="11">Lights status</option>
<optionvalue="10">Relay(s) status</option>
<!-- removeIf(!light) -->
<optionvalue="11">Light(s) status</option>
<!-- endRemoveIf(!light) -->
<optionvalue="12">Hostname</option>
<optionvalue="13">App name</option>
<optionvalue="14">App version</option>
@ -450,14 +466,15 @@
<optionvalue="16">Loadavg</option>
<optionvalue="17">Heartbeat interval</option>
<optionvalue="18">Device description</option>
<!-- removeIf(!thermostat) -->
<optionvalue="19">Temperature range</option>
<optionvalue="20">Remote temperature</option>
<!-- endRemoveIf(!thermostat) -->
</select>
<spanclass="pure-form-message-inline hint">
Enable or disable specific heartbeat message types.
<spanclass="pure-form-message-inline">
Select which message types will be sent out with the periodic report.
</span>
</div>
</fieldset>
</div>
@ -477,7 +494,7 @@
<details>
<summary>Available modes</summary>
<olclass="pure-u-1 pure-u-lg-3-4 hint">
<olclass="pure-u-1 pure-u-lg-3-4">
<li><strong>WiFi status</strong> will blink at 1Hz when attempting to connect. If successfully connected it will briefly blink every 5 seconds if in STA mode, or every second if the device is still in AP mode.</li>
<li><strong>Follow switch</strong> will force the LED to follow the status of a given switch (defaults to the 1st switch, use the selector to change it).</li>
<li><strong>Inverse switch</strong> is same as the above, but using the inverse status as status of the LED.</li>
Leave blank when broker allows anonymous connections. You can also use the following placeholders: {hostname}, {mac}
</div>
</div>
@ -1082,7 +1099,7 @@
<divclass="pure-control-group">
<label>MQTT Client ID</label>
<inputname="mqttClientID"type="text">
<spanclass="pure-form-message-inline hint">
<spanclass="pure-form-message-inline">
When left empty, the firmware will generate a client ID based on the MAC address of the chip. The following placeholders are also supported: {hostname}, {mac}
This is the fingerprint for the SSL certificate of the server.<br>
You can get it using <aclass="external"href="https://www.grc.com/fingerprints.htm">https://www.grc.com/fingerprints.htm</a> (if it is publically available)<br>
or, using <aclass="external"href="https://www.openssl.org/">openssl</a>. For example, on a Linux / macOS machine:<br>
@ -1122,7 +1139,7 @@
<divclass="pure-control-group">
<label>MQTT Root Topic</label>
<inputname="mqttTopic"type="text">
<spanclass="pure-form-message-inline hint">
<spanclass="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.<br>
- <strong><root>/relay/#/set</strong> Send a 0 or a 1 as a payload to this topic to switch it on or off. You can also send a 2 to toggle its current state. Replace # with the switch ID (starting from 0). If the board has only one switch it will be 0.<br>