mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-19 01:36:49 +00:00
61 lines
3.2 KiB
HTML
61 lines
3.2 KiB
HTML
<form method="post" action="/save">
|
|
<input type="hidden" name="domoConfig" value="true"/>
|
|
<div class="my-3 p-3 bg-white rounded shadow">
|
|
<p>Domoticz Configuration. Requires that a Domoticz MQTT-message-broker is setup. HOWTO: https://www.domoticz.com/wiki/MQTT.</p>
|
|
<p>The following virtual sensors can currently be used:</p>
|
|
<ul>
|
|
<li>Electricity (instant and counter)</li>
|
|
<li>Electricity Current/Ampere 3 Phase</li>
|
|
<li>Voltage</li>
|
|
</ul>
|
|
<p>see: <a href="https://www.domoticz.com/wiki/Domoticz_API/JSON_URL's">https://www.domoticz.com/wiki/Domoticz_API/JSON_URL's</a></p>
|
|
<p>Create the sensors in Domoticz under Hardware > Dummy > Create virtual sensor, and use the IDX assigned to the sensor as input here.</p>
|
|
<p>"Electricity (instant and counter)" relies on Total energy import "tPI" and will not start before the first value is read (once an hour).</p>
|
|
</div>
|
|
<div class="my-3 p-3 bg-white rounded shadow">
|
|
<div class="d-flex flex-row flex-wrap">
|
|
<div class="m-2 input-group input-group-sm" style="width: 200px;">
|
|
<div class="input-group-prepend">
|
|
<span class="input-group-text">Electricity IDX</span>
|
|
</div>
|
|
<input type="number" class="form-control" name="domoELIDX" value="${config.domoELIDX}" min="0" max="65535"/>
|
|
</div>
|
|
<div class="m-2 input-group input-group-sm" style="width: 240px;">
|
|
<div class="input-group-prepend">
|
|
<span class="input-group-text">Current (3 Phase) IDX</span>
|
|
</div>
|
|
<input type="number" class="form-control" name="domoCL1IDX" value="${config.domoCL1IDX}" min="0" max="65535"/>
|
|
</div>
|
|
</div>
|
|
<div class="d-flex flex-row flex-wrap">
|
|
<div class="m-2 input-group input-group-sm" style="width: 200px;">
|
|
<div class="input-group-prepend">
|
|
<span class="input-group-text">Voltage L1 IDX</span>
|
|
</div>
|
|
<input type="number" class="form-control" name="domoVL1IDX" value="${config.domoVL1IDX}" min="0" max="65535"/>
|
|
</div>
|
|
<div class="m-2 input-group input-group-sm" style="width: 200px;">
|
|
<div class="input-group-prepend">
|
|
<span class="input-group-text">Voltage L1 IDX</span>
|
|
</div>
|
|
<input type="number" class="form-control" name="domoVL2IDX" value="${config.domoVL2IDX}" min="0" max="65535"/>
|
|
</div>
|
|
<div class="m-2 input-group input-group-sm" style="width: 200px;">
|
|
<div class="input-group-prepend">
|
|
<span class="input-group-text">Voltage L1 IDX</span>
|
|
</div>
|
|
<input type="number" class="form-control" name="domoVL3IDX" value="${config.domoVL3IDX}" min="0" max="65535"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr/>
|
|
<div class="row form-group">
|
|
<div class="col-6">
|
|
<a href="/" class="btn btn-outline-secondary">Back</a>
|
|
</div>
|
|
<div class="col-6 text-right">
|
|
<button class="btn btn-primary">Save</button>
|
|
</div>
|
|
</div>
|
|
</form>
|