<divclass="pure-u-1 pure-u-md-3-4 hint">Send a 0 or a 1 as a payload to the provided topic below to switch it on or off. You can also send a 2 to toggle its current state. The switch will also report its current open/close status to the same topic and its IP address, hertbeat, firmware version and file system version to the topic you define plus "/ip", "/heartbeat", "/version" and "/fsversion" respectively. </div>
<divclass="pure-u-1 pure-u-md-3-4 hint">This is the root topic for this device. The {identifier} placeholder will be replaces by the device hostname.<br/>
- <strong><root>/relay/#</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 relay ID (starting from 0). If the board has only one relay it will be 0.<br/>
- <strong><root>/led/#</strong> Send a 0 or a 1 as a payload to this topic to set the onboard LED to the given state, send a 3 to turn it back to WIFI indicator. Replace # with the LED ID (starting from 0). If the board has only one LED it will be 0.<br/>
- <strong><root>/ip</strong> The device will report to this topic its IP.<br/>
- <strong><root>/heartbeat</strong> The device will report to this topic every few minutes.<br/>
- <strong><root>/version</strong> The device will report to this topic its firmware version on boot.<br/>
</div>
</fieldset>
</div>
</div>
<divclass="panel"id="panel-domoticz">
<divclass="header">
<h1>DOMOTICZ</h1>
<h2>
Configure the connection to your Domoticz server.
</h2>
</div>
<divclass="page">
<fieldset>
<divclass="pure-g">
<labelclass="pure-u-1 pure-u-md-1-4"for="dczTopicIn">Domoticz IN Topic</label>
<divclass="pure-u-1 pure-u-md-3-4 hint">If you are using a pure resistive load like a bulb this will be writen on it, otherwise use a socket multimeter to get this value.</div>