things4u / ESP-1ch-Gateway

Version 6 of the single channel gateway
MIT License
364 stars 147 forks source link

MQTT Documentation missing #63

Open bdemers opened 3 years ago

bdemers commented 3 years ago

There are a few references to MQTT throughout the docs and code. I wasn't able to find the code that is actually sending any MQTT messages.

Specifically, I'm trying to figure out how to route data from my nodes (sensor data) to a private MQTT server, with a specific topic.

Is this possible or am I misunderstanding the comments/doc references to MQTT?

hisnameishb commented 3 years ago

You subscribe to the mqtt server from TTN. What you receive from there you can send to your own mqtt.

bdemers commented 3 years ago

You subscribe to the mqtt server from TTN. What you receive from there you can send to your own mqtt.

Right 😉 But documentation (and an example) around this would be great.