I'm really new to ChirpStack or LoRa devices. So sorry if this is something really straightforward to be solved. I failed on trying to find the answers I need here in the community.
I have a water sensor connected to ChirpStack. I would like to send the data I'm currently capturing from the sensor to my Home Assistant instance. The problem is that I could not find a way to wire ChirpStack with HA via MQTT.
-
At the first time I tried to configure ChirpStack MQTT Forwarder with the IP of MQTT server running in HA in the chirpstack application (the one running with the default port 8080). And it didn't work. I was not even processing the payload with that configuration in MQTT Forwarder.
-
Then I realized I should, instead, configure ChirpStack MQTT Forwarder with the internal MQTT server to make the communication between the data from HAT (from the application running on port 8080) and ChirpStack (the one running in port 80).
-
Once I have that configuration, I could get the data from the sensor (I had to implement my own codec to "decript" the payload but everything seems to be working fine at this area).
The next step would be to send the decripted payload (JSON format right now) to HA via MQTT (the one that is running in HA). I tried reading the ChirpStack documentation but I could not find the answer. Neither find someone that implemented this.
Please, could someone help me on that? I appreciate if you could at least point me an example/documentation on how to do that...
BTW, I'm currently running ChirpStach v4.15.0 in a Raspberry Pi with the HAT Seeed WM1302.
Thanks.