185 lines
7.3 KiB
Plaintext
185 lines
7.3 KiB
Plaintext
<devices>
|
|
<device id="plug01" name="tasmotaplug" driver="mqtt">
|
|
<mqtttopics>
|
|
<mqtttopic type="json" direction="in" name="sensor">
|
|
<topic>tele/tasmota/plug01/SENSOR</topic>
|
|
<mask>tele/tasmota/*/SENSOR</mask>
|
|
<beforeId>tele/tasmota/</beforeId>
|
|
<afterId>/SENSOR</afterId>
|
|
<values>
|
|
<value name="powerusage" units="W" path="ENERGY/POWER" type="sensor"></value>
|
|
<value name="totalenergy" units="kWh" path="ENERGY/TOTAL" type="sensor"></value>
|
|
<value name="apparentpower" units="VA" path="ENERGY/ApparentPower" type="sensor"></value>
|
|
<value name="reactivepower" units="VAr" path="ENERGY/ReactivePower" type="sensor"></value>
|
|
<value name="powerfactor" path="ENERGY/Factor" type="sensor"></value>
|
|
<value name="voltage" units="V" path="ENERGY/Voltage" type="sensor"></value>
|
|
<value name="current" units="A" path="ENERGY/Current" type="sensor"></value>
|
|
</values>
|
|
</mqtttopic>
|
|
<mqtttopic type="num" direction="out" name="power">
|
|
<beforeId>cmnd/tasmota/</beforeId>
|
|
<afterId>/Power</afterId>
|
|
<values>
|
|
<value name="power" type="actor"></value>
|
|
</values>
|
|
</mqtttopic>
|
|
</mqtttopics>
|
|
</device>
|
|
<device id="plug02" name="tasmotaplug" driver="mqtt">
|
|
<mqtttopics>
|
|
<mqtttopic type="json" direction="in" name="sensor">
|
|
<topic>tele/tasmota/plug02/SENSOR</topic>
|
|
<mask>tele/tasmota/*/SENSOR</mask>
|
|
<beforeId>tele/tasmota/</beforeId>
|
|
<afterId>/SENSOR</afterId>
|
|
<values>
|
|
<value name="powerusage" units="W" path="ENERGY/POWER" type="sensor"></value>
|
|
<value name="totalenergy" units="kWh" path="ENERGY/TOTAL" type="sensor"></value>
|
|
<value name="apparentpower" units="VA" path="ENERGY/ApparentPower" type="sensor"></value>
|
|
<value name="reactivepower" units="VAr" path="ENERGY/ReactivePower" type="sensor"></value>
|
|
<value name="powerfactor" path="ENERGY/Factor" type="sensor"></value>
|
|
<value name="voltage" units="V" path="ENERGY/Voltage" type="sensor"></value>
|
|
<value name="current" units="A" path="ENERGY/Current" type="sensor"></value>
|
|
</values>
|
|
</mqtttopic>
|
|
<mqtttopic type="num" direction="out" name="power">
|
|
<beforeId>cmnd/tasmota/</beforeId>
|
|
<afterId>/Power</afterId>
|
|
<values>
|
|
<value name="power" type="actor"></value>
|
|
</values>
|
|
</mqtttopic>
|
|
</mqtttopics>
|
|
</device>
|
|
<device id="plug03" name="tasmotaplug" driver="mqtt">
|
|
<mqtttopics>
|
|
<mqtttopic type="json" direction="in" name="sensor">
|
|
<topic>tele/tasmota/plug03/SENSOR</topic>
|
|
<mask>tele/tasmota/*/SENSOR</mask>
|
|
<beforeId>tele/tasmota/</beforeId>
|
|
<afterId>/SENSOR</afterId>
|
|
<values>
|
|
<value name="powerusage" units="W" path="ENERGY/POWER" type="sensor"></value>
|
|
<value name="totalenergy" units="kWh" path="ENERGY/TOTAL" type="sensor"></value>
|
|
<value name="apparentpower" units="VA" path="ENERGY/ApparentPower" type="sensor"></value>
|
|
<value name="reactivepower" units="VAr" path="ENERGY/ReactivePower" type="sensor"></value>
|
|
<value name="powerfactor" path="ENERGY/Factor" type="sensor"></value>
|
|
<value name="voltage" units="V" path="ENERGY/Voltage" type="sensor"></value>
|
|
<value name="current" units="A" path="ENERGY/Current" type="sensor"></value>
|
|
</values>
|
|
</mqtttopic>
|
|
<mqtttopic type="num" direction="out" name="power">
|
|
<beforeId>cmnd/tasmota/</beforeId>
|
|
<afterId>/Power</afterId>
|
|
<values>
|
|
<value name="power" type="actor"></value>
|
|
</values>
|
|
</mqtttopic>
|
|
</mqtttopics>
|
|
</device>
|
|
<device id="109C2F" name="tasmotaplug" driver="mqtt">
|
|
<mqtttopics>
|
|
<mqtttopic type="json" direction="in" name="sensor">
|
|
<topic>tele/tasmota_109C2F/SENSOR</topic>
|
|
<mask>tele/tasmota_*/SENSOR</mask>
|
|
<beforeId>tele/tasmota_</beforeId>
|
|
<afterId>/SENSOR</afterId>
|
|
<values>
|
|
<value name="powerusage" units="W" path="ENERGY/POWER" type="sensor"></value>
|
|
<value name="totalenergy" units="kWh" path="ENERGY/TOTAL" type="sensor"></value>
|
|
<value name="apparentpower" units="VA" path="ENERGY/ApparentPower" type="sensor"></value>
|
|
<value name="reactivepower" units="VAr" path="ENERGY/ReactivePower" type="sensor"></value>
|
|
<value name="powerfactor" path="ENERGY/Factor" type="sensor"></value>
|
|
<value name="voltage" units="V" path="ENERGY/Voltage" type="sensor"></value>
|
|
<value name="current" units="A" path="ENERGY/Current" type="sensor"></value>
|
|
</values>
|
|
</mqtttopic>
|
|
<mqtttopic type="num" direction="out" name="power">
|
|
<beforeId>cmnd/tasmota/</beforeId>
|
|
<afterId>/Power</afterId>
|
|
<values>
|
|
<value name="power" type="actor"></value>
|
|
</values>
|
|
</mqtttopic>
|
|
</mqtttopics>
|
|
</device>
|
|
<device id="10359B" name="tasmotaplug" driver="mqtt">
|
|
<mqtttopics>
|
|
<mqtttopic type="json" direction="in" name="sensor">
|
|
<topic>tele/tasmota_10359B/SENSOR</topic>
|
|
<mask>tele/tasmota_*/SENSOR</mask>
|
|
<beforeId>tele/tasmota_</beforeId>
|
|
<afterId>/SENSOR</afterId>
|
|
<values>
|
|
<value name="powerusage" units="W" path="ENERGY/POWER" type="sensor"></value>
|
|
<value name="totalenergy" units="kWh" path="ENERGY/TOTAL" type="sensor"></value>
|
|
<value name="apparentpower" units="VA" path="ENERGY/ApparentPower" type="sensor"></value>
|
|
<value name="reactivepower" units="VAr" path="ENERGY/ReactivePower" type="sensor"></value>
|
|
<value name="powerfactor" path="ENERGY/Factor" type="sensor"></value>
|
|
<value name="voltage" units="V" path="ENERGY/Voltage" type="sensor"></value>
|
|
<value name="current" units="A" path="ENERGY/Current" type="sensor"></value>
|
|
</values>
|
|
</mqtttopic>
|
|
<mqtttopic type="num" direction="out" name="power">
|
|
<beforeId>cmnd/tasmota_</beforeId>
|
|
<afterId>/Power</afterId>
|
|
<values>
|
|
<value name="power" type="actor"></value>
|
|
</values>
|
|
</mqtttopic>
|
|
</mqtttopics>
|
|
</device>
|
|
<device id="0F25C2" name="tasmotaplug" driver="mqtt">
|
|
<mqtttopics>
|
|
<mqtttopic type="json" direction="in" name="sensor">
|
|
<topic>tele/tasmota_0F25C2/SENSOR</topic>
|
|
<mask>tele/tasmota_*/SENSOR</mask>
|
|
<beforeId>tele/tasmota_</beforeId>
|
|
<afterId>/SENSOR</afterId>
|
|
<values>
|
|
<value name="powerusage" units="W" path="ENERGY/POWER" type="sensor"></value>
|
|
<value name="totalenergy" units="kWh" path="ENERGY/TOTAL" type="sensor"></value>
|
|
<value name="apparentpower" units="VA" path="ENERGY/ApparentPower" type="sensor"></value>
|
|
<value name="reactivepower" units="VAr" path="ENERGY/ReactivePower" type="sensor"></value>
|
|
<value name="powerfactor" path="ENERGY/Factor" type="sensor"></value>
|
|
<value name="voltage" units="V" path="ENERGY/Voltage" type="sensor"></value>
|
|
<value name="current" units="A" path="ENERGY/Current" type="sensor"></value>
|
|
</values>
|
|
</mqtttopic>
|
|
<mqtttopic type="num" direction="out" name="power">
|
|
<beforeId>cmnd/tasmota_</beforeId>
|
|
<afterId>/Power</afterId>
|
|
<values>
|
|
<value name="power" type="actor"></value>
|
|
</values>
|
|
</mqtttopic>
|
|
</mqtttopics>
|
|
</device>
|
|
<device id="10A4B7" name="tasmotaplug" driver="mqtt">
|
|
<mqtttopics>
|
|
<mqtttopic type="json" direction="in" name="sensor">
|
|
<topic>tele/tasmota_10A4B7/SENSOR</topic>
|
|
<mask>tele/tasmota_*/SENSOR</mask>
|
|
<beforeId>tele/tasmota_</beforeId>
|
|
<afterId>/SENSOR</afterId>
|
|
<values>
|
|
<value name="powerusage" units="W" path="ENERGY/POWER" type="sensor"></value>
|
|
<value name="totalenergy" units="kWh" path="ENERGY/TOTAL" type="sensor"></value>
|
|
<value name="apparentpower" units="VA" path="ENERGY/ApparentPower" type="sensor"></value>
|
|
<value name="reactivepower" units="VAr" path="ENERGY/ReactivePower" type="sensor"></value>
|
|
<value name="powerfactor" path="ENERGY/Factor" type="sensor"></value>
|
|
<value name="voltage" units="V" path="ENERGY/Voltage" type="sensor"></value>
|
|
<value name="current" units="A" path="ENERGY/Current" type="sensor"></value>
|
|
</values>
|
|
</mqtttopic>
|
|
<mqtttopic type="num" direction="out" name="power">
|
|
<beforeId>cmnd/tasmota_</beforeId>
|
|
<afterId>/Power</afterId>
|
|
<values>
|
|
<value name="power" type="actor"></value>
|
|
</values>
|
|
</mqtttopic>
|
|
</mqtttopics>
|
|
</device>
|
|
</devices>
|