Sending sensor data through meshtastic (ESP 32 / RAK 4631)

I have a MQ2 gas sensor that is mounted on the RAK wireless board. Initially, I was able to connect the board to the meshtastic app. However, after adding the LoRa library for RAK 4631 to my code, since I wanted to send data to another T-Beam through LoRa p2p, I couldn’t connect to meshtastic.
After flashing the device again, it works like normal. Does anyone know why this is the reason?
Secondly, I had some problems sending LoRa packets to the T-Beam through the RAK wisblock hence I tried to use the arduino meshtastic library to send data through it. However, I found out that the data is sent through wifi or serial connection which is baffling me. Is there anyway I can set up a node to measure gas sensor data and send it through meshtastic?
Thank you.

1 Like

I have a similar problem. I want my RAK Wireless 4631 to periodically report values from an attached sensor over Meshtastic and have not figured out how to do it. I do not want to have to use another MCU to interface with the 4631.