Jump to content

What Am I doing Wrong?


evilpete

Recommended Posts

Posted

I am trying to feed data from my outdoor temperature sensor (LaCrosse-TX141Bv3).

I'm receiving the data using an SDR dongle and passing it via mqtt.

The data I'm sending to MQTT:

{"time" : "2025-08-07 13:39:10", "protocol" : 73, "model" : "LaCrosse-TX141Bv3", "id" : 237, "channel" : 1, "battery_ok" : 1, "temperature_C" : 20.800, "test" : "No"}

This is the json output from rtl_433

 

My devfile:

devices:
 - id: "TX141Bv1"
   sensor_id: "temperature_C"
   type: "Temp"
   name: "Temperature"
   status_topic: "rtl_433/LaCrosse-TX141Bv3/temperature_C"
   cmd_topic: "rtl_433/LaCrosse-TX141Bv3/power"
 - id: "TX141Bv2"
   sensor_id: "battery_ok"
   type: "raw"
   name: "Battery"
   status_topic: "rtl_433/LaCrosse-TX141Bv3/battery_ok"
   cmd_topic: "rtl_433/LaCrosse-TX141Bv3/power"
 - id: "TX141Bv4"
   sensor_id: "test"
   type: "flag"
   name: "testFlag"
   status_topic: "rtl_433/LaCrosse-TX141Bv3/test"
   cmd_topic: "rtl_433/LaCrosse-TX141Bv3/power"


MQTT Explorer reports:


image.png.49298c9d403ec0d81ae8428fc609fce4.pngimage.png.70d66ac02e7a52dad5b200b76c0b7a93.png

But Im seeing 

image.png.0cf4732028b4afe7a83261cad406952b.png.  image.png.dd5f6c1b3fd727d3744b2c41774e7eba.pngimage.png.dbb04f5d63c1ee2ef5b60af2836c015c.png


any suggestions?

I'm guessing I am misinterpreting fieldnames? 

 

 

Posted

Hi @evilpete,

The MQTT plug-in was designed for Tasmota integrations. Tasmota doesn't send JSON packets, only individual data points.

I think @sjenkins added one or two devices, which send JSON packets. He might be able to shed more light to see, if using his device-type will better match your needs.

  • Like 1
Posted

Thanks  I'll do more studying..

I found a few filters that grok the json and publish the filtered results. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...