TomJ Posted Saturday at 05:36 AM Posted Saturday at 05:36 AM (edited) I was able to get the MQTT Poly to work with switches using "ON" or "OFF" as the message payload. What about the message format for the other node types? For example, I was trying to experiment with a temperature sensor node. It shows up in the admin console just fine, but I am unable to figure out what the message payload format for this node type. Is there documentation anywhere that shows the message payload format for the various node types that this poly supports? Edited Saturday at 05:37 AM by TomJ Quote
TriLife Posted Monday at 07:40 PM Posted Monday at 07:40 PM Hi @TomJ There is a description of the other Tasmota devices (temp, humidity etc), which can be operated with the MQTT plug-in. I'm away from my computer right now, but from memory: From inside PG3 click on Details of MQTT plug-in, then click Configuration. If it doesn't come up right away above tue config parameters, there should be a button to display tye configuration Details. If for some reason they do not show up, please let me know and I'll point you towards the GitHub repository. Cheers. Quote
TomJ Posted yesterday at 12:14 AM Author Posted yesterday at 12:14 AM If I am understanding the description page you are talking about, that describes the different types of devices and their topics, but I cannot find what the message payloads look like. The closest I found to that is directing me to the web console of the Tasmota device, but I don't have any of these actual devices. What I am attempting to do is to have a program running on a Raspberry Pi sending messages via MQTT to this plug-in so my eisy can do things. I got the switch to work because someone on this forum said that "ON" or "OFF" was the message payload, but for the other device types I have found nothing on what the payload I should publish should be. If there is no such list already existing, could you point me to the GitHub repository and I could at least reverse-engineer the code to find what I need? Thanks. Quote
TriLife Posted yesterday at 01:30 AM Posted yesterday at 01:30 AM Here you go @TomJ, https://github.com/Trilife/udi-mqtt-pg3x Quote
maxnorth Posted yesterday at 02:52 AM Posted yesterday at 02:52 AM You don't really send commands to sensors. Here is a screenshot from a Tasmota device console for a switch. If you have a more specific question, let us know. In this case my "status topic" configured in Polyglot is "stat/sSlamphC/POWER" Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.