Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MQTT Help
#4
<Generic Topic="stat/Relay183/POWER" BaseName="Relay183" Access="R" FldType="Boolean">
<PLFmt Type="BinText"/>
<BoolTextMap FalseOut="OFF" TrueOut="ON">
<BoolTextVal TarVal="False" MQTTVal="OFF"/>
<BoolTextVal TarVal="True" MQTTVal="ON"/>
</BoolTextMap>
</Generic>

<Generic Topic="cmnd/Relay183/POWER" BaseName="Relay183_Cmd" FldType="String" OnConnect=" " Retain="No"
Limits="Enum: On, Off, Toggle" Access="W">
<PLFmt Type="BinText"/>
<EnumMap>
<EnumVal FldVal="Off" MQTTVal="OFF"/>
<EnumVal FldVal="On" MQTTVal="ON"/>
<EnumVal FldVal="Toggle" MQTTVal="TOGGLE"/>
</EnumMap>
</Generic>

Thats basically whats in the how to for a relay using tasmota. Should be enough to get you going. Get yourself an MQTT Clinet for testing as well. I use MQTT.fx. That way you can connect to the broker and watch everything being published and you can even publish from the client. Definitely a tool that you need when setting up or troubleshooting
Mykel Koblenz
Illawarra Smart Home
Reply


Messages In This Thread
MQTT Help - by sic0048 - 12-02-2020, 08:40 PM
RE: MQTT Help - by sic0048 - 12-03-2020, 04:28 AM
RE: MQTT Help - by Dean Roddey - 12-04-2020, 04:51 PM
RE: MQTT Help - by znelbok - 12-04-2020, 08:45 PM
RE: MQTT Help - by sic0048 - 12-05-2020, 08:15 AM
RE: MQTT Help - by znelbok - 12-06-2020, 03:27 AM
RE: MQTT Help - by Dean Roddey - 12-05-2020, 09:08 AM
RE: MQTT Help - by sic0048 - 12-05-2020, 09:40 AM
RE: MQTT Help - by sic0048 - 12-05-2020, 11:19 AM
RE: MQTT Help - by Dean Roddey - 12-05-2020, 11:55 AM
RE: MQTT Help - by znelbok - 12-06-2020, 03:36 AM
RE: MQTT Help - by sic0048 - 12-06-2020, 01:07 PM
RE: MQTT Help - by sic0048 - 12-22-2020, 08:23 AM
RE: MQTT Help - by zaccari - 07-15-2021, 11:20 AM
RE: MQTT Help - by zaccari - 07-19-2021, 10:38 AM
RE: MQTT Help - by znelbok - 07-19-2021, 01:44 PM
RE: MQTT Help - by zaccari - 07-19-2021, 02:47 PM
RE: MQTT Help - by Shaky - 10-24-2021, 07:03 PM
RE: MQTT Help - by zaccari - 10-25-2021, 04:40 AM
RE: MQTT Help - by Shaky - 10-25-2021, 07:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  MQTT Verify Configuration not working znelbok 4 465 03-17-2022, 01:07 PM
Last Post: Dean Roddey
  Additional MQTT Support znelbok 5 2,020 05-14-2020, 03:55 PM
Last Post: Dean Roddey
  New MQTT support Dean Roddey 65 20,913 02-02-2020, 02:00 PM
Last Post: simplextech

Forum Jump:


Users browsing this thread: 1 Guest(s)