Page 1 of 1

MQTT basics

Posted: Mon Sep 09, 2019 5:41 pm
by MJU
I've been looking for a way to send data to a database on a server for a while and suddenly all directions point to MQTT.
I'd never noticed this component and suddenly it appears the technique I was looking for.

But from reading the Wiki page for the MQTT component I don't even know what hardware this component uses.
I an article I've read that MQTT can be used on a ESP8266 but I don't see anything about hardware on the FC Wiki.

So question 1: what hardware is needed to use this technique?

Re: MQTT basics

Posted: Tue Sep 10, 2019 9:27 am
by LeighM
Hi,
The MQTT component interfaces to the NetworkComms component.
The NetworkComms component then interfaces to the specific hardware TCPIP component.
It currently supports the Raspberry Pi, ESP8266, EB023 and ENC28J60 TCPIP components (and PC simulation).
I've personally tested the MQTT component with the Raspberry Pi and PC simulation/SCADA,
but I believe that the NetworkComms component has been tested with all the others too.
Hope that helps,
Leigh

Re: MQTT basics

Posted: Tue Sep 10, 2019 5:15 pm
by MJU
Thank you Leigh;

Is this some text that can get pasted into the wikipage?

Re: MQTT basics

Posted: Wed Sep 11, 2019 10:05 am
by Benj
Thanks for the suggestion.

I've added the info to the wiki page now.